feat: add Godot gdscript language server support via built-in TCP adapter#1143
Closed
K0d1ax wants to merge 2 commits intooraios:mainfrom
Closed
feat: add Godot gdscript language server support via built-in TCP adapter#1143K0d1ax wants to merge 2 commits intooraios:mainfrom
K0d1ax wants to merge 2 commits intooraios:mainfrom
Conversation
Author
|
No conflicts with base branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds first-class
gdscriptsupport to Serena/SolidLSP.It introduces a built-in GDScript language server adapter that connects to Godot’s LSP endpoint over TCP (default
127.0.0.1:6005) via aninternal transport process, so users can configure
gdscriptdirectly inproject.yml.Important
Godot editor MUST be running with LSP enabled and reachable at configured host/port!
Motivation
Today,
gdscriptis not a valid Serena language key, so.gdfiles cannot be handled by symbolic tools through the LSP backend.Changes
Language.GDSCRIPT = "gdscript"inls_config.py..gdfile matching inget_source_fn_matcher.gdscriptinget_ls_class.src/solidlsp/language_servers/gdscript_language_server.pysrc/solidlsp/language_servers/gdscript_tcp_proxy.pysrc/serena/resources/project.template.ymldocs/01-about/020_programming-languages.mddocs/02-usage/050_configuration.mdREADME.mdCHANGELOG.mdtest/solidlsp/gdscript/test_gdscript_support.pyConfiguration
project.yml: