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-sample building loop #653

Open
frankgigeur opened this issue May 27, 2022 · 4 comments
Open

Lsp-sample building loop #653

frankgigeur opened this issue May 27, 2022 · 4 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@frankgigeur
Copy link

Windows 11
Latest version of Vscode and nodejs
Latest version of typescript

When i try to start Client + server, tcs -b -w infinitly loop and my extension development host not open. Also, if I put compile instead of watch in launch.json, I get this error when the extension development host open.

[vscode-samples.lsp-sample]: Cannot register 'languageServerExample.trace.server'. This property is already registered.

@dbaeumer
Copy link
Member

@frankgigeur I just tested this and I can't reproduce with a fresh clone of the vscode-extension-samples. Any additional information?

@dbaeumer dbaeumer added the info-needed Issue requires more information from poster label Jun 29, 2022
@dbaeumer
Copy link
Member

dbaeumer commented Jul 5, 2023

Actually if you develop an extension and start it out of VS Code itself it will detect the case and disable the extension you have installed and use the one that runs out of source.

However if you for example copy an extension and don't rename the command ids (they are global in VS Code) then you will get conflicts on those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants
@dbaeumer @frankgigeur and others