Andreas L.
Andreas L.

Reputation: 4541

Make vertical rulers invisible in .ipynb - files in VS Code

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.

rulers in vertical notebook

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

Answers (2)

ErrorJordan
ErrorJordan

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

Steven-MSFT
Steven-MSFT

Reputation: 8431

I am afraid it's impossible for now. I had submitted a feature request on GitHub.

Upvotes: 2

Related Questions