I wish to set the following rulers only when viewing *.py files. Is that possible?
{
"editor.rulers": [72, 79]
}
I wish to set the following rulers only when viewing *.py files. Is that possible?
{
"editor.rulers": [72, 79]
}
As of version 1.9, Language specific settings was introduced. This means that you can now use the following configuration to achieve what you want:
"[python]": {
"editor.rulers": [72, 79]
}
It looks they have recently added support to have different settings for notebooks. Adding the following to my settings.json has done the trick of adding the rulers to my .py files, but removing them from .ipynb, for example.
"[python]": {
"editor.rulers": [79, 120]
},
"notebook.editorOptionsCustomizations":{
"editor.rulers": []
}