Reputation: 4541
In my settings.json, I have
"[python]": {
"editor.rulers": [
79,
120
],
"editor.defaultFormatter": "ms-python.python"
},
but these rulers also appear in all my Jupyter Notebooks, which is not desired.
How can I make these exempt from showing the rulers?
PS: In the main articles regarding rulers, nothing like that has been answered till now:
Upvotes: 2
Views: 303
Reputation: 641
It looks like this has finally been implemented. 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": []
}
Upvotes: 2
Reputation: 8431
I am afraid it's impossible for now. I had submitted a feature request on GitHub.
Upvotes: 2