I'm just getting ramped up with Atom and really liking it, however I'm having an issue with C++ syntax settings. I've added the following to my config:
'.c\\+\\+.source':
'editor':
'tabLength': 4
And it works just fine. However if I open the settings UI it modifies my config to this:
'.c ++ *.source':
'editor':
'tabLength': 4
This doesn't end up working; my C++ files now show up with my default 2 space tab size instead of my desired 4 spaces.
I've also noticed that if I use the system UI to modify the tab settings, it saves it as this:
'.c.source ++ *':
'editor':
'tabLength': 4
Which is not only a different format that other source selectors, but also still fails to be applied properly.
More odd is that after changing the setting in the UI to 4 and closing settings, when I reopen the settings, it still shows 2 for the tabLength.
I'm not sure how this is all wired up on the backend (haven't dug into code yet), but it definitely seems to be having issues. Perhaps if the issue is with the ++
it might be good to change the syntax scope to "cpp" instead, as it's a little simpler.
I'm using Atom 0.165.0 on OS X, installed just earlier today using the download button from https://atom.io. The Language C package is version 0.33.0. If you need any other details, please