avli / clojureVSCode

Clojure support for Visual Studio Code
https://avli.github.io/clojureVSCode/
MIT License
204 stars 34 forks source link

Add the Clojure code autoformatting feature #57

Closed avli closed 7 years ago

avli commented 7 years ago

The VSCode formatting rules for Clojure are far from the ideal (see #33) so it would be nice to have the code autofromatting command which uses cljfmt under the hood.

kamituel commented 7 years ago

That would be amazing! Single most important feature missing from VSCode when it comes to Clojure development.

avli commented 7 years ago

I've just released the version that has the "Clojure: Format file or selection" command. Feel free to try it out.

tiensonqin commented 7 years ago

@avli Could you add a formatOnSave option?

avli commented 7 years ago

@tiensonqin the option added in the latest version :-)

tiensonqin commented 7 years ago

Thanks.

On Thu, Oct 26, 2017, 8:22 PM Andrey Lisin notifications@github.com wrote:

@tiensonqin https://github.com/tiensonqin the option added in the latest version :-)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avli/clojureVSCode/issues/57#issuecomment-339648192, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdPwS8ioAggRQd3hEveG5X9iG9DuZmEks5swHlxgaJpZM4O0TJ6 .

-- Thanks Tienson Qin