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

Highlighting is extremely slow #79

Open
lukaszcz opened this issue May 17, 2023 · 4 comments
Open

Highlighting is extremely slow #79

lukaszcz opened this issue May 17, 2023 · 4 comments
Labels
bug Something isn't working high-priority

Comments

@lukaszcz
Copy link
Contributor

I sometimes need to wait a few seconds before an identifier gets the right colour, and I didn't even write any programs above 100 lines.

@lukaszcz lukaszcz added bug Something isn't working high-priority labels May 17, 2023
@lukaszcz
Copy link
Contributor Author

This is to the point that the extension sometimes "hangs" and becomes hardly usable. I need to wait around 10 seconds sometimes before a word I want to delete gets deleted, repeatedly pressing Alt+BSpc (I guess it doesn't work because the extension is blocked on computing the highlighting).

@lukaszcz
Copy link
Contributor Author

The VSCode extension is practically unusable because of this. This should be fixed ASAP, and in the meantime I'm switching to Emacs, because it just takes too long to type anything.

@vrom911
Copy link
Contributor

vrom911 commented May 24, 2023

should help with that at the moment, however, it is not complete cure of the problem in the first place (which is why typecheck-silent command is so slow).

@lukaszcz
Copy link
Contributor Author

In 0.1.39 the efficiency markedly improved to the point of the extension becoming usable for the tiny programs I write. But still it's noticeably slow for anything that imports the standard library. I still need to wait seconds before the correct highlighting appears, but it seems I don't get blocked on editing so much.

I wouldn't say 0.1.39 fully solves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high-priority
Projects
None yet
Development

No branches or pull requests

2 participants