feat(lsp_server): implement missing providers and json coverage

Implement workspace configuration/folders and apply WorkspaceEdit.changes.

Strengthen provider JSON coverage (all methods require params, no errors).

Verified: Release test_provider
This commit is contained in:
csh
2025-12-24 10:42:13 +08:00
parent f6943e69ef
commit 09e65224fe
93 changed files with 14203 additions and 856 deletions
@@ -0,0 +1,3 @@
var target: integer;
target := 1
target := target + 1
@@ -0,0 +1,8 @@
var red: string;
red := "#ff0000";
var green: string;
green := "#00FF00";
var with_alpha: string;
with_alpha := "#11223344";
@@ -0,0 +1,2 @@
var count := 1;
var name := "alpha";
@@ -0,0 +1,43 @@
unit TypeHierarchyUnit;
interface
type Base = class
public
function BaseMethod(): integer;
end;
type Mid = class(Base)
public
function MidMethod(): integer;
end;
type Derived = class(Mid)
public
function DerivedMethod(): integer;
end;
implementation
function Base.BaseMethod(): integer;
begin
return 0;
end;
function Mid.MidMethod(): integer;
begin
return 0;
end;
function Derived.DerivedMethod(): integer;
begin
return 0;
end;
procedure TestTypeHierarchy();
var d: Derived;
begin
d := new Derived;
end;
end.