Re: Discussion - text editor features
- Posted by ghaberek (admin) May 26, 2016
- 1347 views
What specific features do you use frequently in a text editor while writing code?
Notepad++ is pretty much the who's who of nifty text editor features:
- Document map
- Function list
- Multi-editing
- Column mode editing
- Code auto-complete
- User-defined languages
- Split/rotate view
- Extended search/replace (\n, \r, \t, \0, \x, ...)
- Regular expression search/replace
I really like Notepad++ but of course it's a Windows app and I struggle to find a good cross-platform editor with these features.
What hotkeys do you use the most?
Um, all of them?
File menu
Ctrl+N | New |
Ctrl+O | Open |
Ctrl+S | Save |
Ctrl+Alt+S | Save as |
Ctrl+Shift+S | Save all |
Ctrl+W | Close |
Ctrl+PgUp | Prev tab |
Ctrl+PgDn | Next tab |
Edit menu
Ctrl+X | Cut |
Ctrl+C | Copy |
Ctrl+V | Paste |
Ctrl+A | Select all |
Ctrl+X | Undo |
Ctrl+Y | Redo |
Ctrl+G | Go to line |
Ctrl+K | Comment line |
Ctrl+L | Delete line |
Ctrl+U | Lower case |
Ctrl+Shift+U | Upper case |
Ctrl+Shift+Up | Move line up |
Ctrl+Shift+Down | Move line down |
Alt+Shift+Arrow | Block selection |
Search menu
Ctrl+F | Find |
Ctrl+H | Replace |
F3 | Find next |
Shift+F3 | Find prev |
Ctrl+Shift+F | Find in files |
I'm sure there are more but I use these every day.
Do you use hotkeys all the time to avoid moving your hand from the keyboard to the mouse?
Absolutely. I operate this way in as many applications as I can. I hate having to move my hands.
What hotkeys do you use to accelerate selecting and editing? For example, selecting a word, move to next/previous word, jump to line, surround selection with quotes, brackets, parentheses, etc.
L/R | Navigate character |
Ctrl+L/R | Navigate word |
Shift+L/R | Select character |
Ctrl+Shift+L/R | Select word |
Ctrl+G | Go to line |
I don't use any of the others you mentioned.
-Greg