zigtools / zls-vscode

Deprecated, please use https://github.com/ziglang/vscode-zig
https://github.com/ziglang/vscode-zig
MIT License
85 stars 15 forks source link

semantic tokens are not yet supported in gitpod #12

Closed markfirmware closed 4 years ago

markfirmware commented 4 years ago

This line causes an error - registerDocumentSemanticTokensProvider is not a function - in theia, the vscode-like editor used in gitpod. They have not yet updated to the newest monaco system.

https://github.com/zigtools/zls-vscode/blob/115e0929d52080fd0fe3a8dbbfb21d7aef2bef6e/src/extension.ts#L41

Could you be so kind as to put some kind of error trap around this line so that it does not fail to start in this environment?

Thanks, Mark

markfirmware commented 4 years ago

Sorry, this alone will not address the problem.