Set vertical rulers in vscode based on file type?

I want to install the following rulers only when viewing * .py files. Is it possible?

{
    "editor.rulers": [72, 79]
}
+4
source share
1 answer

Starting with version 1.9 , language settings have been introduced. This means that now you can use the following configuration to achieve what you want:

"[python]": {
    "editor.rulers": [72, 79]
}
+5
source

Source: https://habr.com/ru/post/1661942/


All Articles