Closed Superpat closed 10 months ago
I tried to get the typescript language server from deno to work.
L fmt on json files works great.
L fmt
L ws works great
L ws
L syms in ts files returns No symbols found, other commands return similar issues.
L syms
Heres my config
WorkspaceDirectories = [ "/home/patrick/jsapp/" ] FormatOnPut = true CodeActionsOnPut = ["source.organizeImports"] [Servers] [Servers.deno] Command = ["deno", "lsp"] StderrFile = "deno.stderr.log" LogFile = "deno.log" [[FilenameHandlers]] Pattern = "\\.jsx$" LanguageID = "javascriptreact" ServerKey = "deno" [[FilenameHandlers]] Pattern = "\\.js$" LanguageID = "javascript" ServerKey = "deno" [[FilenameHandlers]] Pattern = "\\.ts$" LanguageID = "typescript" ServerKey = "deno" [[FilenameHandlers]] Pattern = "\\.vue$" LanguageID = "typescript" ServerKey = "deno" [[FilenameHandlers]] Pattern = "\\.tsx$" LanguageID = "typescriptreact" ServerKey = "deno" [[FilenameHandlers]] Pattern = "\\.json$" LanguageID = "json" ServerKey = "deno"
Not much to see with -v
-v
patrick@atreides:~$ acme-lsp -v 2023/11/15 20:28:53 proxy: jsonrpc2 connection disconnected 2023/11/15 20:28:54 proxy: jsonrpc2 connection disconnected
Server does seem to start correctly though:
patrick@atreides:~$ cat .cache/acme-lsp/deno.stderr.log Starting Deno language server... version: 1.37.2 (release, x86_64-unknown-linux-gnu) executable: /snap/deno/120/deno Server ready. patrick@atreides:~$ cat .cache/acme-lsp/deno.log patrick@atreides:~$
Turns out I was using an old acme-lsp incantation from before I wrote the conf file. I got it working with the standard typescript server, havent tried deno again yet. But I'll report back when I do.
I tried to get the typescript language server from deno to work.
L fmt
on json files works great.L ws
works greatL syms
in ts files returns No symbols found, other commands return similar issues.Heres my config
Not much to see with
-v
Server does seem to start correctly though: