Sublime Forum

Prevent auto indentation for one-liner for-loop (java)

#1

for example if we type:
for(int i=0; i<n; i++) res++; (and press enter then…)
[indent] <- I dont want this indentation.

I don’t want any indentation when im doing one-liner for-loop.
What can I do?
NOTE: it is java

0 Likes