0

I'm coming from spacemacs and editing Python files.

In VSCode, I want to display characters past column limit (80 characters) in a different color (red), as in Spacemacs.

I do not want to use editor.rulers to always show a ruler, as it's distracting.

Is this feasible?

Tried

    // "editor.rulers": [80],

But it's distracting.

Gary
  • 1
  • 1
  • Same: https://stackoverflow.com/a/64247893/836330. Just use `"(.{80})(.*)": {` as the regex - ask if you need more help. – Mark Apr 23 '23 at 17:05
  • @Mark Actually, do you have a recommended color to use? Using `red` or `#ff0200` doesn't feel quite right compared to Spacemacs' setting. – Gary Apr 23 '23 at 17:45
  • What color does Spacemacs use? And do you want underlining or something else? The decoration options available are at https://code.visualstudio.com/api/references/vscode-api#DecorationRenderOptions. – Mark Apr 23 '23 at 21:01
  • Does this answer your question? [Is there any way in VSCode to show/highlight characters passing a character limit for a line?](https://stackoverflow.com/questions/64240620/is-there-any-way-in-vscode-to-show-highlight-characters-passing-a-character-limi) – starball Apr 24 '23 at 03:27

0 Answers0