Auto indent code in Atom editor -


how auto-indent code in atom editor. in other editors can select code , auto-indent code.

is there keyboard shortcut well?

i found option in menu, under edit > lines > auto indent. doesn't seem have default keymap bound.

you try add key mapping (atom > open keymap [on windows: file > settings > keybindings > "your keymap file"]) one:

'atom-text-editor':   'cmd-alt-l': 'editor:auto-indent' 

it worked me :)


for windows:

'atom-text-editor':   'ctrl-alt-l': 'editor:auto-indent' 

Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -