Re: Discussion - text editor features

new topic     » goto parent     » topic index » view thread      » older message » newer message
ryanj said...

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.

ryanj said...

What hotkeys do you use the most?

Um, all of them? blink

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.

ryanj said...

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.

ryanj said...

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu