How to remove separation spaces before each save to Cloud9?

Cloud9 has a team in the Tools section called Strip-Trailing Space. I want to run this command automatically before every file save, so I can be sure that my files never contain trailing spaces. How it's done?

After unsuccessful Googling for quite some time, I cannot find documentation on how to achieve such things. They claim that Cloud9 is the most hacked IDE in the world, although this should be possible.

+6
source share
2 answers

Well, this is awkward, but I went over the preferences again and found the On Save, Strip Whitespace under Cloud9 -> Preferences -> Code Editor (Ace) .

+11
source

As of July 2015, Cloud9> "Open Project Settings" is located in the top menu bar.

 "general": { "@stripws": false }, 
+2
source

Source: https://habr.com/ru/post/980812/


All Articles