project level editor settings? #207
-
is there a way to change editor settings automatically at the project level? e.g. i have the main settings for Tab Type set to "hard" but i'm working on a project that needs it set to "soft" and i don't want to adjust it in the main settings every time i switch projects. i tried to find this in the docs and with a web search but missed it or wasn't using the right words to search. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There's an API for this that was added to Atom, but which didn't ever have a built-in interface. But you can install either atomic-management or project-config to pull this off. For both packages, you'd create a file inside an "*":
editor:
softTabs: true |
Beta Was this translation helpful? Give feedback.
There's an API for this that was added to Atom, but which didn't ever have a built-in interface. But you can install either atomic-management or project-config to pull this off.
For both packages, you'd create a file inside an
.atom
directory at the root of your project — eitherconfig.cson
(foratomic-management
) orconfig.json
(forproject-config
). You can then define overrides using the same format as your baseconfig.cson
file. Assuming you chooseatomic-management
, it'd look like this: