microsoft/vscode-html-languageservice

Issues when calling html language service through vscode built-in commands

ttax00 opened this issue · 0 comments

Hi, I'm trying to make an vscode extension to support embedded HTML support for yew macro syntax in Rust. My extension uses the virtual document approach documented here using request forwarding.

Thus the extension utilizes vscode built-in commands apis such as:

  • vscode.executeDocumentRenameProvider
  • vscode.executeDocumentSymbolProvider

It appears that even in trivial cases such as <div></div> as virtual document's content, the command fails to rename with an generic Unexpected type pop up (ttax00/code-yew-server#1). And symbol parsing sometimes returns undefined or an incomplete list of symbols. (ttax00/code-yew-server#2)

The repository for my extension is: https://github.com/TechTheAwesome/code-yew-server