Start with this JS in Brackets:
function fn1() {
myFunc("foo",bar);
}
obj.blah();
- Put the cursor at the beginning of the text
- Press ctrl+right arrow (or Mac, alt+right arrow) a few times
Result:
Sequence is: end of "myFunc" (before opening paren), end of "foo" (but before closing quote), end of "bar" (before closing paren)... and then skips to the end of "obj" (before the dot) on the next line
Expected:
In Sublime, the sequence is: end of "myFunc", start of "foo" (after opening quote), end of "foo", start of "bar" (after comma), end of "bar", end of line (after semicolon), start of next line (before curly brace), end of line (after curly brace), start of "obj", end of "obj" (before dot).
IntelliJ is the same.
Eclipse is the same (although by default it will also stop in the middle of "myFunc" due to the camelcasing).