mechatroner/vscode_rainbow_csv

Bold type break colunms

Closed this issue · 3 comments

I'm using rainbow_csv to view an csv (pipe) file. However, at column 9, the | in different line can not be aligned. It seemed caused by the different width beween bold font charactors and blanks.

Can we set custom color and font style, or can you disable the font change by this extension?

Thanks!

image

Hi @Hocnonsense!
Could you please share the file content as a text?
I think this might be related to this issue: microsoft/vscode#51878
What font and color theme are you using?

BTW you can set custom colors (without bold) following the instructions in the README file:
https://github.com/mechatroner/vscode_rainbow_csv/blob/master/test/color_customization_example.md#colors-customization

I'm sure that this is caused by font style "fira code".
Thanks for your advice, I added this to settings.json:

"editor.tokenColorCustomizations": {
    "textMateRules": [
        {
            "scope": "markup.bold.rainbow9",
            "settings": {
               "fontStyle": ""
            }
        },
    ]
}

Glad it worked!