Skip to content

Commit 8cade05

Browse files
authored
feat: support pull diagnostics in the LSP client (C#, Kotlin, etc) (#23771)
1 parent 5cfd618 commit 8cade05

12 files changed

Lines changed: 1123 additions & 121 deletions

File tree

packages/opencode/src/cli/cmd/debug/lsp.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ const DiagnosticsCommand = cmd({
2323
const out = await AppRuntime.runPromise(
2424
LSP.Service.use((lsp) =>
2525
Effect.gen(function* () {
26-
yield* lsp.touchFile(args.file, true)
27-
yield* Effect.sleep(1000)
26+
yield* lsp.touchFile(args.file, "full")
2827
return yield* lsp.diagnostics()
2928
}),
3029
),

0 commit comments

Comments
 (0)