-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
Couldn't connect to the GDScript language server at 127.0.0.1:6008 #356
Comments
Related to #154. |
Just as a guess, are you running VSCode or Godot in a snap/flatpak/appimage? These containerized distribution tools sometimes have issues allowing inter-application communication like the LSP. Failing that, are you sure Godot is actually running? Do the Host and Port settings in the Godot match those in the VSCode? |
nope
If the Godot Editor is running the issue resolves. I misunderstood this... Make sure to open the project in the Godot editor first. If you opened the editor after opening VS Code, you can click the Retry button in the bottom-right corner in VS Code. as you could do this then close the editor. Perhaps I am slow, granted, or it may be mentioned the editor needs to be running for the plugin to connect. |
Yes, the Godot Editor must be running for this extension to provide full functionality. This is the intended behavior, and not a bug. |
for anyone coming here from godot 4, the default port has changed to :6005 |
how do you change the port? |
don't forget to change the port to 6005 in the launch.json too |
Shouldn't the default port in the extension be updated from 6008 to 6005 now that Godot 4 has been released for a while? This seems to be really bad user experience that one has to manually change the port configuration if one's using the latest version of Godot. A good compromise for supporting both Godot 3 and Godot 4 would be checking both ports. I don't think that this issue should be closed, as it makes the experience of the extension worse for new users. |
This issue was with 3.x, so it's an entirely different story. If my memory serves, there's an issue for 3-4 compat and definitely a PR for that. |
Godot version
v3.4.4.stable.arch_linux
VS Code version
1.66.0
Godot Tools VS Code extension version
v1.2.0
System information
artix LXQt
Issue description
Steps to reproduce
add the godot tool and ask it to work?
The text was updated successfully, but these errors were encountered: