SSlinky / VBA-LanguageServer

VBA Language Server
GNU General Public License v3.0
16 stars 4 forks source link

[Bug] Outline Sometimes Displays for Wrong Document #13

Closed SSlinky closed 1 week ago

SSlinky commented 4 months ago

Describe the bug Document outline occasionally gets stuck on the wrong document. Can be "fixed" by triggering onDidDocumentChange.

Additional context May be related to the parsing delay or changing documents while parsing. Unsure. Good luck.

SSlinky commented 1 week ago

This doesn't seem to be an issue anymore. Possibly indirectly fixed by the performance improvements. I did manage to get vscode stuck on "no document symbols" when rapidly switching between documents, but I wasn't able to fix it either by triggering onDocumentChange, despite output clearly showing the symbols in the server response. Possible vscode bug.

@sancarn have noticed this in your travels? If not, I think I'll close it.

sancarn commented 1 week ago

@SSlinky yeah I think I did experience this but haven't experienced it since you improved performances indeed. So yeah close it for now 😊