• The monokai theme adds an unnecessary _ in gdscript

    As you can see in the following image, a _ is added before the word Node.

    Any word included after the word extends has the same problem.

    That _ shouldn’t appear.
    When you copy the code, it doesn’t copy, so it must be something related to the Monokai theme styles, since it doesn’t appear with other themes.

    Other theme

Viewing 1 replies (of 1 total)
  • Plugin Author ImageKevin Batdorf

    (@kbat82)

    Hi,

    Thanks for reporting this. It actually looks like an error in the gdscript vscode grammar. It captures that identifier with the space included, and the _ youre seeing is actually just CSS. I’ll see if I can update the grammar over the weekend, but you’d need to re-render all the blcoks to apply it (visit each page, make an edit, save). I’m also working on a solution to bulk re-render, but that’s not ready yet.

    Would a CSS solution work? You could remove the underline all together, either by removing all underlines in the output, or by doing so based on color/font-style presence (lightblue + italic). I can help with that if you’d like.

Viewing 1 replies (of 1 total)

The topic ‘The monokai theme adds an unnecessary _ in gdscript’ is closed to new replies.