Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue-language-server doesn't work properly #10348

Closed
alimulap opened this issue Apr 11, 2024 · 0 comments
Closed

vue-language-server doesn't work properly #10348

alimulap opened this issue Apr 11, 2024 · 0 comments
Labels
C-bug Category: This is a bug

Comments

@alimulap
Copy link

Summary

Following steps on #2194 thread, i get volar to run. But it doens't work as expected. I believe the volar is running but for some reason it doesn't work like it should.

I can hover to <script> <template> <style> but not the others. And.. basically nothing works except hovering the tags i mentioned.

Reproduction Steps

I tried this:

  • installed volar via pnpm i -g @vue/language-server
  • add this to language.toml:
[language-server.vue-language-server]
command = "vue-language-server"
args = ["--stdio"]
config.typescript.tsdk = "/home/alimulap/.local/share/pnpm/global/5/node_modules/typescript/lib"

[[language]]
name = "vue"
file-types = ["vue"]
language-servers = ["vue-language-server"]
scope = "text.html.vue"
roots = ["package.json"]
injection-regex = "vue"
auto-format = true

I expected this to happen:

  • vue-language-server working as expected

Instead, this happened:

  • Can only hover to <script> <template> <style>
  • :lsp-restart return Language server exited

Helix log

This is the log since opening helix and trying to hover to some symbols

~/.cache/helix/helix.log
2024-04-11T23:05:29.811 helix_view::clipboard [DEBUG] Using xclip to interact with the system and selection (primary) clipboard
2024-04-11T23:05:29.813 globset [DEBUG] glob converted to regex: Glob { glob: "*.{zip,gz,bz2,zst,lzo,sz,tgz,tbz2,lz,lz4,lzma,lzo,z,Z,xz,7z,rar,cab}", re: "(?-u)^[^/]*\\.(?:cab|rar|7z|xz|Z|z|lzo|lzma|lz4|lz|tbz2|tgz|sz|lzo|zst|bz2|gz|zip)$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([ZeroOrMore, Literal('.'), Alternates([Tokens([Literal('c'), Literal('a'), Literal('b')]), Tokens([Literal('r'), Literal('a'), Literal('r')]), Tokens([Literal('7'), Literal('z')]), Tokens([Literal('x'), Literal('z')]), Tokens([Literal('Z')]), Tokens([Literal('z')]), Tokens([Literal('l'), Literal('z'), Literal('o')]), Tokens([Literal('l'), Literal('z'), Literal('m'), Literal('a')]), Tokens([Literal('l'), Literal('z'), Literal('4')]), Tokens([Literal('l'), Literal('z')]), Tokens([Literal('t'), Literal('b'), Literal('z'), Literal('2')]), Tokens([Literal('t'), Literal('g'), Literal('z')]), Tokens([Literal('s'), Literal('z')]), Tokens([Literal('l'), Literal('z'), Literal('o')]), Tokens([Literal('z'), Literal('s'), Literal('t')]), Tokens([Literal('b'), Literal('z'), Literal('2')]), Tokens([Literal('g'), Literal('z')]), Tokens([Literal('z'), Literal('i'), Literal('p')])])]) }
2024-04-11T23:05:29.813 globset [DEBUG] built glob set; 0 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 1 regexes
2024-04-11T23:05:29.814 helix_term::ui [DEBUG] file_picker init 2.336441ms
2024-04-11T23:05:29.814 globset [DEBUG] built glob set; 0 literals, 1 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes
2024-04-11T23:05:29.815 globset [DEBUG] glob converted to regex: Glob { glob: "**/npm-debug.log*", re: "(?-u)^(?:/?|.*/)npm\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Literal('n'), Literal('p'), Literal('m'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) }
2024-04-11T23:05:29.815 globset [DEBUG] glob converted to regex: Glob { glob: "**/yarn-debug.log*", re: "(?-u)^(?:/?|.*/)yarn\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Literal('y'), Literal('a'), Literal('r'), Literal('n'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) }
2024-04-11T23:05:29.815 globset [DEBUG] glob converted to regex: Glob { glob: "**/yarn-error.log*", re: "(?-u)^(?:/?|.*/)yarn\\-error\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Literal('y'), Literal('a'), Literal('r'), Literal('n'), Literal('-'), Literal('e'), Literal('r'), Literal('r'), Literal('o'), Literal('r'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) }
2024-04-11T23:05:29.815 globset [DEBUG] glob converted to regex: Glob { glob: "**/pnpm-debug.log*", re: "(?-u)^(?:/?|.*/)pnpm\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Literal('p'), Literal('n'), Literal('p'), Literal('m'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) }
2024-04-11T23:05:29.815 globset [DEBUG] glob converted to regex: Glob { glob: "**/lerna-debug.log*", re: "(?-u)^(?:/?|.*/)lerna\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Literal('l'), Literal('e'), Literal('r'), Literal('n'), Literal('a'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) }
2024-04-11T23:05:29.815 globset [DEBUG] glob converted to regex: Glob { glob: ".vscode/*", re: "(?-u)^\\.vscode/[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([Literal('.'), Literal('v'), Literal('s'), Literal('c'), Literal('o'), Literal('d'), Literal('e'), Literal('/'), ZeroOrMore]) }
2024-04-11T23:05:29.815 globset [DEBUG] glob converted to regex: Glob { glob: "**/*.ntvs*", re: "(?-u)^(?:/?|.*/)[^/]*\\.ntvs[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, ZeroOrMore, Literal('.'), Literal('n'), Literal('t'), Literal('v'), Literal('s'), ZeroOrMore]) }
2024-04-11T23:05:29.815 globset [DEBUG] glob converted to regex: Glob { glob: "**/*.sw?", re: "(?-u)^(?:/?|.*/)[^/]*\\.sw[^/]$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, ZeroOrMore, Literal('.'), Literal('s'), Literal('w'), Any]) }
2024-04-11T23:05:29.815 globset [DEBUG] glob converted to regex: Glob { glob: "**/.env*", re: "(?-u)^(?:/?|.*/)\\.env[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Literal('.'), Literal('e'), Literal('n'), Literal('v'), ZeroOrMore]) }
2024-04-11T23:05:29.815 globset [DEBUG] built glob set; 7 literals, 8 basenames, 5 extensions, 0 prefixes, 0 suffixes, 1 required extensions, 9 regexes
2024-04-11T23:05:29.815 ignore::walk [DEBUG] ignoring ./.editorconfig: Ignore(IgnoreMatch(Hidden))
2024-04-11T23:05:29.815 ignore::walk [DEBUG] ignoring ./.eslintrc.cjs: Ignore(IgnoreMatch(Hidden))
2024-04-11T23:05:29.815 ignore::walk [DEBUG] ignoring ./.gitignore: Ignore(IgnoreMatch(Hidden))
2024-04-11T23:05:29.815 ignore::walk [DEBUG] ignoring ./.npmrc: Ignore(IgnoreMatch(Hidden))
2024-04-11T23:05:29.815 ignore::walk [DEBUG] ignoring ./.nvmrc: Ignore(IgnoreMatch(Hidden))
2024-04-11T23:05:29.815 ignore::walk [DEBUG] ignoring ./.prettierignore: Ignore(IgnoreMatch(Hidden))
2024-04-11T23:05:29.815 ignore::walk [DEBUG] ignoring ./.prettierrc.json: Ignore(IgnoreMatch(Hidden))
2024-04-11T23:05:29.815 ignore::walk [DEBUG] ignoring ./.stylelintrc.json: Ignore(IgnoreMatch(Hidden))
2024-04-11T23:05:29.815 ignore::walk [DEBUG] ignoring ./.vscode: Ignore(IgnoreMatch(Hidden))
2024-04-11T23:05:29.817 ignore::walk [DEBUG] ignoring ./node_modules/.bin: Ignore(IgnoreMatch(Hidden))
2024-04-11T23:05:29.817 ignore::walk [DEBUG] ignoring ./node_modules/.modules.yaml: Ignore(IgnoreMatch(Hidden))
2024-04-11T23:05:29.818 ignore::walk [DEBUG] ignoring ./node_modules/.pnpm: Ignore(IgnoreMatch(Hidden))
2024-04-11T23:05:29.818 ignore::walk [DEBUG] ignoring ./node_modules/.vite: Ignore(IgnoreMatch(Hidden))
2024-04-11T23:05:29.865 helix_tui::backend::crossterm [DEBUG] The keyboard enhancement protocol is not supported in this terminal (checked in 2.601122ms)
2024-04-11T23:05:29.865 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:29.906 helix_term::application [DEBUG] received editor event: Redraw
2024-04-11T23:05:29.907 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:29.942 helix_term::application [DEBUG] received editor event: Redraw
2024-04-11T23:05:29.943 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:30.063 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:30.063 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:30.124 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:33.004 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:34.713 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:34.713 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:34.714 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:34.716 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:34.720 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:34.817 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:34.971 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:34.971 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:34.979 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:36.447 helix_vcs [INFO] Error {
    context: "failed to open git repo",
    source: Discover(
        NoGitRepository {
            path: "/mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version/src/pages",
        },
    ),
}
2024-04-11T23:05:36.447 helix_vcs [INFO] failed to open diff base for /mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version/src/pages/experiment.vue
2024-04-11T23:05:36.447 helix_vcs [INFO] Error {
    context: "failed to open git repo",
    source: Discover(
        NoGitRepository {
            path: "/mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version/src/pages",
        },
    ),
}
2024-04-11T23:05:36.447 helix_vcs [INFO] failed to obtain current head name for /mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version/src/pages/experiment.vue
2024-04-11T23:05:36.447 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2024-04-11T23:05:36.449 helix_lsp::client [INFO] Using custom LSP config: {"typescript":{"tsdk":"/home/alimulap/.local/share/pnpm/global/5/node_modules/typescript/lib"}}
2024-04-11T23:05:36.449 helix_lsp::transport [INFO] vue-language-server -> {"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":{"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},"inlayHint":{"refreshSupport":false},"symbol":{"dynamicRegistration":false},"workspaceEdit":{"documentChanges":true,"failureHandling":"abort","normalizesLineEndings":false,"resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"helix","version":"23.10"},"initializationOptions":{"typescript":{"tsdk":"/home/alimulap/.local/share/pnpm/global/5/node_modules/typescript/lib"}},"processId":25248,"rootPath":"/mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version","rootUri":"file:///mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version","workspaceFolders":[{"name":"typescript-version","uri":"file:///mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version"}]},"id":0}
2024-04-11T23:05:36.449 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:36.697 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:37.737 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","id":0,"result":{"capabilities":{"textDocumentSync":2,"workspace":{"fileOperations":{"willRename":{"filters":[{"pattern":{"glob":"**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,json,vue}"}}]}}},"selectionRangeProvider":true,"foldingRangeProvider":true,"linkedEditingRangeProvider":true,"colorProvider":true,"documentSymbolProvider":true,"documentFormattingProvider":true,"documentRangeFormattingProvider":true,"referencesProvider":true,"implementationProvider":true,"definitionProvider":true,"typeDefinitionProvider":true,"callHierarchyProvider":true,"hoverProvider":true,"renameProvider":{"prepareProvider":true},"signatureHelpProvider":{"triggerCharacters":[],"retriggerCharacters":[]},"completionProvider":{"triggerCharacters":["*","/","-",":","\"",".","<","=","@",">","+","^","(",")","#","[","]","$","{","}"],"resolveProvider":true},"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":true},"codeLensProvider":{"resolveProvider":true},"codeActionProvider":{"codeActionKinds":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.fixAll","source.organizeImports"],"resolveProvider":true},"inlayHintProvider":{"resolveProvider":true},"workspaceSymbolProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":";","moreTriggerCharacter":["}","\n"]}}}}
2024-04-11T23:05:37.737 helix_lsp::transport [INFO] vue-language-server <- {"capabilities":{"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.fixAll","source.organizeImports"],"resolveProvider":true},"codeLensProvider":{"resolveProvider":true},"colorProvider":true,"completionProvider":{"resolveProvider":true,"triggerCharacters":["*","/","-",":","\"",".","<","=","@",">","+","^","(",")","#","[","]","$","{","}"]},"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":true},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":";","moreTriggerCharacter":["}","\n"]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"foldingRangeProvider":true,"hoverProvider":true,"implementationProvider":true,"inlayHintProvider":{"resolveProvider":true},"linkedEditingRangeProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"signatureHelpProvider":{"retriggerCharacters":[],"triggerCharacters":[]},"textDocumentSync":2,"typeDefinitionProvider":true,"workspace":{"fileOperations":{"willRename":{"filters":[{"pattern":{"glob":"**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,json,vue}"}}]}}},"workspaceSymbolProvider":true}}
2024-04-11T23:05:37.737 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","method":"initialized","params":{}}
2024-04-11T23:05:37.738 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, Notification(Notification { jsonrpc: None, method: "initialized", params: None })))
2024-04-11T23:05:37.738 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"typescript":{"tsdk":"/home/alimulap/.local/share/pnpm/global/5/node_modules/typescript/lib"}}}}
2024-04-11T23:05:37.738 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"vue","text":"<script lang=\"ts\" setup>\n  import DefaultLayoutWithVerticalNav from '../layouts/components/DefaultLayoutWithVerticalNav.vue'\n</script>\n\n<template>\n  <DefaultLayoutWithVerticalNav>\n    <div>\n      <VCard>\n        <h1 class=\"ma-4 mt-7\">\n          <VIcon icon=\"ri-fire-fill\" size=\"medium\" />\n          TEST \n        </h1>\n        <p class=\"ma-5\">Lorem ipsum dolor sit amet, officia excepteur ex fugiat reprehenderit enim labore culpa sint ad nisi Lorem pariatur mollit ex esse exercitation amet. Nisi anim cupidatat excepteur officia. Reprehenderit nostrud nostrud ipsum Lorem est aliquip amet voluptate voluptate dolor minim nulla est proident. Nostrud officia pariatur ut officia. Sit irure elit esse ea nulla sunt ex occaecat reprehenderit commodo officia dolor Lorem duis laboris cupidatat officia voluptate. Culpa proident adipisicing id nulla nisi laboris ex in Lorem sunt duis officia eiusmod. Aliqua reprehenderit commodo ex non excepteur duis sunt velit enim. Voluptate laboris sint cupidatat ullamco ut ea consectetur et est culpa et culpa duis.</p>\n      </VCard>\n    </div>\n  </DefaultLayoutWithVerticalNav>\n</template>\n\n<style lang=\"scss\">\n// As we are using `layouts` plugin we need its styles to be imported\n@use \"@layouts/styles/default-layout\";\n</style>\n","uri":"file:///mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version/src/pages/experiment.vue","version":0}}}
2024-04-11T23:05:37.742 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","id":0,"method":"client/registerCapability","params":{"registrations":[{"id":"46799c86-7ff7-4d7e-b397-d4d3172949bd","method":"workspace/didChangeWorkspaceFolders","registerOptions":{}}]}}
2024-04-11T23:05:37.742 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, MethodCall(MethodCall { jsonrpc: Some(V2), method: "client/registerCapability", params: Map({"registrations": Array [Object {"id": String("46799c86-7ff7-4d7e-b397-d4d3172949bd"), "method": String("workspace/didChangeWorkspaceFolders"), "registerOptions": Object {}}]}), id: Num(0) })))
2024-04-11T23:05:37.742 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-04-11T23:05:37.742 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","result":null,"id":0}
2024-04-11T23:05:37.743 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","id":1,"method":"client/registerCapability","params":{"registrations":[{"id":"fab346bb-44a3-470a-a68c-37fec6c66216","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,json,vue}"}]}}]}}
2024-04-11T23:05:37.743 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, MethodCall(MethodCall { jsonrpc: Some(V2), method: "client/registerCapability", params: Map({"registrations": Array [Object {"id": String("fab346bb-44a3-470a-a68c-37fec6c66216"), "method": String("workspace/didChangeWatchedFiles"), "registerOptions": Object {"watchers": Array [Object {"globPattern": String("**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,json,vue}")}]}}]}), id: Num(1) })))
2024-04-11T23:05:37.743 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","result":null,"id":1}
2024-04-11T23:05:37.743 helix_lsp::file_event [DEBUG] Registering didChangeWatchedFiles for client '0' with id 'fab346bb-44a3-470a-a68c-37fec6c66216'
2024-04-11T23:05:37.743 globset [DEBUG] glob converted to regex: Glob { glob: "**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,json,vue}", re: "(?-u)^(?:/?|.*/).*\\.(?:vue|json|tsx|jsx|mts|cts|ts|mjs|cjs|js)$", opts: GlobOptions { case_insensitive: false, literal_separator: false, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, ZeroOrMore, Literal('.'), Alternates([Tokens([Literal('v'), Literal('u'), Literal('e')]), Tokens([Literal('j'), Literal('s'), Literal('o'), Literal('n')]), Tokens([Literal('t'), Literal('s'), Literal('x')]), Tokens([Literal('j'), Literal('s'), Literal('x')]), Tokens([Literal('m'), Literal('t'), Literal('s')]), Tokens([Literal('c'), Literal('t'), Literal('s')]), Tokens([Literal('t'), Literal('s')]), Tokens([Literal('m'), Literal('j'), Literal('s')]), Tokens([Literal('c'), Literal('j'), Literal('s')]), Tokens([Literal('j'), Literal('s')])])]) }
2024-04-11T23:05:37.743 globset [DEBUG] built glob set; 0 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 1 regexes
2024-04-11T23:05:37.744 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","id":2,"method":"workspace/configuration","params":{"items":[{"section":"http"}]}}
2024-04-11T23:05:37.744 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"section": String("http")}]}), id: Num(2) })))
2024-04-11T23:05:37.744 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","result":[null],"id":2}
2024-04-11T23:05:37.746 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","id":3,"method":"workspace/configuration","params":{"items":[{"section":"http"}]}}
2024-04-11T23:05:37.746 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"section": String("http")}]}), id: Num(3) })))
2024-04-11T23:05:37.746 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","result":[null],"id":3}
2024-04-11T23:05:37.772 helix_term::application [DEBUG] received editor event: Redraw
2024-04-11T23:05:37.773 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:38.111 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","id":4,"method":"workspace/configuration","params":{"items":[{"section":"css.customData"}]}}
2024-04-11T23:05:38.111 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"section": String("css.customData")}]}), id: Num(4) })))
2024-04-11T23:05:38.111 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","result":[null],"id":4}
2024-04-11T23:05:38.119 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","id":5,"method":"workspace/configuration","params":{"items":[{"section":"scss"}]}}
2024-04-11T23:05:38.119 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"section": String("scss")}]}), id: Num(5) })))
2024-04-11T23:05:38.119 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","result":[null],"id":5}
2024-04-11T23:05:38.130 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version/src/pages/experiment.vue","diagnostics":[],"version":0}}
2024-04-11T23:05:38.131 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version/src/pages/experiment.vue","diagnostics":[],"version":0}}
2024-04-11T23:05:38.131 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, Notification(Notification { jsonrpc: Some(V2), method: "textDocument/publishDiagnostics", params: Map({"diagnostics": Array [], "uri": String("file:///mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version/src/pages/experiment.vue"), "version": Number(0)}) })))
2024-04-11T23:05:38.131 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, Notification(Notification { jsonrpc: Some(V2), method: "textDocument/publishDiagnostics", params: Map({"diagnostics": Array [], "uri": String("file:///mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version/src/pages/experiment.vue"), "version": Number(0)}) })))
2024-04-11T23:05:38.145 helix_term::application [DEBUG] received editor event: Redraw
2024-04-11T23:05:38.145 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:39.770 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:48.082 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:51.033 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:51.655 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:52.001 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:52.542 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:52.792 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:53.083 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:53.315 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:53.564 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:53.878 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:54.128 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:54.207 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:54.378 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:54.627 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:55.018 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:55.081 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:55.082 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":2,"line":4},"textDocument":{"uri":"file:///mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version/src/pages/experiment.vue"}},"id":1}
2024-04-11T23:05:55.099 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","id":6,"method":"workspace/configuration","params":{"items":[{"section":"html.hover"}]}}
2024-04-11T23:05:55.099 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, MethodCall(MethodCall { jsonrpc: Some(V2), method: "workspace/configuration", params: Map({"items": Array [Object {"section": String("html.hover")}]}), id: Num(6) })))
2024-04-11T23:05:55.100 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","result":[null],"id":6}
2024-04-11T23:05:55.105 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","id":1,"result":{"contents":{"kind":"markdown","value":"\n- Each `*.vue` file can contain at most one top-level `<template>` block.\n\n- Contents will be extracted and passed on to `@vue/compiler-dom`, pre-compiled into JavaScript render functions, and attached to the exported component as its `render` option.\n\n\n[en](https://vuejs.org/api/sfc-spec.html#template) | [zh-cn](https://cn.vuejs.org/api/sfc-spec.html#template) | [ja](https://ja.vuejs.org/api/sfc-spec.html#template) | [ua](https://ua.vuejs.org/api/sfc-spec.html#template) | [fr](https://fr.vuejs.org/api/sfc-spec.html#template) | [ko](https://ko.vuejs.org/api/sfc-spec.html#template) | [pt](https://pt.vuejs.org/api/sfc-spec.html#template) | [bn](https://bn.vuejs.org/api/sfc-spec.html#template) | [it](https://it.vuejs.org/api/sfc-spec.html#template)"},"range":{"start":{"line":4,"character":1},"end":{"line":4,"character":9}}}}
2024-04-11T23:05:55.105 helix_lsp::transport [INFO] vue-language-server <- {"contents":{"kind":"markdown","value":"\n- Each `*.vue` file can contain at most one top-level `<template>` block.\n\n- Contents will be extracted and passed on to `@vue/compiler-dom`, pre-compiled into JavaScript render functions, and attached to the exported component as its `render` option.\n\n\n[en](https://vuejs.org/api/sfc-spec.html#template) | [zh-cn](https://cn.vuejs.org/api/sfc-spec.html#template) | [ja](https://ja.vuejs.org/api/sfc-spec.html#template) | [ua](https://ua.vuejs.org/api/sfc-spec.html#template) | [fr](https://fr.vuejs.org/api/sfc-spec.html#template) | [ko](https://ko.vuejs.org/api/sfc-spec.html#template) | [pt](https://pt.vuejs.org/api/sfc-spec.html#template) | [bn](https://bn.vuejs.org/api/sfc-spec.html#template) | [it](https://it.vuejs.org/api/sfc-spec.html#template)"},"range":{"end":{"character":9,"line":4},"start":{"character":1,"line":4}}}
2024-04-11T23:05:55.106 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:55.134 helix_term::application [DEBUG] received editor event: Redraw
2024-04-11T23:05:55.135 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:55.332 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:55.813 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:56.063 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:56.091 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:56.256 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:56.506 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:56.562 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:56.632 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:56.633 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":3,"line":2},"textDocument":{"uri":"file:///mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version/src/pages/experiment.vue"}},"id":2}
2024-04-11T23:05:56.641 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","id":2,"result":{"contents":{"kind":"markdown","value":"\n- Each `*.vue` file can contain at most one `<script>` block (excluding [`<script setup>`](https://vuejs.org/api/sfc-script-setup.html)).\n\n- The script is executed as an ES Module.\n\n- The **default export** should be a Vue component options object, either as a plain object or as the return value of [defineComponent](https://vuejs.org/api/general.html#definecomponent).\n\n\n[en](https://vuejs.org/api/sfc-spec.html#script) | [zh-cn](https://cn.vuejs.org/api/sfc-spec.html#script) | [ja](https://ja.vuejs.org/api/sfc-spec.html#script) | [ua](https://ua.vuejs.org/api/sfc-spec.html#script) | [fr](https://fr.vuejs.org/api/sfc-spec.html#script) | [ko](https://ko.vuejs.org/api/sfc-spec.html#script) | [pt](https://pt.vuejs.org/api/sfc-spec.html#script) | [bn](https://bn.vuejs.org/api/sfc-spec.html#script) | [it](https://it.vuejs.org/api/sfc-spec.html#script)"},"range":{"start":{"line":2,"character":2},"end":{"line":2,"character":8}}}}
2024-04-11T23:05:56.641 helix_lsp::transport [INFO] vue-language-server <- {"contents":{"kind":"markdown","value":"\n- Each `*.vue` file can contain at most one `<script>` block (excluding [`<script setup>`](https://vuejs.org/api/sfc-script-setup.html)).\n\n- The script is executed as an ES Module.\n\n- The **default export** should be a Vue component options object, either as a plain object or as the return value of [defineComponent](https://vuejs.org/api/general.html#definecomponent).\n\n\n[en](https://vuejs.org/api/sfc-spec.html#script) | [zh-cn](https://cn.vuejs.org/api/sfc-spec.html#script) | [ja](https://ja.vuejs.org/api/sfc-spec.html#script) | [ua](https://ua.vuejs.org/api/sfc-spec.html#script) | [fr](https://fr.vuejs.org/api/sfc-spec.html#script) | [ko](https://ko.vuejs.org/api/sfc-spec.html#script) | [pt](https://pt.vuejs.org/api/sfc-spec.html#script) | [bn](https://bn.vuejs.org/api/sfc-spec.html#script) | [it](https://it.vuejs.org/api/sfc-spec.html#script)"},"range":{"end":{"character":8,"line":2},"start":{"character":2,"line":2}}}
2024-04-11T23:05:56.642 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:56.883 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:57.399 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:57.597 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:57.847 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:58.088 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:58.255 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:58.257 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":4,"line":1},"textDocument":{"uri":"file:///mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version/src/pages/experiment.vue"}},"id":3}
2024-04-11T23:05:58.263 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","id":3,"result":null}
2024-04-11T23:05:58.263 helix_lsp::transport [INFO] vue-language-server <- null
2024-04-11T23:05:58.264 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:58.504 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:58.550 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:58.727 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:58.894 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:59.040 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:59.133 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:59.383 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:05:59.587 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:59.678 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:59.679 helix_lsp::transport [INFO] vue-language-server -> {"jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":9,"line":1},"textDocument":{"uri":"file:///mnt/hdp1/deep/webdev/materio-vuetify-vuejs-admin-template-free/typescript-version/src/pages/experiment.vue"}},"id":4}
2024-04-11T23:05:59.686 helix_lsp::transport [INFO] vue-language-server <- {"jsonrpc":"2.0","id":4,"result":null}
2024-04-11T23:05:59.686 helix_lsp::transport [INFO] vue-language-server <- null
2024-04-11T23:05:59.687 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:05:59.928 helix_term::application [DEBUG] received editor event: IdleTimer
2024-04-11T23:06:04.899 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:06:06.024 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:06:06.033 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:06:06.041 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0
2024-04-11T23:06:06.055 helix_view::document [DEBUG] id 2 modified - last saved: 0, current: 0

Platform

Arch Linux

Terminal Emulator

alacritty 0.13.2 (bb8ea18e)

Installation Method

pacman

Helix Version

helix 23.10

@alimulap alimulap added the C-bug Category: This is a bug label Apr 11, 2024
@helix-editor helix-editor locked and limited conversation to collaborators Apr 11, 2024
@the-mikedavis the-mikedavis converted this issue into discussion #10349 Apr 11, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

1 participant