You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a lot of issues about how to use HTML language service with custom language to benefit with HTML language feature but all solution works if you are in TypeScript Land.
I have a language server written in Java and I have a custom language id bind with this language server. I would like to benefit with completion,validation, etc from HTML and the only solution that I see is to give the capability to contribute to documentSelector like suggested in #88377 (comment)
There are a lot of issues about how to use HTML language service with custom language to benefit with HTML language feature but all solution works if you are in TypeScript Land.
I have a language server written in Java and I have a custom language id bind with this language server. I would like to benefit with completion,validation, etc from HTML and the only solution that I see is to give the capability to contribute to documentSelector like suggested in #88377 (comment)
vscode/extensions/html-language-features/client/src/htmlMain.ts
Line 73 in 76d0b30
We had the same problem with our project vscode-microprofile and we give the capability to contribute to document selector from package.json
Here the code which create documentSelector https://github.com/redhat-developer/vscode-microprofile/blob/9cddbc13541c50fce9f44199374eccc2d7d9a274/src/extension.ts#L167
Here a sample of package.json which contribute to document selector https://github.com/redhat-developer/vscode-quarkus/blob/9cb7a2dfcb2c503a7dbac910e0c5765283dda860/package.json#L66
If HTML could provide this feature,it should be fantastic.
The text was updated successfully, but these errors were encountered: