This functionality is now in core, I'll no longer be supplying support syntax-settings. See here for details.
Syntax specific settings there in your config.
apm install syntax-settings
You can easily add languages according to the grammar scopeName. Below is an example of modifying the python (source.python
) settings:
'syntax-settings':
'source':
'python':
'editorSettings':
'tabLength': 4
'editorViewSettings':
'showInvisibles': false
'softWrap': false
'showIndentGuide': false
'gutterViewSettings':
'showLineNumbers': true
To find out which grammar you are using, open Developer Settings (View => Developer => Toggle Developer Tools
) and run:
atom.workspace.getActiveEditor().getGrammar().scopeName
Below is a list of supported settings:
- softTabs
- softWrap
- tabLength
- fontFamily
- fontSize
- invisibles
- placeholderText
- showIndentGuide
- showInvisibles
- softWrap
- showLineNumbers
- Read through atom source to find more views/settings that are worth implementing