class
Lapis::CrystalLSP
- Lapis::CrystalLSP
- Reference
- Object
Overview
Guarded, fail-safe LSP worker for Crystalline. Strictly sandboxed: failures, crashes, or unresponsiveness in Crystalline will NEVER freeze Godot or degrade the in-editor editing experience.
Defined in:
libgodot/script/lsp.crConstructors
Instance Method Summary
- #available? : Bool
- #enabled? : Bool
-
#ensure_started_async(workspace_root : String | Nil = nil) : Void
Non-blocking background startup so editor never stalls on main thread
-
#request_completion(code : String, path : String, line : Int32, column : Int32, timeout_ms : Int32 = 60) : Array(CompletionItem) | Nil
Requests code completion from Crystalline LSP with timeout
-
#request_definition(code : String, path : String, line : Int32, column : Int32, timeout_ms : Int32 = 100) : Tuple(String, Int32) | Nil
Requests definition jump target from Crystalline LSP with timeout
- #running? : Bool
- #server_path : String
-
#start(workspace_root : String | Nil = nil) : Bool
Safely starts the Crystalline LSP server in background with stdio
-
#stop : Void
Gracefully stops the Crystalline process
-
#sync_document(path : String, code : String) : Void
Synchronize open document state to LSP
Constructor Detail
Instance Method Detail
Non-blocking background startup so editor never stalls on main thread
Requests code completion from Crystalline LSP with timeout
Requests definition jump target from Crystalline LSP with timeout
Safely starts the Crystalline LSP server in background with stdio