Open razcore-rad opened 1 month ago
This is indeed a Helix issue - feel free to close out the one in the deno repo. The problem is that the lsp_types
crate that we use uses a different percent encoding/decoding scheme than the LSP spec requires (WHATWG spec vs RFC3986). RFC3986 says that [
/]
should be percent encoded but the WHATWG spec doesn't.
We've been working towards replacing the Url type in the helix-lsp-types
crate and I have some changes locally that need a bit more work. Once that's in working order I'll make a PR and link it to this issue.
Summary
This is just a copy-paste from the original issue I opened at https://github.com/denoland/deno/issues/26098.
I was trying out the Next tutorial from the docs and I ran into an error with
deno lsp
as soon as I made a folder with brackets for the Next route, i.e.api/dinosaurs/[dinosaurs]/route.ts
:I'm using
helix
. I assume this is a problem withdeno lsp
, but if it isn't let me know, thanks.I tried with a bare
lsp
configuration inhelix
:Reproduction Steps
1.
cd learn-deno-nextjs
mkdir .helix
hx .helix/languages.toml
& paste the contents:[[language]] name = "javascript" shebangs = [ "deno", "bun", "tsx", "node" ] language-servers = [ "deno-lsp", "tailwindcss-ls", "emmet-lsp" ] formatter = { command = "deno", args = ["fmt", "--ext", "js", "-"] } auto-format = true
[[language]] name = "typescript" shebangs = ["deno", "bun", "tsx"] language-servers = [ "deno-lsp", "tailwindcss-ls", "emmet-lsp" ] formatter = { command = "deno", args = ["fmt", "--ext", "ts", "-"] } auto-format = true
[[language]] name = "jsx" language-servers = [ "deno-lsp", "tailwindcss-ls", "emmet-lsp" ] formatter = { command = "deno", args = ["fmt", "--ext", "jsx", "-"] } auto-format = true
[[language]] name = "tsx" language-servers = [ "deno-lsp", "tailwindcss-ls", "emmet-lsp" ] formatter = { command = "deno", args = ["fmt", "--ext", "tsx", "-"] } auto-format = true
2024-10-14T23:12:04.649 globset [DEBUG] glob converted to regex: Glob { glob: "/Dockerfile.", re: "(?-u)^./Dockerfile\..$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([ZeroOrMore, Literal('/'), Literal('D'), Literal('o'), Literal('c'), Literal('k'), Literal('e'), Literal('r'), Literal('f'), Literal('i'), Literal('l'), Literal('e'), Literal('.'), ZeroOrMore]) } 2024-10-14T23:12:04.651 globset [DEBUG] glob converted to regex: Glob { glob: "/dockerfile.", re: "(?-u)^./dockerfile\..$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([ZeroOrMore, Literal('/'), Literal('d'), Literal('o'), Literal('c'), Literal('k'), Literal('e'), Literal('r'), Literal('f'), Literal('i'), Literal('l'), Literal('e'), Literal('.'), ZeroOrMore]) } 2024-10-14T23:12:04.651 globset [DEBUG] glob converted to regex: Glob { glob: "/Containerfile.", re: "(?-u)^./Containerfile\..$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([ZeroOrMore, Literal('/'), Literal('C'), Literal('o'), Literal('n'), Literal('t'), Literal('a'), Literal('i'), Literal('n'), Literal('e'), Literal('r'), Literal('f'), Literal('i'), Literal('l'), Literal('e'), Literal('.'), ZeroOrMore]) } 2024-10-14T23:12:04.651 globset [DEBUG] glob converted to regex: Glob { glob: "/containerfile.", re: "(?-u)^./containerfile\..$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([ZeroOrMore, Literal('/'), Literal('c'), Literal('o'), Literal('n'), Literal('t'), Literal('a'), Literal('i'), Literal('n'), Literal('e'), Literal('r'), Literal('f'), Literal('i'), Literal('l'), Literal('e'), Literal('.'), ZeroOrMore]) } 2024-10-14T23:12:04.651 globset [DEBUG] glob converted to regex: Glob { glob: "/.ignore", re: "(?-u)^./\..ignore$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([ZeroOrMore, Literal('/'), Literal('.'), ZeroOrMore, Literal('i'), Literal('g'), Literal('n'), Literal('o'), Literal('r'), Literal('e')]) } 2024-10-14T23:12:04.651 globset [DEBUG] glob converted to regex: Glob { glob: "/BUILD.", re: "(?-u)^./BUILD\..$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([ZeroOrMore, Literal('/'), Literal('B'), Literal('U'), Literal('I'), Literal('L'), Literal('D'), Literal('.'), ZeroOrMore]) } 2024-10-14T23:12:04.651 globset [DEBUG] glob converted to regex: Glob { glob: "/.env.", re: "(?-u)^./\.env\..$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([ZeroOrMore, Literal('/'), Literal('.'), Literal('e'), Literal('n'), Literal('v'), Literal('.'), ZeroOrMore]) } 2024-10-14T23:12:04.651 globset [DEBUG] glob converted to regex: Glob { glob: "/.envrc.", re: "(?-u)^./\.envrc\..$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([ZeroOrMore, Literal('/'), Literal('.'), Literal('e'), Literal('n'), Literal('v'), Literal('r'), Literal('c'), Literal('.'), ZeroOrMore]) } 2024-10-14T23:12:04.651 globset [DEBUG] glob converted to regex: Glob { glob: "/conf//.{inc,conf}", re: "(?-u)^./conf/./.\.(?:conf|inc)$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([ZeroOrMore, Literal('/'), Literal('c'), Literal('o'), Literal('n'), Literal('f'), Literal('/'), ZeroOrMore, Literal('/'), ZeroOrMore, Literal('.'), Alternates([Tokens([Literal('c'), Literal('o'), Literal('n'), Literal('f')]), Tokens([Literal('i'), Literal('n'), Literal('c')])])]) } 2024-10-14T23:12:04.651 globset [DEBUG] glob converted to regex: Glob { glob: "/Jenkinsfile.", re: "(?-u)^./Jenkinsfile\..$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([ZeroOrMore, Literal('/'), Literal('J'), Literal('e'), Literal('n'), Literal('k'), Literal('i'), Literal('n'), Literal('s'), Literal('f'), Literal('i'), Literal('l'), Literal('e'), Literal('.'), ZeroOrMore]) } 2024-10-14T23:12:04.651 globset [DEBUG] built glob set; 1 literals, 0 basenames, 0 extensions, 0 prefixes, 128 suffixes, 9 required extensions, 10 regexes 2024-10-14T23:12:04.672 helix_view::clipboard [DEBUG] Using xclip to interact with the system and selection (primary) clipboard 2024-10-14T23:12:04.752 helix_vcs [DEBUG] file is untracked 2024-10-14T23:12:04.752 helix_vcs [DEBUG] failed to open diff base for /home/razcore-rad/Documents/tmp/learn-deno-nextjs/src/api/dinosaur/[dinosaur]/route.ts 2024-10-14T23:12:04.754 helix_lsp::client [INFO] Using custom LSP config: {"deno":{"enable":true}} 2024-10-14T23:12:04.754 helix_lsp::transport [INFO] deno-lsp -> {"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"positionEncodings":["utf-8","utf-32","utf-16"]},"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dataSupport":true,"disabledSupport":true,"isPreferredSupport":true,"resolveSupport":{"properties":["edit","command"]}},"completion":{"completionItem":{"deprecatedSupport":true,"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"snippetSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{}},"formatting":{"dynamicRegistration":false},"hover":{"contentFormat":["markdown"]},"inlayHint":{"dynamicRegistration":false},"publishDiagnostics":{"tagSupport":{"valueSet":[1,2]},"versionSupport":true},"rename":{"dynamicRegistration":false,"honorsChangeAnnotations":false,"prepareSupport":true},"signatureHelp":{"signatureInformation":{"activeParameterSupport":true,"documentationFormat":["markdown"],"parameterInformation":{"labelOffsetSupport":true}}}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true,"relativePatternSupport":false},"executeCommand":{"dynamicRegistration":false},"fileOperations":{"didRename":true,"willRename":true},"inlayHint":{"refreshSupport":false},"symbol":{"dynamicRegistration":false},"workspaceEdit":{"documentChanges":true,"failureHandling":"abort","normalizesLineEndings":false,"resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"helix","version":"24.7 (079f5442)"},"initializationOptions":{"deno":{"enable":true}},"processId":2201970,"rootPath":"/home/razcore-rad/Documents/tmp/learn-deno-nextjs","rootUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs","workspaceFolders":[{"name":"learn-deno-nextjs","uri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs"}]},"id":0} 2024-10-14T23:12:04.754 helix_lsp::transport [INFO] tailwindcss-ls -> {"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"positionEncodings":["utf-8","utf-32","utf-16"]},"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dataSupport":true,"disabledSupport":true,"isPreferredSupport":true,"resolveSupport":{"properties":["edit","command"]}},"completion":{"completionItem":{"deprecatedSupport":true,"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"snippetSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{}},"formatting":{"dynamicRegistration":false},"hover":{"contentFormat":["markdown"]},"inlayHint":{"dynamicRegistration":false},"publishDiagnostics":{"tagSupport":{"valueSet":[1,2]},"versionSupport":true},"rename":{"dynamicRegistration":false,"honorsChangeAnnotations":false,"prepareSupport":true},"signatureHelp":{"signatureInformation":{"activeParameterSupport":true,"documentationFormat":["markdown"],"parameterInformation":{"labelOffsetSupport":true}}}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true,"relativePatternSupport":false},"executeCommand":{"dynamicRegistration":false},"fileOperations":{"didRename":true,"willRename":true},"inlayHint":{"refreshSupport":false},"symbol":{"dynamicRegistration":false},"workspaceEdit":{"documentChanges":true,"failureHandling":"abort","normalizesLineEndings":false,"resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"helix","version":"24.7 (079f5442)"},"processId":2201970,"rootPath":"/home/razcore-rad/Documents/tmp/learn-deno-nextjs","rootUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs","workspaceFolders":[{"name":"learn-deno-nextjs","uri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs"}]},"id":0} 2024-10-14T23:12:04.755 helix_lsp::transport [INFO] emmet-lsp -> {"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"positionEncodings":["utf-8","utf-32","utf-16"]},"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dataSupport":true,"disabledSupport":true,"isPreferredSupport":true,"resolveSupport":{"properties":["edit","command"]}},"completion":{"completionItem":{"deprecatedSupport":true,"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"snippetSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{}},"formatting":{"dynamicRegistration":false},"hover":{"contentFormat":["markdown"]},"inlayHint":{"dynamicRegistration":false},"publishDiagnostics":{"tagSupport":{"valueSet":[1,2]},"versionSupport":true},"rename":{"dynamicRegistration":false,"honorsChangeAnnotations":false,"prepareSupport":true},"signatureHelp":{"signatureInformation":{"activeParameterSupport":true,"documentationFormat":["markdown"],"parameterInformation":{"labelOffsetSupport":true}}}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true,"relativePatternSupport":false},"executeCommand":{"dynamicRegistration":false},"fileOperations":{"didRename":true,"willRename":true},"inlayHint":{"refreshSupport":false},"symbol":{"dynamicRegistration":false},"workspaceEdit":{"documentChanges":true,"failureHandling":"abort","normalizesLineEndings":false,"resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"helix","version":"24.7 (079f5442)"},"processId":2201970,"rootPath":"/home/razcore-rad/Documents/tmp/learn-deno-nextjs","rootUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs","workspaceFolders":[{"name":"learn-deno-nextjs","uri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs"}]},"id":0} 2024-10-14T23:12:04.762 helix_view::editor [DEBUG] editor status: Loaded 1 file. 2024-10-14T23:12:04.766 helix_lsp::transport [ERROR] deno-lsp err <- "Starting Deno language server...\n" 2024-10-14T23:12:04.766 helix_lsp::transport [ERROR] deno-lsp err <- " version: 2.0.0 (release, x86_64-unknown-linux-gnu)\n" 2024-10-14T23:12:04.766 helix_lsp::transport [ERROR] deno-lsp err <- " executable: /home/razcore-rad/.deno/bin/deno\n" 2024-10-14T23:12:04.766 helix_lsp::transport [ERROR] deno-lsp err <- "Connected to \"helix\" 24.7 (079f5442)\n" 2024-10-14T23:12:04.768 helix_tui::backend::crossterm [DEBUG] The keyboard enhancement protocol is supported in this terminal (checked in 3.37822ms) 2024-10-14T23:12:04.770 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0 2024-10-14T23:12:04.855 helix_lsp::transport [INFO] emmet-lsp <- {"jsonrpc":"2.0","id":0,"result":{"capabilities":{"textDocumentSync":2,"completionProvider":{"resolveProvider":false,"triggerCharacters":["!",":",">","+","^","",")",".","]","@","}","/","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9"]}}}} 2024-10-14T23:12:04.858 helix_lsp::transport [INFO] emmet-lsp <- {"capabilities":{"completionProvider":{"resolveProvider":false,"triggerCharacters":["!",":",">","+","^","",")",".","]","@","}","/","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9"]},"textDocumentSync":2}} 2024-10-14T23:12:04.859 helix_lsp::transport [INFO] emmet-lsp -> {"jsonrpc":"2.0","method":"initialized","params":{}} 2024-10-14T23:12:04.859 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(3v1), Notification(Notification { jsonrpc: None, method: "initialized", params: None }))) 2024-10-14T23:12:04.860 helix_lsp::transport [INFO] emmet-lsp -> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"typescript","text":"\n","uri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/src/api/dinosaur/[dinosaur]/route.ts","version":0}}} 2024-10-14T23:12:04.865 helix_lsp::transport [INFO] deno-lsp <- {"jsonrpc":"2.0","result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"selectionRangeProvider":true,"hoverProvider":true,"completionProvider":{"resolveProvider":true,"triggerCharacters":[".","\"","'","
","/","@","<","#"],"allCommitCharacters":[".",";","("]},"signatureHelpProvider":{"triggerCharacters":[",","(","<"],"retriggerCharacters":[")"]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":{"label":"Deno"},"workspaceSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","refactor.extract.function","refactor.extract.constant","refactor.extract.type","refactor.extract.interface","refactor.move.newFile","refactor.rewrite.import","refactor.rewrite.export","refactor.rewrite.arrow.braces","refactor.rewrite.parameters.toDestructured","refactor.rewrite.property.generateAccessors"],"resolveProvider":true},"codeLensProvider":{"resolveProvider":true},"documentFormattingProvider":true,"renameProvider":true,"foldingRangeProvider":true,"executeCommandProvider":{"commands":["deno.cache","deno.reloadImportRegistries"]},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":true}},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["class","enum","interface","namespace","typeParameter","type","parameter","variable","enumMember","property","function","method"],"tokenModifiers":["declaration","static","async","readonly","defaultLibrary","local"]},"range":true,"full":true},"inlayHintProvider":true,"experimental":{"denoConfigTasks":true,"testingApi":true}},"serverInfo":{"name":"deno-language-server","version":"2.0.0 (release, x86_64-unknown-linux-gnu)"}},"id":0} 2024-10-14T23:12:04.865 helix_lsp::transport [INFO] deno-lsp <- {"capabilities":{"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","refactor.extract.function","refactor.extract.constant","refactor.extract.type","refactor.extract.interface","refactor.move.newFile","refactor.rewrite.import","refactor.rewrite.export","refactor.rewrite.arrow.braces","refactor.rewrite.parameters.toDestructured","refactor.rewrite.property.generateAccessors"],"resolveProvider":true},"codeLensProvider":{"resolveProvider":true},"completionProvider":{"allCommitCharacters":[".",";","("],"resolveProvider":true,"triggerCharacters":[".","\"","'","
","/","@","<","#"]},"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":{"label":"Deno"},"executeCommandProvider":{"commands":["deno.cache","deno.reloadImportRegistries"]},"experimental":{"denoConfigTasks":true,"testingApi":true},"foldingRangeProvider":true,"hoverProvider":true,"implementationProvider":true,"inlayHintProvider":true,"referencesProvider":true,"renameProvider":true,"selectionRangeProvider":true,"semanticTokensProvider":{"full":true,"legend":{"tokenModifiers":["declaration","static","async","readonly","defaultLibrary","local"],"tokenTypes":["class","enum","interface","namespace","typeParameter","type","parameter","variable","enumMember","property","function","method"]},"range":true},"signatureHelpProvider":{"retriggerCharacters":[")"],"triggerCharacters":[",","(","<"]},"textDocumentSync":{"change":2,"openClose":true,"save":{}},"typeDefinitionProvider":true,"workspace":{"workspaceFolders":{"changeNotifications":true,"supported":true}},"workspaceSymbolProvider":true},"serverInfo":{"name":"deno-language-server","version":"2.0.0 (release, x86_64-unknown-linux-gnu)"}} 2024-10-14T23:12:04.865 helix_lsp::transport [INFO] deno-lsp -> {"jsonrpc":"2.0","method":"initialized","params":{}} 2024-10-14T23:12:04.865 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), Notification(Notification { jsonrpc: None, method: "initialized", params: None }))) 2024-10-14T23:12:04.865 helix_lsp::transport [INFO] deno-lsp -> {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"deno":{"enable":true}}}} 2024-10-14T23:12:04.865 helix_lsp::transport [INFO] deno-lsp -> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"typescript","text":"\n","uri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/src/api/dinosaur/[dinosaur]/route.ts","version":0}}} 2024-10-14T23:12:04.865 helix_lsp::transport [INFO] deno-lsp <- {"jsonrpc":"2.0","method":"workspace/configuration","params":{"items":[{"section":"deno"},{"section":"javascript"},{"section":"typescript"},{"scopeUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs","section":"deno"},{"scopeUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs","section":"javascript"},{"scopeUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs","section":"typescript"}]},"id":0} 2024-10-14T23:12:04.866 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"section": String("deno")}, Object {"section": String("javascript")}, Object {"section": String("typescript")}, Object {"scopeUri": String("file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs"), "section": String("deno")}, Object {"scopeUri": String("file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs"), "section": String("javascript")}, Object {"scopeUri": String("file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs"), "section": String("typescript")}]}), id: Num(0) }))) 2024-10-14T23:12:04.866 helix_lsp::transport [INFO] deno-lsp -> {"jsonrpc":"2.0","result":[{"enable":true},null,null,{"enable":true},null,null],"id":0} 2024-10-14T23:12:04.866 helix_lsp::transport [ERROR] deno-lsp err <- "Refreshing configuration tree...\n" 2024-10-14T23:12:04.866 helix_lsp::transport [ERROR] deno-lsp err <- " Resolved package.json: \"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/package.json\"\n" 2024-10-14T23:12:04.867 helix_lsp::transport [ERROR] deno-lsp err <- " Resolved .npmrc: \"/home/razcore-rad/.npmrc\"\n" 2024-10-14T23:12:04.867 helix_lsp::transport [ERROR] deno-lsp err <- " Enabled 'bring your own node_modules'.\n" 2024-10-14T23:12:04.877 helix_lsp::transport [INFO] deno-lsp <- {"jsonrpc":"2.0","method":"client/registerCapability","params":{"registrations":[{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/*.{json,jsonc,lock}"}]}}]},"id":1} 2024-10-14T23:12:04.877 helix_lsp::transport [INFO] deno-lsp <- {"jsonrpc":"2.0","method":"workspace/configuration","params":{"items":[{"section":"deno"},{"section":"javascript"},{"section":"typescript"},{"scopeUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs","section":"deno"},{"scopeUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs","section":"javascript"},{"scopeUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs","section":"typescript"}]},"id":2} 2024-10-14T23:12:04.877 helix_lsp::transport [INFO] deno-lsp <- {"jsonrpc":"2.0","method":"deno/didChangeDenoConfiguration","params":{"changes":[{"scopeUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/","fileUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/package.json","type":"added","configurationType":"packageJson"}]}} 2024-10-14T23:12:04.877 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "client/registerCapability", params: Map({"registrations": Array [Object {"id": String("workspace/didChangeWatchedFiles"), "method": String("workspace/didChangeWatchedFiles"), "registerOptions": Object {"watchers": Array [Object {"globPattern": String("*/.{json,jsonc,lock}")}]}}]}), id: Num(1) }))) 2024-10-14T23:12:04.877 helix_lsp::file_event [DEBUG] Registering didChangeWatchedFiles for client '1v1' with id 'workspace/didChangeWatchedFiles' 2024-10-14T23:12:04.877 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"section": String("deno")}, Object {"section": String("javascript")}, Object {"section": String("typescript")}, Object {"scopeUri": String("file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs"), "section": String("deno")}, Object {"scopeUri": String("file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs"), "section": String("javascript")}, Object {"scopeUri": String("file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs"), "section": String("typescript")}]}), id: Num(2) }))) 2024-10-14T23:12:04.877 globset [DEBUG] glob converted to regex: Glob { glob: "/.{json,jsonc,lock}", re: "(?-u)^(?:/?|./).*\.(?:lock|jsonc|json)$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, ZeroOrMore, Literal('.'), Alternates([Tokens([Literal('l'), Literal('o'), Literal('c'), Literal('k')]), Tokens([Literal('j'), Literal('s'), Literal('o'), Literal('n'), Literal('c')]), Tokens([Literal('j'), Literal('s'), Literal('o'), Literal('n')])])]) } 2024-10-14T23:12:04.877 helix_lsp::transport [INFO] deno-lsp -> {"jsonrpc":"2.0","result":null,"id":1} 2024-10-14T23:12:04.877 globset [DEBUG] built glob set; 0 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 1 regexes 2024-10-14T23:12:04.877 helix_lsp::transport [INFO] deno-lsp -> {"jsonrpc":"2.0","result":[{"enable":true},null,null,{"enable":true},null,null],"id":2} 2024-10-14T23:12:04.877 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), Notification(Notification { jsonrpc: Some(V2), method: "deno/didChangeDenoConfiguration", params: Map({"changes": Array [Object {"configurationType": String("packageJson"), "fileUri": String("file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/package.json"), "scopeUri": String("file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/"), "type": String("added")}]}) }))) 2024-10-14T23:12:04.877 helix_term::application [INFO] Ignoring Unhandled notification from Language Server 2024-10-14T23:12:04.877 helix_lsp::transport [ERROR] deno-lsp err <- "Server ready.\n" 2024-10-14T23:12:04.877 helix_lsp::transport [ERROR] deno-lsp err <- "Refreshing configuration tree...\n" 2024-10-14T23:12:04.877 helix_lsp::transport [ERROR] deno-lsp err <- " Resolved package.json: \"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/package.json\"\n" 2024-10-14T23:12:04.877 helix_lsp::transport [ERROR] deno-lsp err <- " Resolved .npmrc: \"/home/razcore-rad/.npmrc\"\n" 2024-10-14T23:12:04.877 helix_lsp::transport [ERROR] deno-lsp err <- " Enabled 'bring your own node_modules'.\n" 2024-10-14T23:12:04.893 helix_term::application [DEBUG] received editor event: Redraw 2024-10-14T23:12:04.894 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0 2024-10-14T23:12:04.923 helix_term::application [DEBUG] received editor event: IdleTimer 2024-10-14T23:12:04.924 helix_lsp::transport [INFO] deno-lsp -> {"jsonrpc":"2.0","method":"textDocument/inlayHint","params":{"range":{"end":{"character":0,"line":1},"start":{"character":0,"line":0}},"textDocument":{"uri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/src/api/dinosaur/[dinosaur]/route.ts"}},"id":1} 2024-10-14T23:12:04.924 helix_lsp::transport [INFO] deno-lsp <- {"jsonrpc":"2.0","error":{"code":-32602,"message":"unexpected character at index 74"},"id":1} 2024-10-14T23:12:04.924 helix_lsp::transport [ERROR] deno-lsp <- InvalidParams: unexpected character at index 74 2024-10-14T23:12:04.940 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"Setting up server…"}} 2024-10-14T23:12:04.940 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"Listening for messages…"}} 2024-10-14T23:12:04.940 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("Setting up server…"), "type": Number(4)}) }))) 2024-10-14T23:12:04.940 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "Setting up server…" } 2024-10-14T23:12:04.940 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("Listening for messages…"), "type": Number(4)}) }))) 2024-10-14T23:12:04.940 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "Listening for messages…" } 2024-10-14T23:12:04.942 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","id":0,"result":{"capabilities":{"textDocumentSync":1,"hoverProvider":true,"colorProvider":true,"codeActionProvider":true,"documentLinkProvider":{},"completionProvider":{"resolveProvider":true,"triggerCharacters":["\"","'",""," ",".","(","[","]","!","/","-",":"]}}}} 2024-10-14T23:12:04.942 helix_lsp::transport [INFO] tailwindcss-ls <- {"capabilities":{"codeActionProvider":true,"colorProvider":true,"completionProvider":{"resolveProvider":true,"triggerCharacters":["\"","'","
"," ",".","(","[","]","!","/","-",":"]},"documentLinkProvider":{},"hoverProvider":true,"textDocumentSync":1}} 2024-10-14T23:12:04.942 helix_lsp::transport [INFO] tailwindcss-ls -> {"jsonrpc":"2.0","method":"initialized","params":{}} 2024-10-14T23:12:04.942 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: None, method: "initialized", params: None }))) 2024-10-14T23:12:04.942 helix_lsp::transport [INFO] tailwindcss-ls -> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"typescript","text":"\n","uri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/src/api/dinosaur/[dinosaur]/route.ts","version":0}}} 2024-10-14T23:12:04.944 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","id":0,"method":"workspace/configuration","params":{"items":[{"section":"editor"}]}} 2024-10-14T23:12:04.944 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"section": String("editor")}]}), id: Num(0) }))) 2024-10-14T23:12:04.944 helix_lsp::transport [INFO] tailwindcss-ls -> {"jsonrpc":"2.0","result":[null],"id":0} 2024-10-14T23:12:04.945 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","id":1,"method":"workspace/configuration","params":{"items":[{"section":"tailwindCSS"}]}} 2024-10-14T23:12:04.945 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"section": String("tailwindCSS")}]}), id: Num(1) }))) 2024-10-14T23:12:04.945 helix_lsp::transport [INFO] tailwindcss-ls -> {"jsonrpc":"2.0","result":[null],"id":1} 2024-10-14T23:12:04.947 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","id":2,"method":"workspace/configuration","params":{"items":[{"section":"editor","scopeUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs"}]}} 2024-10-14T23:12:04.947 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","id":3,"method":"workspace/configuration","params":{"items":[{"section":"tailwindCSS","scopeUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs"}]}} 2024-10-14T23:12:04.947 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"scopeUri": String("file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs"), "section": String("editor")}]}), id: Num(2) }))) 2024-10-14T23:12:04.947 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"scopeUri": String("file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs"), "section": String("tailwindCSS")}]}), id: Num(3) }))) 2024-10-14T23:12:04.947 helix_lsp::transport [INFO] tailwindcss-ls -> {"jsonrpc":"2.0","result":[null],"id":2} 2024-10-14T23:12:04.947 helix_lsp::transport [INFO] tailwindcss-ls -> {"jsonrpc":"2.0","result":[null],"id":3} 2024-10-14T23:12:04.955 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"Searching for Tailwind CSS projects in the workspace's folders."}} 2024-10-14T23:12:04.955 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("Searching for Tailwind CSS projects in the workspace's folders."), "type": Number(4)}) }))) 2024-10-14T23:12:04.955 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "Searching for Tailwind CSS projects in the workspace's folders." } 2024-10-14T23:12:04.969 helix_term::application [DEBUG] received editor event: Redraw 2024-10-14T23:12:04.969 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0 2024-10-14T23:12:04.975 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"{\"tailwind\":{\"version\":\"3.4.13\",\"features\":[\"layer:base\",\"separator:root\",\"content-list\",\"jit\",\"css-at-config-as-project\",\"relative-content-paths\",\"transpiled-configs\"],\"isDefaultVersion\":false}}"}} 2024-10-14T23:12:04.975 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"{\"tailwind\":{\"version\":\"3.4.13\",\"features\":[\"layer:base\",\"separator:root\",\"content-list\",\"jit\",\"css-at-config-as-project\",\"relative-content-paths\",\"transpiled-configs\"],\"isDefaultVersion\":false}}"}} 2024-10-14T23:12:04.975 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("{\"tailwind\":{\"version\":\"3.4.13\",\"features\":[\"layer:base\",\"separator:root\",\"content-list\",\"jit\",\"css-at-config-as-project\",\"relative-content-paths\",\"transpiled-configs\"],\"isDefaultVersion\":false}}"), "type": Number(4)}) }))) 2024-10-14T23:12:04.975 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "{\"tailwind\":{\"version\":\"3.4.13\",\"features\":[\"layer:base\",\"separator:root\",\"content-list\",\"jit\",\"css-at-config-as-project\",\"relative-content-paths\",\"transpiled-configs\"],\"isDefaultVersion\":false}}" } 2024-10-14T23:12:04.975 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("{\"tailwind\":{\"version\":\"3.4.13\",\"features\":[\"layer:base\",\"separator:root\",\"content-list\",\"jit\",\"css-at-config-as-project\",\"relative-content-paths\",\"transpiled-configs\"],\"isDefaultVersion\":false}}"), "type": Number(4)}) }))) 2024-10-14T23:12:04.975 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "{\"tailwind\":{\"version\":\"3.4.13\",\"features\":[\"layer:base\",\"separator:root\",\"content-list\",\"jit\",\"css-at-config-as-project\",\"relative-content-paths\",\"transpiled-configs\"],\"isDefaultVersion\":false}}" } 2024-10-14T23:12:04.982 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[Global] Creating projects: [{\"folder\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs\",\"config\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts\",\"selectors\":[{\"pattern\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts\",\"priority\":0},{\"pattern\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs/\",\"priority\":3},{\"pattern\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs/\",\"priority\":5}],\"user\":false,\"tailwind\":{\"version\":\"3.4.13\",\"features\":[\"layer:base\",\"separator:root\",\"content-list\",\"jit\",\"css-at-config-as-project\",\"relative-content-paths\",\"transpiled-configs\"],\"isDefaultVersion\":false}}]"}} 2024-10-14T23:12:04.983 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","id":4,"method":"client/registerCapability","params":{"registrations":[{"id":"72cd36ff-e151-47a6-af3c-3a9d6f6c52c6","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/{tailwind,tailwind.config,tailwind..config,tailwind.config.}.{js,cjs,ts,mjs,mts,cts}"},{"globPattern":"/{package-lock.json,yarn.lock,pnpm-lock.yaml}"},{"globPattern":"/*.{css,scss,sass,less,pcss}"}]}}]}} 2024-10-14T23:12:04.983 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("[Global] Creating projects: [{\"folder\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs\",\"config\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts\",\"selectors\":[{\"pattern\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts\",\"priority\":0},{\"pattern\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs/\",\"priority\":3},{\"pattern\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs/\",\"priority\":5}],\"user\":false,\"tailwind\":{\"version\":\"3.4.13\",\"features\":[\"layer:base\",\"separator:root\",\"content-list\",\"jit\",\"css-at-config-as-project\",\"relative-content-paths\",\"transpiled-configs\"],\"isDefaultVersion\":false}}]"), "type": Number(4)}) }))) 2024-10-14T23:12:04.983 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "[Global] Creating projects: [{\"folder\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs\",\"config\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts\",\"selectors\":[{\"pattern\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts\",\"priority\":0},{\"pattern\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs/\",\"priority\":3},{\"pattern\":\"/home/razcore-rad/Documents/tmp/learn-deno-nextjs/\",\"priority\":5}],\"user\":false,\"tailwind\":{\"version\":\"3.4.13\",\"features\":[\"layer:base\",\"separator:root\",\"content-list\",\"jit\",\"css-at-config-as-project\",\"relative-content-paths\",\"transpiled-configs\"],\"isDefaultVersion\":false}}]" } 2024-10-14T23:12:04.983 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "client/registerCapability", params: Map({"registrations": Array [Object {"id": String("72cd36ff-e151-47a6-af3c-3a9d6f6c52c6"), "method": String("workspace/didChangeWatchedFiles"), "registerOptions": Object {"watchers": Array [Object {"globPattern": String("/{tailwind,tailwind.config,tailwind..config,tailwind.config.}.{js,cjs,ts,mjs,mts,cts}")}, Object {"globPattern": String("/{package-lock.json,yarn.lock,pnpm-lock.yaml}")}, Object {"globPattern": String("*/.{css,scss,sass,less,pcss}")}]}}]}), id: Num(4) }))) 2024-10-14T23:12:04.983 helix_lsp::file_event [DEBUG] Registering didChangeWatchedFiles for client '2v1' with id '72cd36ff-e151-47a6-af3c-3a9d6f6c52c6' 2024-10-14T23:12:04.983 helix_lsp::transport [INFO] tailwindcss-ls -> {"jsonrpc":"2.0","result":null,"id":4} 2024-10-14T23:12:04.983 globset [DEBUG] glob converted to regex: Glob { glob: "/{tailwind,tailwind.config,tailwind..config,tailwind.config.}.{js,cjs,ts,mjs,mts,cts}", re: "(?-u)^(?:/?|./)(?:tailwind\.config\..|tailwind\..*\.config|tailwind\.config|tailwind)\.(?:cts|mts|mjs|ts|cjs|js)$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Alternates([Tokens([Literal('t'), Literal('a'), Literal('i'), Literal('l'), Literal('w'), Literal('i'), Literal('n'), Literal('d'), Literal('.'), Literal('c'), Literal('o'), Literal('n'), Literal('f'), Literal('i'), Literal('g'), Literal('.'), ZeroOrMore]), Tokens([Literal('t'), Literal('a'), Literal('i'), Literal('l'), Literal('w'), Literal('i'), Literal('n'), Literal('d'), Literal('.'), ZeroOrMore, Literal('.'), Literal('c'), Literal('o'), Literal('n'), Literal('f'), Literal('i'), Literal('g')]), Tokens([Literal('t'), Literal('a'), Literal('i'), Literal('l'), Literal('w'), Literal('i'), Literal('n'), Literal('d'), Literal('.'), Literal('c'), Literal('o'), Literal('n'), Literal('f'), Literal('i'), Literal('g')]), Tokens([Literal('t'), Literal('a'), Literal('i'), Literal('l'), Literal('w'), Literal('i'), Literal('n'), Literal('d')])]), Literal('.'), Alternates([Tokens([Literal('c'), Literal('t'), Literal('s')]), Tokens([Literal('m'), Literal('t'), Literal('s')]), Tokens([Literal('m'), Literal('j'), Literal('s')]), Tokens([Literal('t'), Literal('s')]), Tokens([Literal('c'), Literal('j'), Literal('s')]), Tokens([Literal('j'), Literal('s')])])]) } 2024-10-14T23:12:04.983 globset [DEBUG] glob converted to regex: Glob { glob: "*/{package-lock.json,yarn.lock,pnpm-lock.yaml}", re: "(?-u)^(?:/?|./)(?:pnpm\-lock\.yaml|yarn\.lock|package\-lock\.json)$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Alternates([Tokens([Literal('p'), Literal('n'), Literal('p'), Literal('m'), Literal('-'), Literal('l'), Literal('o'), Literal('c'), Literal('k'), Literal('.'), Literal('y'), Literal('a'), Literal('m'), Literal('l')]), Tokens([Literal('y'), Literal('a'), Literal('r'), Literal('n'), Literal('.'), Literal('l'), Literal('o'), Literal('c'), Literal('k')]), Tokens([Literal('p'), Literal('a'), Literal('c'), Literal('k'), Literal('a'), Literal('g'), Literal('e'), Literal('-'), Literal('l'), Literal('o'), Literal('c'), Literal('k'), Literal('.'), Literal('j'), Literal('s'), Literal('o'), Literal('n')])])]) } 2024-10-14T23:12:04.983 globset [DEBUG] glob converted to regex: Glob { glob: "*/.{css,scss,sass,less,pcss}", re: "(?-u)^(?:/?|./).\.(?:pcss|less|sass|scss|css)$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, ZeroOrMore, Literal('.'), Alternates([Tokens([Literal('p'), Literal('c'), Literal('s'), Literal('s')]), Tokens([Literal('l'), Literal('e'), Literal('s'), Literal('s')]), Tokens([Literal('s'), Literal('a'), Literal('s'), Literal('s')]), Tokens([Literal('s'), Literal('c'), Literal('s'), Literal('s')]), Tokens([Literal('c'), Literal('s'), Literal('s')])])]) } 2024-10-14T23:12:04.983 globset [DEBUG] built glob set; 0 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 3 regexes 2024-10-14T23:12:04.990 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[Global] Preparing projects..."}} 2024-10-14T23:12:04.991 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[Global] Adding watch patterns: /home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts, /home/razcore-rad/Documents/tmp/learn-deno-nextjs"}} 2024-10-14T23:12:04.991 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","id":5,"method":"client/registerCapability","params":{"registrations":[{"id":"56af9805-d161-47b7-be9f-86fc3b568d4d","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts"},{"globPattern":"/home/razcore-rad/Documents/tmp/learn-deno-nextjs"}]}}]}} 2024-10-14T23:12:04.991 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("[Global] Preparing projects..."), "type": Number(4)}) }))) 2024-10-14T23:12:04.991 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "[Global] Preparing projects..." } 2024-10-14T23:12:04.991 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[Global] Initializing projects..."}} 2024-10-14T23:12:04.991 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("[Global] Adding watch patterns: /home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts, /home/razcore-rad/Documents/tmp/learn-deno-nextjs"), "type": Number(4)}) }))) 2024-10-14T23:12:04.991 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[tailwind.config.ts] Initializing..."}} 2024-10-14T23:12:04.991 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "[Global] Adding watch patterns: /home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts, /home/razcore-rad/Documents/tmp/learn-deno-nextjs" } 2024-10-14T23:12:04.991 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[tailwind.config.ts] supported features: [\"layer:base\",\"separator:root\",\"content-list\",\"jit\",\"css-at-config-as-project\",\"relative-content-paths\",\"transpiled-configs\"]"}} 2024-10-14T23:12:04.991 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "client/registerCapability", params: Map({"registrations": Array [Object {"id": String("56af9805-d161-47b7-be9f-86fc3b568d4d"), "method": String("workspace/didChangeWatchedFiles"), "registerOptions": Object {"watchers": Array [Object {"globPattern": String("/home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts")}, Object {"globPattern": String("/home/razcore-rad/Documents/tmp/learn-deno-nextjs")}]}}]}), id: Num(5) }))) 2024-10-14T23:12:04.991 helix_lsp::file_event [DEBUG] Registering didChangeWatchedFiles for client '2v1' with id '56af9805-d161-47b7-be9f-86fc3b568d4d' 2024-10-14T23:12:04.991 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("[Global] Initializing projects..."), "type": Number(4)}) }))) 2024-10-14T23:12:04.991 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "[Global] Initializing projects..." } 2024-10-14T23:12:04.991 globset [DEBUG] built glob set; 2 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes 2024-10-14T23:12:04.991 helix_lsp::transport [INFO] tailwindcss-ls -> {"jsonrpc":"2.0","result":null,"id":5} 2024-10-14T23:12:04.991 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("[tailwind.config.ts] Initializing..."), "type": Number(4)}) }))) 2024-10-14T23:12:04.991 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "[tailwind.config.ts] Initializing..." } 2024-10-14T23:12:04.991 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("[tailwind.config.ts] supported features: [\"layer:base\",\"separator:root\",\"content-list\",\"jit\",\"css-at-config-as-project\",\"relative-content-paths\",\"transpiled-configs\"]"), "type": Number(4)}) }))) 2024-10-14T23:12:04.991 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "[tailwind.config.ts] supported features: [\"layer:base\",\"separator:root\",\"content-list\",\"jit\",\"css-at-config-as-project\",\"relative-content-paths\",\"transpiled-configs\"]" } 2024-10-14T23:12:05.010 helix_term::application [DEBUG] received editor event: Redraw 2024-10-14T23:12:05.010 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0 2024-10-14T23:12:05.100 helix_lsp::transport [INFO] deno-lsp <- {"jsonrpc":"2.0","method":"deno/didUpgradeCheck","params":{"upgradeAvailable":null}} 2024-10-14T23:12:05.100 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(1v1), Notification(Notification { jsonrpc: Some(V2), method: "deno/didUpgradeCheck", params: Map({"upgradeAvailable": Null}) }))) 2024-10-14T23:12:05.100 helix_term::application [INFO] Ignoring Unhandled notification from Language Server 2024-10-14T23:12:05.135 helix_term::application [DEBUG] received editor event: Redraw 2024-10-14T23:12:05.135 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0 2024-10-14T23:12:06.415 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[tailwind.config.ts] Loaded tailwindcss v3.4.13: /home/razcore-rad/Documents/tmp/learn-deno-nextjs/node_modules/tailwindcss"}} 2024-10-14T23:12:06.416 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[tailwind.config.ts] Loaded Tailwind CSS config file: /home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts"}} 2024-10-14T23:12:06.416 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[tailwind.config.ts] Loaded postcss v8.4.47: /home/razcore-rad/Documents/tmp/learn-deno-nextjs/node_modules/postcss"}} 2024-10-14T23:12:06.416 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("[tailwind.config.ts] Loaded tailwindcss v3.4.13: /home/razcore-rad/Documents/tmp/learn-deno-nextjs/node_modules/tailwindcss"), "type": Number(4)}) }))) 2024-10-14T23:12:06.416 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "[tailwind.config.ts] Loaded tailwindcss v3.4.13: /home/razcore-rad/Documents/tmp/learn-deno-nextjs/node_modules/tailwindcss" } 2024-10-14T23:12:06.416 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[tailwind.config.ts] Building..."}} 2024-10-14T23:12:06.416 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("[tailwind.config.ts] Loaded Tailwind CSS config file: /home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts"), "type": Number(4)}) }))) 2024-10-14T23:12:06.416 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","id":6,"method":"workspace/configuration","params":{"items":[{"section":"editor","scopeUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/src/api/dinosaur/[dinosaur]/route.ts"}]}} 2024-10-14T23:12:06.416 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "[tailwind.config.ts] Loaded Tailwind CSS config file: /home/razcore-rad/Documents/tmp/learn-deno-nextjs/tailwind.config.ts" } 2024-10-14T23:12:06.416 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("[tailwind.config.ts] Loaded postcss v8.4.47: /home/razcore-rad/Documents/tmp/learn-deno-nextjs/node_modules/postcss"), "type": Number(4)}) }))) 2024-10-14T23:12:06.416 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "[tailwind.config.ts] Loaded postcss v8.4.47: /home/razcore-rad/Documents/tmp/learn-deno-nextjs/node_modules/postcss" } 2024-10-14T23:12:06.416 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","id":7,"method":"workspace/configuration","params":{"items":[{"section":"tailwindCSS","scopeUri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/src/api/dinosaur/[dinosaur]/route.ts"}]}} 2024-10-14T23:12:06.416 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("[tailwind.config.ts] Building..."), "type": Number(4)}) }))) 2024-10-14T23:12:06.416 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"@/tailwindCSS/projectInitialized","params":[null]} 2024-10-14T23:12:06.416 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "[tailwind.config.ts] Building..." } 2024-10-14T23:12:06.416 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"[Global] Initialized 1 projects"}} 2024-10-14T23:12:06.416 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"scopeUri": String("file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/src/api/dinosaur/[dinosaur]/route.ts"), "section": String("editor")}]}), id: Num(6) }))) 2024-10-14T23:12:06.416 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","id":8,"method":"client/registerCapability","params":{"registrations":[{"id":"14e493b6-0cbd-4293-9512-df4d47c602b3","method":"workspace/didChangeWorkspaceFolders","registerOptions":{}}]}} 2024-10-14T23:12:06.416 helix_lsp::transport [INFO] tailwindcss-ls -> {"jsonrpc":"2.0","result":[null],"id":6} 2024-10-14T23:12:06.416 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"scopeUri": String("file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/src/api/dinosaur/[dinosaur]/route.ts"), "section": String("tailwindCSS")}]}), id: Num(7) }))) 2024-10-14T23:12:06.416 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "@/tailwindCSS/projectInitialized", params: Array([Null]) }))) 2024-10-14T23:12:06.416 helix_term::application [INFO] Ignoring Unhandled notification from Language Server 2024-10-14T23:12:06.416 helix_lsp::transport [INFO] tailwindcss-ls -> {"jsonrpc":"2.0","result":[null],"id":7} 2024-10-14T23:12:06.416 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "window/logMessage", params: Map({"message": String("[Global] Initialized 1 projects"), "type": Number(4)}) }))) 2024-10-14T23:12:06.416 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "[Global] Initialized 1 projects" } 2024-10-14T23:12:06.416 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), MethodCall(MethodCall { jsonrpc: Some(V2), method: "client/registerCapability", params: Map({"registrations": Array [Object {"id": String("14e493b6-0cbd-4293-9512-df4d47c602b3"), "method": String("workspace/didChangeWorkspaceFolders"), "registerOptions": Object {}}]}), id: Num(8) }))) 2024-10-14T23:12:06.416 helix_term::application [WARN] Ignoring a client/registerCapability request because dynamic capability registration is not enabled. Please report this upstream to the language server 2024-10-14T23:12:06.416 helix_lsp::transport [INFO] tailwindcss-ls -> {"jsonrpc":"2.0","result":null,"id":8} 2024-10-14T23:12:06.422 helix_lsp::transport [INFO] tailwindcss-ls <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/src/api/dinosaur/[dinosaur]/route.ts","diagnostics":[]}} 2024-10-14T23:12:06.422 helix_term::application [DEBUG] received editor event: LanguageServerMessage((LanguageServerId(2v1), Notification(Notification { jsonrpc: Some(V2), method: "textDocument/publishDiagnostics", params: Map({"diagnostics": Array [], "uri": String("file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/src/api/dinosaur/[dinosaur]/route.ts")}) }))) 2024-10-14T23:12:06.451 helix_term::application [DEBUG] received editor event: Redraw 2024-10-14T23:12:06.452 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0 2024-10-14T23:12:07.378 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0 2024-10-14T23:12:07.615 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0 2024-10-14T23:12:07.629 helix_term::application [DEBUG] received editor event: IdleTimer 2024-10-14T23:12:07.629 helix_lsp::transport [INFO] deno-lsp -> {"jsonrpc":"2.0","method":"textDocument/inlayHint","params":{"range":{"end":{"character":0,"line":1},"start":{"character":0,"line":0}},"textDocument":{"uri":"file:///home/razcore-rad/Documents/tmp/learn-deno-nextjs/src/api/dinosaur/[dinosaur]/route.ts"}},"id":2} 2024-10-14T23:12:07.629 helix_lsp::transport [INFO] deno-lsp <- {"jsonrpc":"2.0","error":{"code":-32602,"message":"unexpected character at index 74"},"id":2} 2024-10-14T23:12:07.629 helix_lsp::transport [ERROR] deno-lsp <- InvalidParams: unexpected character at index 74 2024-10-14T23:12:07.664 helix_term::application [DEBUG] received editor event: Redraw 2024-10-14T23:12:07.664 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0 2024-10-14T23:12:07.789 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0 2024-10-14T23:12:07.876 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0 2024-10-14T23:12:07.964 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0