简体   繁体   中英

How do I stop IntelliJ Cursive from re-formating my Clojure code?

How do I stop IntelliJ Cursive from re-formating my Clojure code?
I'll be staring at a function, realize where I missed a parenthesis, put it in, and BAM! my code is now all re-indented!
I DON'T WHAT IT TO DO THAT!
I like my code the way I laid it out!
I don't want Cursive's formatting help unless I ask for it!

I found something.
Settings --> Editor --> Code Style --> Clojure...
This last option may only be present if you've installed the "Cursive" plug-in for Clojure code.
There is a HUGE list of indents and tab/spaces settings.
I set everything to zero (0).
That seems to be holding, so far.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM