I've recently begun using Ctrl-LeftArrow and Ctrl-RightArrow in the IDE to move around on a line of source code (or, for that matter, in any Windows entry screen.) (And of course Ctrl-Shift-LeftArrow highlights the text. Also very helpful.)
I'm delighted at how often it saves me time because I don't have to reach for the mouse.
It takes a bit of practice (as well as learning where your CTRL and arrow keys are so can hit them without looking down), but if you're not using this method to move around Windows documents, I'd encourage you to try it!
Now, as a further speed-up, I would like to jump to the next instance of a single, specific character.
Many years ago I briefly used the "vi" editor, for which, as I recall, typing a lower case g and then a single character jumped to that character. And an upper case G did a "search again" (like ^L) on the previous single character searched for. Of course vi is moded, so this command was available. In the IDE, it would have to be a control character.
I think this would really speed up my moving around my source code in the IDE.
I've never done much with the tools available to enhance the IDE (Delphi 10 here). What tools might I use and how hard would it be to add this to the IDE?
Do any of the third-party IDE add-ins provide this kind of functionality?
TIA
Incremental search (Ctrl+E) will do what you want. Type one or more characters, and you are taken to the next occurrence. F3 and Shift+F3 take you back and forth between occurrences.
This has been available since Delphi 1. In recent versions, the feature has been updated to visibly highlight all other occurrences in the edit window.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With