coreh-deprecated / nide

Beautiful IDE for Node.js
http://coreh.github.com/nide/
713 stars 111 forks source link

Behavior for <tab> key #32

Open cmundi opened 12 years ago

cmundi commented 12 years ago

I love using and SHIFT+ to change the indentation of a line or a whole block of selected code.

There are times when I'd like to be able to insert spaces (in lieu of 0x08) to fixed tab-stops, for example to add aligned comments to the "ends" of lines of code, like I do in other editors. I don't know how practical this is, since most windowing systems will catch things like CTRL+ and ALT+. Anyway, it's something to think about to save keystrokes and make code pretty.

coreh commented 12 years ago

CodeMirror recently changed their tab behaviour, so that's a possibility. If a shortcut is not an option due to platform specific stuff, we could probably use something like the menu on Textmate that allows to switch between regular and soft tabs.

cmundi commented 12 years ago

Ah. I'm catching on... On Dec 31, 2011 12:06 PM, "Marco Aurlio" < reply@reply.github.com> wrote:

CodeMirror recently changed their tab behaviour, so that's a possibility. If a shortcut is not an option due to platform specific stuff, we could probably use something like the menu on Textmate that allows to switch between regular and soft tabs.


Reply to this email directly or view it on GitHub: https://github.com/Coreh/nide/issues/32#issuecomment-3322493