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

Language server on Windows and VSCode #22

Open
Nazeofel opened this issue Aug 10, 2024 · 6 comments
Open

Language server on Windows and VSCode #22

Nazeofel opened this issue Aug 10, 2024 · 6 comments

Comments

@Nazeofel
Copy link

I am running in this error when starting the VSCode extension 'C3' on VSCode.

I am using Windows 10

[Error - 8:08:21 PM] C3LSP client: couldn't create connection to server.
Launching server using command c:\Users\celsi.vscode\extensions\tonios2.c3-vscode-0.0.83\c3-lsp-windows failed. Error: spawn c:\Users\celsi.vscode\extensions\tonios2.c3-vscode-0.0.83\c3-lsp-windows ENOENT

@Dimension4
Copy link

Ran into the same issue, I think the urls of the extension are messed up, you want https://github.com/tonis2/c3-vscode. I've found a simple fix for the issue tonis2/c3-vscode#1

@Nazeofel
Copy link
Author

Excuse me for my lack of knowledge but where do you find the exe you are talking about ?

@Nazeofel
Copy link
Author

Update, found it and modified it in the .vscode folder of my computer but still is not working, did you have to recompile it or something ?

@Dimension4
Copy link

Dimension4 commented Aug 11, 2024

  1. go to ~\.vscode\extensions\tonios2.c3-vscode-0.0.83\
  2. rename the file c3-lsp-windows to c3-lsp-windows.exe
  3. open extension.js
  4. search for c3-lsp-windows and replace that finding with c3-lsp-windows.exe (should be 1 match in line 26)
  5. restart VS Code

@Nazeofel
Copy link
Author

It seems to have worked, but I got no auto completions / cannot jump to definitions, atleast I got colors

@lerno
Copy link
Contributor

lerno commented Nov 6, 2024

What is the status of this now?

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

3 participants