RichB Zone
Head of Front End Development
Standardise code formatting across different editors
Visual Studio
WebStorm
Sublime
Atom
https://visualstudiogallery.msdn.microsoft.com/c8bccfe2-650c-4b42-bc5c-845e21f96328
https://github.com/JetBrains/intellij-community/tree/master/plugins/editorconfig
https://github.com/sindresorhus/editorconfig-sublime
https://github.com/sindresorhus/atom-editorconfig
Open Atom and go Atom > Install Shell Commands you will get apm commands.
Then run 'apm install editorconfig' in terminal
Open the editor command line
and type 'editorConfig: Generate Config'
It looks for a file in every directory starting at the current one going upwards to the root
and uses this to control the editor
As a line-by-line file it can be easily version controlled
Other packages might override the settings so turn off any package settings that relate to
Core settings like Soft/Hard Tabs may override it
Though its influence is limited it does mean we can enforce some consistency between developers and editors on a project by project basis
By RichB Zone