Closed abhinavk99 closed 3 years ago
This might actually be possible using VS Code Decorations API (https://vscode.rocks/decorations/). I might be able to just add a vertical line decoration with a specific color.
Unfortunately, it didn't work because VS Code decorations are per line and only apply until the end of the line, so lines that are shorter than the ruler won't be able to have a decoration at the ruler length. Also, depending on the decoration's color it might be masked by the ruler color.
I don't think this is possible. When you update the configuration, you have to update globally or per workspace, but getting the configuration merges global and workspace settings, so it wouldn't be possible to reset ruler colors to what they were originally after changing them.