Closed artbot1 closed 4 months ago
htat is not an error message. The [ERROR]
here means that it was printed as an error log message but svelete but it doesn't sound like an actual error. I don't see any indication of something going wrong here. I don't know about svelte configuration so I can't say what you need to do to fix that.
Summary
lsp svelteserver errors occur in the helix log, this happens with the newest svelte-language-server compiled from source, and also with the newest/every npm installation.
the svelteserver doesn't show all warnings (but some do function). same configuration in vscode shows all errors and warnings
i'm using the newest helix compiled from source
Reproduction Steps
i've compliled the newest version of the svelteserver from source (but the issue also happens with the official npm package: npm i -g svelte-language-server)
git clone https://github.com/sveltejs/language-tools.git svelte-language-tools cd svelte-language-tools pnpm install pnmp bootstrap pnpm build
works fine, an i can run
/home/user/svelte-language-tools/packages/language-server/bin/server.js
i'm using the newest helix version from github: helix 24.3 (1e7c01d7)
and here are my .helix/languages.toml settings
running helix with a simple svelte project (including eslint) i get the logs
helix_lsp::transport [INFO] svelteserver -> {"jsonrpc":"2.0" ... helix_lsp::transport [ERROR] svelteserver err <- "Initialize language server at file:///home/ ... helix_lsp::transport [INFO] svelteserver <- {"jsonrpc":"2.0","id":0,"result":{"capabilities": ...
helix_lsp::transport [INFO] svelteserver -> {"jsonrpc":"2.0","result":null,"id":0} helix_lsp::transport [ERROR] svelteserver err <- "Initialize new ts service at /home/ ... helix_lsp::transport [ERROR] svelteserver err <- "Trying to load configs for /home/ ... helix_lsp::transport [ERROR] svelteserver err <- "Loaded config at /home/...
but helix shows some of the eslint warnings but not all. using vscode with the same project i do a lot more warnings etc.
i suppose some config data is not transferred correctly, but can't get rid of the svelteserver err messages in the first place ...
here is my eslint.config.js ( "prefer-const": "error" errors don't show up in helix, but they do in vscode)
and here the svelte file:
Helix log
2024-04-09T12:58:34.067 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-04-09T12:58:34.067 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-04-09T12:58:34.067 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-04-09T12:58:34.067 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-04-09T12:58:34.067 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-04-09T12:58:34.067 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-04-09T12:58:34.067 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-04-09T12:58:34.067 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-04-09T12:58:34.067 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-04-09T12:58:34.067 globset [DEBUG] built glob set; 1 literals, 0 basenames, 0 extensions, 0 prefixes, 124 suffixes, 7 required extensions, 9 regexes 2024-04-09T12:58:34.072 helix_view::clipboard [DEBUG] Using xclip to interact with the system and selection (primary) clipboard 2024-04-09T12:58:34.139 helix_vcs [DEBUG] failed to obtain current head name for /home/user/svelteproject/src/Ebbinghaus.svelte 2024-04-09T12:58:34.139 mio::poll [TRACE] registering event source with poller: token=Token(94170281569920), interests=READABLE | WRITABLE 2024-04-09T12:58:34.139 mio::poll [TRACE] registering event source with poller: token=Token(94170281360512), interests=READABLE | WRITABLE 2024-04-09T12:58:34.139 mio::poll [TRACE] registering event source with poller: token=Token(94170279915648), interests=READABLE | WRITABLE 2024-04-09T12:58:34.139 mio::poll [TRACE] registering event source with poller: token=Token(94170279916288), interests=READABLE 2024-04-09T12:58:34.139 helix_view::editor [DEBUG] editor status: Loaded 1 file. 2024-04-09T12:58:34.139 helix_lsp::client [INFO] Using custom LSP config: {"configuration":{"javascript":{"inlayHints":{"enumMemberValues":{"enabled":true},"functionLikeReturnTypes":{"enabled":true},"parameterNames":{"enabled":"all"},"parameterTypes":{"enabled":true},"propertyDeclarationTypes":{"enabled":true},"variableTypes":{"enabled":true}}},"typescript":{"inlayHints":{"enumMemberValues":{"enabled":true},"functionLikeReturnTypes":{"enabled":true},"parameterNames":{"enabled":"all"},"parameterTypes":{"enabled":true},"propertyDeclarationTypes":{"enabled":true},"variableTypes":{"enabled":true}}}}} 2024-04-09T12:58:34.139 mio::poll [TRACE] registering event source with poller: token=Token(94170282104448), interests=READABLE | WRITABLE 2024-04-09T12:58:34.139 mio::poll [TRACE] registering event source with poller: token=Token(94170281482880), interests=READABLE | WRITABLE 2024-04-09T12:58:34.139 helix_lsp::transport [INFO] svelteserver -> {"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":{}},"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.3 (1e7c01d7)"},"initializationOptions":{"configuration":{"javascript":{"inlayHints":{"enumMemberValues":{"enabled":true},"functionLikeReturnTypes":{"enabled":true},"parameterNames":{"enabled":"all"},"parameterTypes":{"enabled":true},"propertyDeclarationTypes":{"enabled":true},"variableTypes":{"enabled":true}}},"typescript":{"inlayHints":{"enumMemberValues":{"enabled":true},"functionLikeReturnTypes":{"enabled":true},"parameterNames":{"enabled":"all"},"parameterTypes":{"enabled":true},"propertyDeclarationTypes":{"enabled":true},"variableTypes":{"enabled":true}}}}},"processId":146394,"rootPath":"/home/user/svelteproject","rootUri":"file:///home/user/svelteproject","workspaceFolders":[{"name":"imp10sveltehelix","uri":"file:///home/user/svelteproject"}]},"id":0} 2024-04-09T12:58:34.139 mio::poll [TRACE] registering event source with poller: token=Token(0), interests=READABLE 2024-04-09T12:58:34.139 mio::poll [TRACE] registering event source with poller: token=Token(1), interests=READABLE 2024-04-09T12:58:34.140 helix_tui::backend::crossterm [DEBUG] The keyboard enhancement protocol is not supported in this terminal (checked in 283.887µs) 2024-04-09T12:58:34.140 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0 2024-04-09T12:58:34.140 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0 2024-04-09T12:58:34.323 helix_term::application [DEBUG] received editor event: IdleTimer 2024-04-09T12:58:34.790 helix_lsp::transport [ERROR] svelteserver err <- "Initialize language server at file:///home/user/svelteproject\n" 2024-04-09T12:58:34.798 helix_lsp::transport [INFO] svelteserver <- {"jsonrpc":"2.0","id":0,"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{"includeText":false}},"hoverProvider":true,"completionProvider":{"resolveProvider":true,"triggerCharacters":[".","\"","'","\n\t \n\t\t \n\t\n \n\n\n","uri":"file:///home/user/svelteproject/src/Ebbinghaus.svelte","version":0}}}
2024-04-09T12:58:34.800 helix_lsp::transport [INFO] svelteserver <- {"jsonrpc":"2.0","id":0,"method":"client/registerCapability","params":{"registrations":[{"id":"796b8fd0-d437-40db-b6e1-84e36a02a4a1","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/*.{ts,js,mts,mjs,cjs,cts,json}"}]}}]}}
2024-04-09T12:58:34.800 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, MethodCall(MethodCall { jsonrpc: Some(V2), method: "client/registerCapability", params: Map({"registrations": Array [Object {"id": String("796b8fd0-d437-40db-b6e1-84e36a02a4a1"), "method": String("workspace/didChangeWatchedFiles"), "registerOptions": Object {"watchers": Array [Object {"globPattern": String("*/.{ts,js,mts,mjs,cjs,cts,json}")}]}}]}), id: Num(0) })))
2024-04-09T12:58:34.800 helix_lsp::file_event [DEBUG] Registering didChangeWatchedFiles for client '0' with id '796b8fd0-d437-40db-b6e1-84e36a02a4a1'
2024-04-09T12:58:34.800 helix_lsp::transport [INFO] svelteserver -> {"jsonrpc":"2.0","result":null,"id":0}
2024-04-09T12:58:34.800 globset [DEBUG] glob converted to regex: Glob { glob: "/.{ts,js,mts,mjs,cjs,cts,json}", re: "(?-u)^(?:/?|./).*\.(?:json|cts|cjs|mjs|mts|js|ts)$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, ZeroOrMore, Literal('.'), Alternates([Tokens([Literal('j'), Literal('s'), Literal('o'), Literal('n')]), Tokens([Literal('c'), Literal('t'), Literal('s')]), Tokens([Literal('c'), Literal('j'), Literal('s')]), Tokens([Literal('m'), Literal('j'), Literal('s')]), Tokens([Literal('m'), Literal('t'), Literal('s')]), Tokens([Literal('j'), Literal('s')]), Tokens([Literal('t'), Literal('s')])])]) }
2024-04-09T12:58:34.800 globset [DEBUG] built glob set; 0 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 1 regexes
2024-04-09T12:58:34.813 helix_lsp::transport [ERROR] svelteserver err <- "Initialize new ts service at /home/user/svelteproject/tsconfig.json\n"
2024-04-09T12:58:34.826 helix_lsp::transport [ERROR] svelteserver err <- "Trying to load configs for /home/user/svelteproject\n"
2024-04-09T12:58:34.832 helix_term::application [DEBUG] received editor event: Redraw
2024-04-09T12:58:34.832 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:34.832 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:35.148 helix_lsp::transport [ERROR] svelteserver err <- "Loaded config at /home/user/svelteproject/svelte.config.js\n"
2024-04-09T12:58:35.208 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:35.208 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:35.237 helix_lsp::transport [ERROR] svelteserver err <- "SnapshotManager File Statistics:\n"
2024-04-09T12:58:35.237 helix_lsp::transport [ERROR] svelteserver err <- "Project files: 6\n"
2024-04-09T12:58:35.237 helix_lsp::transport [ERROR] svelteserver err <- "Svelte files: 4\n"
2024-04-09T12:58:35.237 helix_lsp::transport [ERROR] svelteserver err <- "From node_modules: 0\n"
2024-04-09T12:58:35.237 helix_lsp::transport [ERROR] svelteserver err <- "Total: 6\n"
2024-04-09T12:58:35.459 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-09T12:58:35.775 helix_term::commands::typed [DEBUG] quitting...
2024-04-09T12:58:35.775 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:35.776 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:36.416 helix_term::commands::typed [DEBUG] quitting...
2024-04-09T12:58:36.416 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:36.416 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:36.620 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:36.621 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:36.717 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:36.718 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:36.968 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-09T12:58:37.250 helix_lsp::transport [INFO] svelteserver <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/user/svelteproject/src/Ebbinghaus.svelte","diagnostics":[{"range":{"start":{"line":23,"character":7},"end":{"line":23,"character":12}},"severity":4,"source":"ts","message":"'p000X' is declared but its value is never read.","code":6133,"tags":[1]},{"range":{"start":{"line":24,"character":7},"end":{"line":24,"character":12}},"severity":4,"source":"ts","message":"'p000Y' is declared but its value is never read.","code":6133,"tags":[1]},{"range":{"start":{"line":25,"character":7},"end":{"line":25,"character":12}},"severity":4,"source":"ts","message":"'p060X' is declared but its value is never read.","code":6133,"tags":[1]},{"range":{"start":{"line":26,"character":7},"end":{"line":26,"character":12}},"severity":4,"source":"ts","message":"'p060Y' is declared but its value is never read.","code":6133,"tags":[1]},{"range":{"start":{"line":27,"character":7},"end":{"line":27,"character":12}},"severity":4,"source":"ts","message":"'p120X' is declared but its value is never read.","code":6133,"tags":[1]},{"range":{"start":{"line":28,"character":7},"end":{"line":28,"character":12}},"severity":4,"source":"ts","message":"'p120Y' is declared but its value is never read.","code":6133,"tags":[1]},{"range":{"start":{"line":29,"character":7},"end":{"line":29,"character":12}},"severity":4,"source":"ts","message":"'p180X' is declared but its value is never read.","code":6133,"tags":[1]},{"range":{"start":{"line":30,"character":7},"end":{"line":30,"character":12}},"severity":4,"source":"ts","message":"'p180Y' is declared but its value is never read.","code":6133,"tags":[1]},{"range":{"start":{"line":31,"character":7},"end":{"line":31,"character":12}},"severity":4,"source":"ts","message":"'p240X' is declared but its value is never read.","code":6133,"tags":[1]},{"range":{"start":{"line":32,"character":7},"end":{"line":32,"character":12}},"severity":4,"source":"ts","message":"'p240Y' is declared but its value is never read.","code":6133,"tags":[1]},{"range":{"start":{"line":33,"character":7},"end":{"line":33,"character":12}},"severity":4,"source":"ts","message":"'p300X' is declared but its value is never read.","code":6133,"tags":[1]},{"range":{"start":{"line":34,"character":7},"end":{"line":34,"character":12}},"severity":4,"source":"ts","message":"'p300Y' is declared but its value is never read.","code":6133,"tags":[1]}]}}
2024-04-09T12:58:37.251 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, Notification(Notification { jsonrpc: Some(V2), method: "textDocument/publishDiagnostics", params: Map({"diagnostics": Array [Object {"code": Number(6133), "message": String("'p000X' is declared but its value is never read."), "range": Object {"end": Object {"character": Number(12), "line": Number(23)}, "start": Object {"character": Number(7), "line": Number(23)}}, "severity": Number(4), "source": String("ts"), "tags": Array [Number(1)]}, Object {"code": Number(6133), "message": String("'p000Y' is declared but its value is never read."), "range": Object {"end": Object {"character": Number(12), "line": Number(24)}, "start": Object {"character": Number(7), "line": Number(24)}}, "severity": Number(4), "source": String("ts"), "tags": Array [Number(1)]}, Object {"code": Number(6133), "message": String("'p060X' is declared but its value is never read."), "range": Object {"end": Object {"character": Number(12), "line": Number(25)}, "start": Object {"character": Number(7), "line": Number(25)}}, "severity": Number(4), "source": String("ts"), "tags": Array [Number(1)]}, Object {"code": Number(6133), "message": String("'p060Y' is declared but its value is never read."), "range": Object {"end": Object {"character": Number(12), "line": Number(26)}, "start": Object {"character": Number(7), "line": Number(26)}}, "severity": Number(4), "source": String("ts"), "tags": Array [Number(1)]}, Object {"code": Number(6133), "message": String("'p120X' is declared but its value is never read."), "range": Object {"end": Object {"character": Number(12), "line": Number(27)}, "start": Object {"character": Number(7), "line": Number(27)}}, "severity": Number(4), "source": String("ts"), "tags": Array [Number(1)]}, Object {"code": Number(6133), "message": String("'p120Y' is declared but its value is never read."), "range": Object {"end": Object {"character": Number(12), "line": Number(28)}, "start": Object {"character": Number(7), "line": Number(28)}}, "severity": Number(4), "source": String("ts"), "tags": Array [Number(1)]}, Object {"code": Number(6133), "message": String("'p180X' is declared but its value is never read."), "range": Object {"end": Object {"character": Number(12), "line": Number(29)}, "start": Object {"character": Number(7), "line": Number(29)}}, "severity": Number(4), "source": String("ts"), "tags": Array [Number(1)]}, Object {"code": Number(6133), "message": String("'p180Y' is declared but its value is never read."), "range": Object {"end": Object {"character": Number(12), "line": Number(30)}, "start": Object {"character": Number(7), "line": Number(30)}}, "severity": Number(4), "source": String("ts"), "tags": Array [Number(1)]}, Object {"code": Number(6133), "message": String("'p240X' is declared but its value is never read."), "range": Object {"end": Object {"character": Number(12), "line": Number(31)}, "start": Object {"character": Number(7), "line": Number(31)}}, "severity": Number(4), "source": String("ts"), "tags": Array [Number(1)]}, Object {"code": Number(6133), "message": String("'p240Y' is declared but its value is never read."), "range": Object {"end": Object {"character": Number(12), "line": Number(32)}, "start": Object {"character": Number(7), "line": Number(32)}}, "severity": Number(4), "source": String("ts"), "tags": Array [Number(1)]}, Object {"code": Number(6133), "message": String("'p300X' is declared but its value is never read."), "range": Object {"end": Object {"character": Number(12), "line": Number(33)}, "start": Object {"character": Number(7), "line": Number(33)}}, "severity": Number(4), "source": String("ts"), "tags": Array [Number(1)]}, Object {"code": Number(6133), "message": String("'p300Y' is declared but its value is never read."), "range": Object {"end": Object {"character": Number(12), "line": Number(34)}, "start": Object {"character": Number(7), "line": Number(34)}}, "severity": Number(4), "source": String("ts"), "tags": Array [Number(1)]}], "uri": String("file:///home/user/svelteproject/src/Ebbinghaus.svelte")}) })))
2024-04-09T12:58:37.285 helix_term::application [DEBUG] received editor event: Redraw
2024-04-09T12:58:37.285 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.286 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.317 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.318 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.357 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.358 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.403 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.405 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.443 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.445 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.485 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.486 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.524 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.525 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.565 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.566 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.605 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.606 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.646 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.648 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.687 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.689 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.727 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.728 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.767 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.769 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.807 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.808 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.848 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.849 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.889 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.890 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.929 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.930 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.971 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:37.973 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.011 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.012 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.050 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.050 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.092 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.093 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.132 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.134 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.172 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.174 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.211 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.212 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.252 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.253 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.292 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.294 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.333 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.334 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.372 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.373 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.413 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.414 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.453 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.455 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.492 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.493 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.533 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.534 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.574 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.576 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.826 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-09T12:58:38.905 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:38.907 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:39.155 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-09T12:58:39.235 helix_term::commands::typed [DEBUG] quitting...
2024-04-09T12:58:39.236 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:39.238 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:39.457 helix_term::commands::typed [DEBUG] quitting...
2024-04-09T12:58:39.457 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-09T12:58:39.457 helix_term::job [DEBUG] waiting on jobs...
2024-04-09T12:58:39.457 helix_term::job [DEBUG] waiting on jobs...
2024-04-09T12:58:39.457 helix_lsp::file_event [DEBUG] Removing LSP client: 0
2024-04-09T12:58:39.457 helix_lsp::transport [INFO] svelteserver -> {"jsonrpc":"2.0","method":"shutdown","id":1}
2024-04-09T12:58:39.460 helix_lsp::transport [INFO] svelteserver <- {"jsonrpc":"2.0","id":1,"result":null}
2024-04-09T12:58:39.460 helix_lsp::transport [INFO] svelteserver <- null
2024-04-09T12:58:39.460 helix_lsp::transport [INFO] svelteserver -> {"jsonrpc":"2.0","method":"exit"}
2024-04-09T12:58:39.461 mio::poll [TRACE] deregistering event source from poller
2024-04-09T12:58:39.462 mio::poll [TRACE] deregistering event source from poller
2024-04-09T12:58:39.465 mio::poll [TRACE] deregistering event source from poller
2024-04-09T12:58:39.465 mio::poll [TRACE] deregistering event source from poller
2024-04-09T12:58:39.465 mio::poll [TRACE] deregistering event source from poller
2024-04-09T12:58:39.465 mio::poll [TRACE] deregistering event source from poller
","/","@","<",">","*","#","$","+","^","(","[","@","-",":","|"],"completionItem":{"labelDetailsSupport":true}},"documentFormattingProvider":true,"colorProvider":true,"documentSymbolProvider":true,"definitionProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","source.organizeImports","source.sortImports","refactor"],"resolveProvider":true},"executeCommandProvider":{"commands":["function_scope_0","function_scope_1","function_scope_2","function_scope_3","constant_scope_0","constant_scope_1","constant_scope_2","constant_scope_3","extract_to_svelte_component","Infer function return type"]},"renameProvider":{"prepareProvider":true},"referencesProvider":true,"selectionRangeProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",",","<"],"retriggerCharacters":[")"]},"semanticTokensProvider":{"legend":{"tokenModifiers":["declaration","static","async","readonly","defaultLibrary","local"],"tokenTypes":["class","enum","interface","namespace","typeParameter","type","parameter","variable","enumMember","property","function","method","event"]},"range":true,"full":true},"linkedEditingRangeProvider":true,"implementationProvider":true,"typeDefinitionProvider":true,"inlayHintProvider":true,"callHierarchyProvider":true,"foldingRangeProvider":true}}} 2024-04-09T12:58:34.798 helix_lsp::transport [INFO] svelteserver <- {"capabilities":{"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","source.organizeImports","source.sortImports","refactor"],"resolveProvider":true},"colorProvider":true,"completionProvider":{"completionItem":{"labelDetailsSupport":true},"resolveProvider":true,"triggerCharacters":[".","\"","'","
","/","@","<",">","","#","$","+","^","(","[","@","-",":","|"]},"definitionProvider":true,"documentFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["function_scope_0","function_scope_1","function_scope_2","function_scope_3","constant_scope_0","constant_scope_1","constant_scope_2","constant_scope_3","extract_to_svelte_component","Infer function return type"]},"foldingRangeProvider":true,"hoverProvider":true,"implementationProvider":true,"inlayHintProvider":true,"linkedEditingRangeProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":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","event"]},"range":true},"signatureHelpProvider":{"retriggerCharacters":[")"],"triggerCharacters":["(",",","<"]},"textDocumentSync":{"change":2,"openClose":true,"save":{"includeText":false}},"typeDefinitionProvider":true}} 2024-04-09T12:58:34.798 helix_lsp::transport [INFO] svelteserver -> {"jsonrpc":"2.0","method":"initialized","params":{}} 2024-04-09T12:58:34.798 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, Notification(Notification { jsonrpc: None, method: "initialized", params: None }))) 2024-04-09T12:58:34.798 helix_lsp::transport [INFO] svelteserver -> {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"configuration":{"javascript":{"inlayHints":{"enumMemberValues":{"enabled":true},"functionLikeReturnTypes":{"enabled":true},"parameterNames":{"enabled":"all"},"parameterTypes":{"enabled":true},"propertyDeclarationTypes":{"enabled":true},"variableTypes":{"enabled":true}}},"typescript":{"inlayHints":{"enumMemberValues":{"enabled":true},"functionLikeReturnTypes":{"enabled":true},"parameterNames":{"enabled":"all"},"parameterTypes":{"enabled":true},"propertyDeclarationTypes":{"enabled":true},"variableTypes":{"enabled":true}}}}}}} 2024-04-09T12:58:34.798 helix_lsp::transport [INFO] svelteserver -> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"svelte","text":"<script lang=\"ts\">\n\tfunction deg2rad(angDeg:number) : number {\n\t\treturn (Math.PI angDeg) /180.00 ;\n\t\t\t\n\t\t}\n\n\tfunction cosDeg(angDeg : number) : number {\n\t\tconst angRad = deg2rad(angDeg)\n\t\treturn Math.cos(angRad)\n\t}\n\n\tfunction sinDeg(angDeg : number) : number {\n\t\tconst angRad = deg2rad(angDeg)\n\t\treturn Math.sin(angRad)\n\t}\n\n\tconst name = 'Ebbinghaus Illusion'\n\n\tlet width = 1000\n\tconst height = 500\n\n\tconst r = width / 20\n\n\tconst p000X = cosDeg(0)\n\tconst p000Y = sinDeg(0)\n\tconst p060X = cosDeg(60)\n\tconst p060Y = sinDeg(60)\n\tconst p120X = cosDeg(120)\n\tconst p120Y = sinDeg(120)\n\tconst p180X = cosDeg(180)\n\tconst p180Y = sinDeg(180)\n\tconst p240X = cosDeg(240)\n\tconst p240Y = sinDeg(240)\n\tconst p300X = cosDeg(300)\n\tconst p300Y = sinDeg(300)\n\n\tconst c1X = width / 2\n\tconst c1Y = height / 2\n\tconst c1R = r\n\tconst c1Fill = 'blue'\n\n\tconst c2X = width / 2 + 3 r\n\tconst c2Y = height / 2\n\tconst c2R = r\n\tconst c2Fill = 'rgb(250, 0, 0)'\n\n\n\n\n{name}
\n\n\t<svg class=\"bg-slate-100\" {width} {height}>\n\t\tPlatform
Linux
Terminal Emulator
Konsole (KDE)
Installation Method
built from source
Helix Version
helix 24.3 (1e7c01d7)