If I type local my_variable, leaving the caret at the end, and then press shift+ctrl+left arrow key, it’ll stop too early:
This is a minor but frequent little frustration, since I use that a lot when moving/copying/renaming variable names, combined with the fact that underscore seems to be the_naming_convention ratherThanThis!
It doesn’t stop at underscore in Sublime Text or Visual Studio.
(Or anywhere else for that matter, except Skype, for some reason)
tap tap tap tap tap tap tap tap tap tap tap tap tap


I wonder if that is a windows specific Eclipse behavior. I’ll get the whole thing marked in one go on OS X.
This might help?
No idea how it would be implemented in Defold though!
I just tried this on OSX.
It treats underscore properly, but now it doesn’t treat period as a separator, so it jumps too far instead!
Also, a little typo in the title. I meant the below behaviour:
Windows: Ctrl+Arrow keys
OSX: Alt+Arrow keys
The OSX Cmd + Arrow keys correctly jumps the entire line
I believe that is standard OSX behavior. Just tried it in TextEdit and it behaves that way too.
Sublime Text and MonoDevelop (Unity’s default IDE) both stop at period, and so does this very input field
Well, it does not stop at period in Safari.
Not in notes either, but I would suggest looking at IDEs rather than non-code input fields for that data
Sure. Xcode stops at period too.
If you want to remain as flexible as possible, you could do it the way Sublime Text does. Allow the user to customize!
Here is the default setting in ST:
The editor currently runs on Eclipse and I don’t know if it allows that kind specific level of customization (it might do).
There are other UX shortcomings in the editor that needs to be adressed as well. Currently, there’s limited completion and navigation support, for instance. We do have long term plans for the editor to make it much better in these respects.