JanitorTechnology / c9.ide.janitorconfig

Plugin that reads a janitor.json file and sets up c9 accordingly
0 stars 2 forks source link

Improve IDE configuration #6

Open jankeromnes opened 7 years ago

jankeromnes commented 7 years ago

Stolen from: https://github.com/JanitorTechnology/dockerfiles/issues/32#issuecomment-318685029

We should also add the following user configurations to our Cloud9 workspace type:

nt1m commented 7 years ago

Strip trailing spaces on save by default

Didn't you mention you were against this ? (I'm not)

nt1m commented 7 years ago

Btw, this should probably be in dockerfiles.

jankeromnes commented 7 years ago

Didn't you mention you were against this ? (I'm not)

I'm all for automatically stripping whitespaces everywhere! 😄

jankeromnes commented 7 years ago

@EtienneWan would you know where to configure the above values in Cloud9 SDK? To me it seems that they live under /home/user/${project}/.c9/ (maybe project.settings or so), however this isn't convenient for us because ${project} is different for each project image.

Is there any way to tell Cloud9 SDK to use some project settings, that doesn't involve touching the workspace's .c9 folder? (Which doesn't even exist at image creation time)