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 -

google shop client API returns 400 bad request error while adding an item -