Stillat/vscode-antlers-language-server

Underlines appear strangely in code

Closed this issue · 4 comments

Describe the bug
Some tags in HTML views appear unexpectedly underlined
Screenshot 2024-07-06 at 16 35 12

Impacted Products
Which Antlers Toolbox products does this bug apply to?

  • Antlers Toolbox for VS Code
  • Formatter CLI
  • Antlers Prettier Plugin
  • Antlers Syntax Highlighting (external systems - not VS Code)

Versions and Other Plugins/Extensions
Please include the product version you are reporting a bug for. If you are reporting a bug for products such as Antlers Toolbox for VS Code or the Antlers Prettier Plugin, please include a list of other configured extensions or plugins if you believe they are contributing to the problematic behavior.

VSCodium 1.90.2
(I appreciate you might not want to support this build of vscode, but I thought it best to report it anyway, vscodium is a straight build of vscode without the trackers and non-FLOSS microsoft licensing and most plugins work the same)

To Reproduce
Install plugin.
Appears fine initially, then underlines appear along with warnings

Expected behavior
A clear and concise description of what you expected to happen.

No underlines should appear anywhere.

If submitting a formatting bug, please include the template contents below as well as an attachment
Add any problematic templates here.

Additional context
Add any other context about the problem here.

VS Code underlines things it thinks are links, such as the content in the href="" of HTML tags. The partial is underlined since the language server itself made those into links, and can use the configured shortcut to navigate to the source of that partial.

I thought it was an error here because the underline starts at the second curly brace.

Screenshot 2024-07-06 at 17 35 02

Just a small offset thing. Do you see any errors in the problems window when it shows up?

No problems. I thought I had an extension compatibility issue, but had the same behaviour with extensions disabled.

While I'm here, is it possible to disable this newline-in-curly-brace behaviour when in script or style tags?
Screenshot 2024-07-07 at 11 13 53

Cheers for creating this extension!