ironsheep / P2-vscode-langserv-extension

Spin/Spin2 Language Server based vscode extension
MIT License
1 stars 0 forks source link

Slow performance and broken tabbing #8

Open Wuerfel21 opened 4 months ago

Wuerfel21 commented 4 months ago

and have you...

Version of Spin2 Language Server VScode Extension with the issue

I think it started happening in the last version?

Is this a regression?

Yes. This used to work, but now it doesn't.

Hardware, Operating System, Operating System version, VSCode version

Hardware: OS Ver: VSCode Ver: VSCodium 1.85.1 (yea I should probably update it one of those days)

Description of problem

Since the last version or two, there have been issues where the language server is extremely slow to respond and the semantic highlights will stay outdated for multiple seconds and the whole editor becomes somewhat sluggish. Also sometimes the symbol information disappears.

Also, at some point the tabbing stopped working at all. I have no idea.

Could also be because the file I'm mostly working on is getting really long now.

Additional information

Very long file I'm currently working on: misoyume_lower.spin2.zip

ironsheep commented 4 months ago

I"ll give the highlighting of unused code a workout and see what we find. Also tabbing. More soon

ironsheep commented 3 months ago

I found the cause for the broken tabbing... fixes will appear in the next release.

Wuerfel21 commented 3 months ago

Something I notice when there are slowdowns is that it appears that all processing freezes for a bit and then it quickly runs through all the changes that have happened in the meantime.