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

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -