Completions

This commit is contained in:
nub31
2025-10-23 13:49:12 +02:00
parent a9e4b86e78
commit 02c2ce76d3
4 changed files with 222 additions and 41 deletions

View File

@@ -16,9 +16,9 @@ var server = await LanguageServer.From(options => options
.SetMinimumLevel(LogLevel.Debug))
.WithHandler<TextDocumentSyncHandler>()
.WithHandler<HoverHandler>()
.WithHandler<CompletionHandler>()
.OnInitialize((server, request, ct) =>
{
server.SendNotification("TEST");
var workspaceManager = server.GetRequiredService<WorkspaceManager>();
if (request.RootPath != null)