kcl icon indicating copy to clipboard operation
kcl copied to clipboard

Strange info popups (inside comments) LSP/VSCODE

Open dennybaa opened this issue 1 year ago • 7 comments

Hello,

this is the weird output, it looks like this:

Screenshot from 2024-07-31 13-06-12

In other words it breaks the actual comment line...

Actually, things go bizarre for a while like on the screenshots, restart of vscode brings it back to normal.

dennybaa avatar Jul 31 '24 10:07 dennybaa

cc @He1pa

Peefy avatar Jul 31 '24 10:07 Peefy

More quirks, see the boolkey Screenshot from 2024-07-31 13-29-15

dennybaa avatar Jul 31 '24 10:07 dennybaa

More quirks, see the boolkey Screenshot from 2024-07-31 13-29-15

Have you defined boolkey?

He1pa avatar Aug 05 '24 02:08 He1pa

And, can you provide some step to reproduce it?

He1pa avatar Aug 05 '24 03:08 He1pa

I can't reproduce it, but I'm trying to fix this in https://github.com/kcl-lang/vscode-kcl/pull/59. Temporarily close this issue, if you still have problems, you can reopen it

He1pa avatar Aug 06 '24 09:08 He1pa

@He1pa Sure I will. Thank you! Regarding ...

Have you defined boolkey?

I have no idea why this "glitching" comes in. But the boolkey is the result of splitting the informational output ... " _debug ... : bool ... key: ". Plz, have a look at the grayed info notes.

dennybaa avatar Aug 06 '24 22:08 dennybaa

Highlighting will still be abnormal, VS Code client version v0.2.2, lang server version:

Version: 0.10.0-alpha.2-c020ab3eb4b9179219d6837a57f5d323
Platform: aarch64-apple-darwin
GitCommit: dcbd9d9a6ae54936c8e4404ace608b74e70c1de4

image

cc @He1pa

Peefy avatar Aug 13 '24 05:08 Peefy