Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSP Embedded request forwarding not doing anything #863

Closed
AllanJard opened this issue May 12, 2023 · 2 comments
Closed

LSP Embedded request forwarding not doing anything #863

AllanJard opened this issue May 12, 2023 · 2 comments
Assignees

Comments

@AllanJard
Copy link
Contributor

I'm confused by the LSP Embedded request forwarding example. It suggests that it is registering a new language called html1, but if I follow the instructions in the readme and launch the client, there is no language called html1 in the new VS Code instance that opens.

If I create a file called test.html1 it is just "Plain text" with no highlighting and no auto-complete.

I'm not sure what I'm missing. Is anyone able to clarify how to get the example to run?

@AllanJard
Copy link
Contributor Author

It is the same as this: #807 .

@BB-301
Copy link

BB-301 commented Feb 6, 2024

I just faced a similar issue. I solved the problem by adding onLanguage:html1 in the activationEvents array in the package.json file.

@AllanJard , the link you shared was helpful. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants