Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formatting issue when there are emojis #291

Open
pietroppeter opened this issue Feb 1, 2025 · 3 comments
Open

formatting issue when there are emojis #291

pietroppeter opened this issue Feb 1, 2025 · 3 comments

Comments

@pietroppeter
Copy link

this code

let (🅰️, 🅱️, time) = ("Brussels", "Milan", 10*60+15)

is previewed in VS Code like this:

Image

the problem (: type markers appearing in the middle of string or in off places) seems to be counting sizes of emojis on screen (I know it is hard).

the nim VS Code extension version is 1.4.1, my guess it is this might be more related to langserver but I might be wrong about it. I do not know how to check which version of langserver I am using (directions welcome).

thanks for reading and have a good day!

@jmgomez
Copy link
Collaborator

jmgomez commented Feb 3, 2025

Thanks for reporting, but I cant repro it:

Image

Likely it would be a nimsuggest issue. What version are you using? You can check both, the langserver and the nimsuggest version in the extension panel:

Image

@pietroppeter
Copy link
Author

pietroppeter commented Feb 5, 2025

Thanks for the quick answer

You can check both, the langserver and the nimsuggest version in the extension panel:

how do you get that screenshot? do not know how to access it in VS Code, this are the kind of things I can access from extension panel

Image

in the meantime LSP seems to have been disabled, I do not see the types anymore (maybe it has something to do with the fact that I passed from Nim built from sources to a choosenim installation).

In general, I have a hard time understanding what is running in term of LSP and version. The only thing I can check is that usually it is checking project in the bottom bar of VS Code:

Image

@jmgomez
Copy link
Collaborator

jmgomez commented Feb 6, 2025

how do you get that screenshot? do not know how to access it in VS Code, this are the kind of things I can access from extension panel

There is a Nim panel, right clicking on the toolbar should pop-up the menu:

Image

maybe it has something to do with the fact that I passed from Nim built from sources to a choosenim installation

AFAIK choosenim has issues with the LSP #184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants