I need help with a custom indentation format



I can't find the right place where I can set the correct indentation for this type of declaration



What I want is pretty simple, I want the parameter line with "loading, etc..." to be indented by a tab like it is in my application, and not like this.

If someone knows where I can specify this :)


Not sure I follow you..would you like to use tabs rather than spaces for indentation? This can be configured in Settings | Editor | Code Style | JavaScript | Tabs and Indents, Use Tab character


Oh no my bad, what I would like is that when I press enter to set my variables they indent like this 



Try disabling Align when multiline in Settings | Editor | Code Style | JavaScript | Wrapping and Braces, Function declaration parameters


That's exactly what I needed thank you !


Please sign in to leave a comment.