sublimelsp / LSP-volar

Vue support for Sublime's LSP plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LSP-Volar shows no errors after update

shelimov opened this issue · comments

Hi. Suddenly today LSP-Volar crashed when I first tried opening Sublime Text, and after restart, Volar no longer reports any errors in my code. Goto and hover hints work, though.

Whenever I hover not defined variables, it just shows "any" without errors.
image

I disabled all other LSP-servers, but it did not help.

Sublime logs
startup, version: 4143 osx arm64 channel: stable
executable: /Applications/Sublime Text.app/Contents/MacOS/sublime_text
application: /Applications/Sublime Text.app
working dir: /
packages path: /Users/shelimov/Library/Application Support/Sublime Text/Packages
state path: /Users/shelimov/Library/Application Support/Sublime Text/Local
zip path: /Applications/Sublime Text.app/Contents/MacOS/Packages
zip path: /Users/shelimov/Library/Application Support/Sublime Text/Installed Packages
ignored_packages: ["ActualVim", "AutoFileName", "GitHubinator", "LSP-eslint", "LSP-stylelint", "Tabnine", "Terminus", "Vintage"]
pre session restore time: 0.272331
OpenGL Context Information:
GL API Version: 4.1 Metal - 83.1
GLSL Version: 4.10
Vendor: Apple
Renderer: Apple M1 Pro
first paint time: 0.32803
startup time: 0.361661
environment variables loaded using: /opt/homebrew/bin/fish -l
git: located Sublime Merge installed at /Applications/Sublime Merge.app
git: using configuration from system git install
git: tracking working dir /Users/shelimov/frontend-monorepo
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.html_print
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading python 3.3 plugin 0_package_control_loader.00-package_control
reloading python 3.3 plugin 0_package_control_loader.01-pygments
reloading python 3.3 plugin 0_package_control_loader.01-sublime_lib
reloading python 3.3 plugin 0_package_control_loader.10-debugtools
reloading python 3.3 plugin 0_package_control_loader.10-lsp_utils
reloading python 3.3 plugin 0_package_control_loader.10-wcwidth
reloading python 3.3 plugin 0_package_control_loader.30-channelmanager
reloading python 3.3 plugin 0_package_control_loader.40-ptyprocess
reloading python 3.3 plugin 0_package_control_loader.50-backrefs
reloading python 3.3 plugin 0_package_control_loader.50-bracex
reloading python 3.3 plugin 0_package_control_loader.50-markupsafe
reloading python 3.3 plugin 0_package_control_loader.50-pathlib
reloading python 3.3 plugin 0_package_control_loader.50-pymdownx
reloading python 3.3 plugin 0_package_control_loader.50-pyte
reloading python 3.3 plugin 0_package_control_loader.50-python-markdown
reloading python 3.3 plugin 0_package_control_loader.50-pyyaml
reloading python 3.3 plugin 0_package_control_loader.50-requests
reloading python 3.3 plugin 0_package_control_loader.51-python-jinja2
reloading python 3.3 plugin 0_package_control_loader.55-mdpopups
reloading python 3.3 plugin 0_package_control_loader.55-wcmatch
reloading plugin Default.keymap
reloading python 3.3 plugin ayu.activation
reloading plugin Default.kill_ring
reloading python 3.3 plugin ayu.Icons
reloading plugin Default.mark
reloading python 3.3 plugin BracketHighlighter.bh_core
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin ShellScript.ShellScript
reloading plugin A File Icon.plugin
reloading plugin Pretty JSON.PrettyJson
reloading plugin Pretty JSON.PrettyJsonListeners
reloading plugin QuickSettings.quick_settings
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/Lib/python38/sublime_plugin.py", line 325, in reload_plugin
  m = importlib.import_module(modulename)
File "./python3.8/importlib/__init__.py", line 127, in import_module
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 808, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/Users/shelimov/Library/Application Support/Sublime Text/Installed Packages/QuickSettings.sublime-package/quick_settings.py", line 19, in <module>
ModuleNotFoundError: No module named 'debug_tools'
reloading plugin Sass.sass_completions
reloading python 3.3 plugin BracketHighlighter.bh_logging
reloading python 3.3 plugin BracketHighlighter.bh_plugin
reloading python 3.3 plugin BracketHighlighter.bh_popup
reloading python 3.3 plugin BracketHighlighter.bh_regions
reloading python 3.3 plugin BracketHighlighter.bh_remove
reloading python 3.3 plugin BracketHighlighter.bh_rules
reloading python 3.3 plugin BracketHighlighter.bh_search
reloading python 3.3 plugin BracketHighlighter.bh_swapping
reloading python 3.3 plugin BracketHighlighter.bh_wrapping
reloading python 3.3 plugin BracketHighlighter.support
reloading python 3.3 plugin Color Highlight.ColorHighlight
reloading python 3.3 plugin Color Highlight.colorizer
reloading python 3.3 plugin Color Highlight.colors
reloading python 3.3 plugin Color Highlight.settings
reloading python 3.3 plugin FileDiffs.file_diffs
reloading python 3.3 plugin Git blame.boot
reloading python 3.3 plugin HyperClick.hyper_click_annotator
reloading python 3.3 plugin HyperClick.hyper_click_command
reloading python 3.3 plugin LSP-tailwindcss.plugin
reloading python 3.3 plugin LSP-typescript.commands
reloading python 3.3 plugin LSP-typescript.plugin
reloading python 3.3 plugin LSP-typescript.plugin_types
reloading python 3.3 plugin LSP-volar.plugin
reloading python 3.3 plugin LSP-volar.plugin_types
reloading python 3.3 plugin LSP.boot
reloading python 3.3 plugin Maybs Quit.maybs-quit
reloading python 3.3 plugin Package Control.1_reloader
reloading python 3.3 plugin Package Control.2_bootstrap
reloading python 3.3 plugin Package Control.Package Control
reloading python 3.3 plugin PackageResourceViewer.package_resource_viewer
reloading python 3.3 plugin PackageResourceViewer.package_resources
reloading python 3.3 plugin Sync Settings.1_reloader
reloading python 3.3 plugin Sync Settings.SyncSettings
reloading python 3.3 plugin debugtools.setup
reloading python 3.3 plugin HTML-CSS-JS Prettify.HTMLPrettify
reloading python 3.3 plugin JsPrettier.__init__
reloading python 3.3 plugin JsPrettier.JsPrettier
plugins loaded
Traceback (most recent call last):
File "/Users/shelimov/Library/Application Support/Sublime Text/Installed Packages/Color Highlight.sublime-package/ColorHighlight.py", line 471, in run_
File "/Users/shelimov/Library/Application Support/Sublime Text/Installed Packages/Color Highlight.sublime-package/ColorHighlight.py", line 501, in reset
File "/Users/shelimov/Library/Application Support/Sublime Text/Installed Packages/Color Highlight.sublime-package/colorizer.py", line 259, in setup_color_scheme
File "/Users/shelimov/Library/Application Support/Sublime Text/Installed Packages/Color Highlight.sublime-package/colorizer.py", line 102, in content
File "/Users/shelimov/Library/Application Support/Sublime Text/Installed Packages/Color Highlight.sublime-package/colorizer.py", line 62, in read_package
File "/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime.py", line 436, in load_resource
  raise IOError('resource "%s" not found' % name)
OSError: resource "Packages/Color Scheme - Default/ayu-mirage.sublime-color-scheme" not found
Package Control: Skipping automatic upgrade, last run at 2023-05-17 17:55:43, next run at 2023-05-17 18:55:43 or after

LSP Logs
:: [18:38:23.710] --> LSP-volar initialize (1): {'initializationOptions': {'configFilePath': './volar.config.js', 'fullCompletionList': False, 'typescript': {'tsdk': '/Users/shelimov/frontend-monorepo/packages/private-app/node_modules/typescript/lib'}, 'reverseConfigFilePriority': False, 'diagnosticModel': 2, 'additionalExtensions': [], 'json': {'customBlockSchemaUrls': {}}, 'ignoreTriggerCharacters': [], 'maxFileSize': 20971520}, 'processId': 74643, 'clientInfo': {'version': '1.23.0', 'name': 'Sublime Text LSP'}, 'capabilities': {'textDocument': {'documentLink': {'dynamicRegistration': True, 'tooltipSupport': True}, 'semanticTokens': {'dynamicRegistration': True, 'multilineTokenSupport': True, 'formats': ['relative'], 'requests': {'full': {'delta': True}, 'range': True}, 'tokenTypes': ['event', 'typeParameter', 'enum', 'namespace', 'method', 'comment', 'parameter', 'variable', 'type', 'modifier', 'string', 'operator', 'regexp', 'decorator', 'interface', 'property', 'macro', 'class', 'struct', 'keyword', 'enumMember', 'number', 'function'], 'augmentsSyntaxTokens': True, 'overlappingTokenSupport': False, 'tokenModifiers': ['readonly', 'static', 'async', 'documentation', 'abstract', 'declaration', 'definition', 'modification', 'deprecated', 'defaultLibrary']}, 'codeLens': {'dynamicRegistration': True}, 'signatureHelp': {'dynamicRegistration': True, 'contextSupport': True, 'signatureInformation': {'activeParameterSupport': True, 'documentationFormat': ['markdown', 'plaintext'], 'parameterInformation': {'labelOffsetSupport': True}}}, 'declaration': {'dynamicRegistration': True, 'linkSupport': True}, 'references': {'dynamicRegistration': True}, 'colorProvider': {'dynamicRegistration': True}, 'publishDiagnostics': {'relatedInformation': True, 'versionSupport': True, 'tagSupport': {'valueSet': [1, 2]}, 'dataSupport': True, 'codeDescriptionSupport': True}, 'formatting': {'dynamicRegistration': True}, 'documentSymbol': {'dynamicRegistration': True, 'symbolKind': {'valueSet': [24, 4, 1, 11, 7, 16, 6, 9, 14, 13, 21, 8, 15, 25, 19, 18, 26, 20, 2, 17, 5, 12, 3, 23, 22, 10]}, 'tagSupport': {'valueSet': [1]}, 'hierarchicalDocumentSymbolSupport': True}, 'completion': {'dynamicRegistration': True, 'completionItemKind': {'valueSet': [12, 23, 3, 10, 2, 20, 15, 6, 5, 17, 21, 11, 4, 18, 25, 9, 7, 19, 22, 14, 1, 16, 8, 13, 24]}, 'completionList': {'itemDefaults': ['editRange', 'insertTextFormat', 'data']}, 'insertTextMode': 2, 'completionItem': {'snippetSupport': True, 'documentationFormat': ['markdown', 'plaintext'], 'tagSupport': {'valueSet': [1]}, 'insertTextModeSupport': {'valueSet': [2]}, 'insertReplaceSupport': True, 'resolveSupport': {'properties': ['detail', 'documentation', 'additionalTextEdits']}, 'labelDetailsSupport': True, 'deprecatedSupport': True}}, 'codeAction': {'dynamicRegistration': True, 'isPreferredSupport': True, 'codeActionLiteralSupport': {'codeActionKind': {'valueSet': ['quickfix', 'refactor', 'refactor.extract', 'refactor.inline', 'refactor.rewrite', 'source.fixAll', 'source.organizeImports']}}, 'dataSupport': True, 'resolveSupport': {'properties': ['edit']}}, 'synchronization': {'dynamicRegistration': True, 'willSave': True, 'didSave': True, 'willSaveWaitUntil': True}, 'typeDefinition': {'dynamicRegistration': True, 'linkSupport': True}, 'documentHighlight': {'dynamicRegistration': True}, 'hover': {'dynamicRegistration': True, 'contentFormat': ['markdown', 'plaintext']}, 'implementation': {'dynamicRegistration': True, 'linkSupport': True}, 'rangeFormatting': {'dynamicRegistration': True}, 'selectionRange': {'dynamicRegistration': True}, 'typeHierarchy': {'dynamicRegistration': True}, 'callHierarchy': {'dynamicRegistration': True}, 'inlayHint': {'dynamicRegistration': True, 'resolveSupport': {'properties': ['textEdits', 'label.command']}}, 'definition': {'dynamicRegistration': True, 'linkSupport': True}, 'rename': {'dynamicRegistration': True, 'prepareSupportDefaultBehavior': 1, 'prepareSupport': True}}, 'general': {'regularExpressions': {'engine': 'ECMAScript'}, 'markdown': {'version': '3.2.2', 'parser': 'Python-Markdown'}}, 'workspace': {'configuration': True, 'inlayHint': {'refreshSupport': True}, 'workspaceEdit': {'failureHandling': 'abort', 'documentChanges': True}, 'applyEdit': True, 'workspaceFolders': True, 'codeLens': {'refreshSupport': True}, 'executeCommand': {}, 'didChangeConfiguration': {'dynamicRegistration': True}, 'semanticTokens': {'refreshSupport': True}, 'symbol': {'dynamicRegistration': True, 'symbolKind': {'valueSet': [24, 4, 1, 11, 7, 16, 6, 9, 14, 13, 21, 8, 15, 25, 19, 18, 26, 20, 2, 17, 5, 12, 3, 23, 22, 10]}, 'tagSupport': {'valueSet': [1]}}}, 'window': {'workDoneProgress': True, 'showMessage': {'messageActionItem': {'additionalPropertiesSupport': True}}, 'showDocument': {'support': True}}}, 'workspaceFolders': [{'name': 'private-app', 'uri': 'file:///Users/shelimov/frontend-monorepo/packages/private-app'}], 'rootPath': '/Users/shelimov/frontend-monorepo/packages/private-app', 'rootUri': 'file:///Users/shelimov/frontend-monorepo/packages/private-app'}
:: [18:38:24.069] <<< LSP-volar (1) (duration: 358ms): {'capabilities': {'renameProvider': {'prepareProvider': True}, 'foldingRangeProvider': True, 'diagnosticProvider': {'interFileDependencies': True, 'workspaceDiagnostics': False}, 'workspace': {'fileOperations': {'willRename': {'filters': [{'pattern': {'glob': '**/*.{js,cjs,mjs,ts,cts,mts,jsx,tsx,json,vue}'}}]}}}, 'completionProvider': {'triggerCharacters': ['.', '"', "'", '`', '/', '<', '@', '#', ' ', '*', ':', '=', '-', '>', '+', '^', '(', ')', '[', ']', '$', '{', '}'], 'resolveProvider': True}, 'definitionProvider': True, 'inlayHintProvider': {'resolveProvider': True}, 'colorProvider': True, 'signatureHelpProvider': {'retriggerCharacters': [')'], 'triggerCharacters': ['(', ',', '<']}, 'documentSymbolProvider': True, 'selectionRangeProvider': True, 'workspaceSymbolProvider': True, 'typeDefinitionProvider': True, 'documentOnTypeFormattingProvider': {'firstTriggerCharacter': ';', 'moreTriggerCharacter': ['}', '\n']}, 'documentRangeFormattingProvider': True, 'codeActionProvider': {'codeActionKinds': ['', 'quickfix', 'refactor', 'refactor.extract', 'refactor.inline', 'refactor.rewrite', 'source', 'source.fixAll', 'source.organizeImports'], 'resolveProvider': True}, 'textDocumentSync': {'change': {'syncKind': 2}, 'didClose': {}, 'didOpen': {}, 'save': {}}, 'documentFormattingProvider': True, 'semanticTokensProvider': {'full': False, 'legend': {'tokenTypes': ['namespace', 'class', 'enum', 'interface', 'struct', 'typeParameter', 'type', 'parameter', 'variable', 'property', 'enumMember', 'decorator', 'event', 'function', 'method', 'macro', 'label', 'comment', 'string', 'keyword', 'number', 'regexp', 'operator'], 'tokenModifiers': ['declaration', 'definition', 'readonly', 'static', 'deprecated', 'abstract', 'async', 'modification', 'documentation', 'defaultLibrary']}, 'range': True}, 'codeLensProvider': {'resolveProvider': True}, 'documentHighlightProvider': True, 'linkedEditingRangeProvider': True, 'callHierarchyProvider': True, 'hoverProvider': True, 'implementationProvider': True, 'referencesProvider': True, 'documentLinkProvider': {'resolveProvider': True}}}
:: [18:38:24.069]  -> LSP-volar initialized: {}
:: [18:38:24.070]  -> LSP-volar workspace/didChangeConfiguration: {'settings': {'less': {'format': {'enable': True, 'spaceAroundSelectorSeparator': False, 'newlineBetweenSelectors': True, 'newlineBetweenRules': True, 'maxPreserveNewLines': None, 'preserveNewLines': True, 'braceStyle': 'collapse'}, 'hover': {'references': True, 'documentation': True}, 'completion': {'completePropertyWithSemicolon': True, 'triggerPropertyValueCompletion': True}}, 'volar': {'format': {'initialIndent': {'less': False, 'jade': False, 'javascript': False, 'jsonc': False, 'javascriptreact': False, 'css': False, 'json': False, 'json5': False, 'scss': False, 'typescript': False, 'sass': False, 'typescriptreact': False, 'html': True}}}, 'emmet': {'variables': {}, 'showAbbreviationSuggestions': True, 'showSuggestionsAsSnippets': False, 'syntaxProfiles': {}, 'excludeLanguages': ['markdown'], 'showExpandedAbbreviation': 'always', 'preferences': {}}, 'scss': {'format': {'enable': True, 'spaceAroundSelectorSeparator': False, 'newlineBetweenSelectors': True, 'newlineBetweenRules': True, 'maxPreserveNewLines': None, 'preserveNewLines': True, 'braceStyle': 'collapse'}, 'hover': {'references': True, 'documentation': True}, 'completion': {'completePropertyWithSemicolon': True, 'triggerPropertyValueCompletion': True}}, 'javascript': {'suggest': {'includeCompletionsForImportStatements': True, 'includeCompletionsWithSnippetText': True, 'includeAutomaticOptionalChainCompletions': True, 'autoImports': False, 'completeFunctionCalls': False, 'jsdoc': {'generateReturns': True}, 'classMemberSnippets': {'enabled': True}, 'objectLiteralMethodSnippets': {'enabled': True}}, 'inlayHints': {'enumMemberValues': {'enabled': False}, 'functionLikeReturnTypes': {'enabled': False}, 'parameterNames': {'suppressWhenArgumentMatchesName': True, 'enabled': 'none'}, 'variableTypes': {'suppressWhenTypeMatchesName': {'enabled': True}, 'enabled': False}, 'parameterTypes': {'enabled': False}, 'propertyDeclarationTypes': {'enabled': False}}, 'preferences': {'importModuleSpecifierEnding': 'auto', 'jsxAttributeCompletionStyle': 'auto', 'importModuleSpecifier': 'shortest', 'autoImportFileExcludePatterns': [], 'quoteStyle': 'auto'}}, 'vue': {'features': {'complete': {'normalizeComponentImportName': True}}, 'inlayHints': {'optionsWrapper': True, 'missingProps': False, 'inlineHandlerLeading': False}, 'complete': {'casing': {'props': 'autoKebab', 'tags': 'autoPascal'}}}, 'typescript': {'suggest': {'includeCompletionsForImportStatements': True, 'includeCompletionsWithSnippetText': True, 'includeAutomaticOptionalChainCompletions': True, 'autoImports': False, 'completeFunctionCalls': False, 'jsdoc': {'generateReturns': True}, 'classMemberSnippets': {'enabled': True}, 'objectLiteralMethodSnippets': {'enabled': True}}, 'inlayHints': {'enumMemberValues': {'enabled': False}, 'functionLikeReturnTypes': {'enabled': False}, 'parameterNames': {'suppressWhenArgumentMatchesName': True, 'enabled': 'none'}, 'variableTypes': {'suppressWhenTypeMatchesName': {'enabled': True}, 'enabled': False}, 'parameterTypes': {'enabled': False}, 'propertyDeclarationTypes': {'enabled': False}}, 'preferences': {'importModuleSpecifierEnding': 'auto', 'jsxAttributeCompletionStyle': 'auto', 'importModuleSpecifier': 'shortest', 'autoImportFileExcludePatterns': [], 'quoteStyle': 'auto'}}, 'html': {'format': {'enable': True, 'wrapAttributes': 'auto', 'wrapLineLength': 120, 'unformattedContentDelimiter': '', 'extraLiners': 'head, body, /html', 'unformatted': 'wbr', 'maxPreserveNewLines': None, 'contentUnformatted': 'pre,code,textarea', 'preserveNewLines': True, 'indentHandlebars': False, 'templating': False, 'indentInnerHtml': False, 'wrapAttributesIndentSize': None}, 'customData': [], 'autoClosingTags': True, 'autoCreateQuotes': True, 'hover': {'references': True, 'documentation': True}, 'completion': {'attributeDefaultValue': 'doublequotes'}}, 'css': {'format': {'enable': True, 'spaceAroundSelectorSeparator': False, 'newlineBetweenSelectors': True, 'newlineBetweenRules': True, 'maxPreserveNewLines': None, 'preserveNewLines': True, 'braceStyle': 'collapse'}, 'hover': {'references': True, 'documentation': True}, 'customData': [], 'completion': {'completePropertyWithSemicolon': True, 'triggerPropertyValueCompletion': True}}}}
:: [18:38:24.070] <-- LSP-volar client/registerCapability (0): {'registrations': [{'id': '64c65c91-1ba4-4646-9fae-89c7d6c35fb3', 'method': 'workspace/didChangeConfiguration', 'registerOptions': {}}]}
:: [18:38:24.070] >>> LSP-volar (0) (duration: 0ms): None
:: [18:38:24.072]  -> LSP-volar textDocument/didOpen: {'textDocument': {'languageId': 'vue', 'version': 0, 'uri': 'file:///Users/shelimov/frontend-monorepo/packages/private-app/src/pages/PageMarket/PageMarketShowcases/PageMarketShowcases.vue', 'text': '<script setup lang="ts">\nimport { computed } from \'vue\'\nimport { useRouter } from \'vue-router\'\n\nimport { useRouteQuery } from \'@/utils/useRouteQuery\'\nimport { Tiers, Limits } from \'@/pages/PageMarket/types\'\n\nimport VLoader from \'@/components/VLoader/VLoader.vue\'\nimport CursorPagination from \'@/components/CursorPagination.vue\'\n\nimport { useMarketShowcasesQueries } from \'./query\'\n\nconst router = useRouter()\nconst routeQuery = useRouteQuery()\n\nconst limit = computed({\n  get() {\n    return routeQuery.value.limit ?? Limits[0]\n  },\n  set(value) {\n    router.push({ query: { ...routeQuery.value, limit: value } })\n  }\n})\n\nconsole.log(SomeUnknownVariable)\n\nconst params = computed(() => ({\n  limit: limit.value,\n  next: routeQuery.value.next,\n  prev: routeQuery.value.prev\n}))\n\nconst { marketShowcasesQuery } = useMarketShowcasesQueries()\nconst showcases = computed(() => marketShowcasesQuery.data.value?.showcases)\n</script>\n<template>\n  <v-btn :to="{ name: \'PageMarketShowcaseCreate\' }" prepend-icon="mdi-plus">\n    Create Showcase\n  </v-btn>\n\n  <VLoader v-if="marketShowcasesQuery.isLoading.value" />\n  <v-table v-if="showcases?.length" class="mt-4" hover>\n    <thead>\n      <tr>\n        <th>Priority</th>\n        <th>Title</th>\n        <th>Shelfs / ID</th>\n        <th>Tiers</th>\n        <th>Placement</th>\n        <th>Enabled</th>\n        <th>Debug</th>\n      </tr>\n    </thead>\n    <tbody>\n      <tr v-for="showcase in showcases" :key="showcase.id">\n        <td>\n          <span>{{ showcase.priority }}</span>\n        </td>\n        <td>\n          <router-link\n            class="text-decoration-none"\n            :to="{ name: \'PageMarketShowcaseId\', params: { showcaseId: showcase.id } }"\n          >\n            {{ showcase.title }}\n          </router-link>\n        </td>\n        <td>\n          <div class="d-flex flex-column w-fit">\n            <router-link\n              v-for="shelf in showcase.shelves"\n              :key="shelf"\n              class="text-decoration-none"\n              :to="{ name: \'PageMarketShelfId\', params: { shelfId: shelf } }"\n              >{{ shelf }}</router-link\n            >\n          </div>\n        </td>\n        <td>\n          <v-chip v-for="tier in showcase.tiers" :key="tier" class="ma-2" size="small">{{\n            tier\n          }}</v-chip>\n        </td>\n        <td>\n          <span>{{ showcase.placement }}</span>\n        </td>\n        <td>\n          <v-checkbox-btn readonly :model-value="showcase.enabled" />\n        </td>\n        <td>\n          <v-checkbox-btn readonly :model-value="showcase.teamOnly" />\n        </td>\n      </tr>\n    </tbody>\n  </v-table>\n  <CursorPagination v-if="!lotteriesQuery.isLoading.value" :pagination="pagination" />\n</template>\n'}}
:: [18:38:24.073] --> LSP-volar textDocument/documentColor (2): {'textDocument': {'uri': 'file:///Users/shelimov/frontend-monorepo/packages/private-app/src/pages/PageMarket/PageMarketShowcases/PageMarketShowcases.vue'}}
:: [18:38:24.073] --> LSP-volar textDocument/inlayHint (3): {'textDocument': {'uri': 'file:///Users/shelimov/frontend-monorepo/packages/private-app/src/pages/PageMarket/PageMarketShowcases/PageMarketShowcases.vue'}, 'range': {'end': {'line': 96, 'character': 0}, 'start': {'line': 0, 'character': 0}}}
:: [18:38:24.073] --> LSP-volar textDocument/documentLink (4): {'textDocument': {'uri': 'file:///Users/shelimov/frontend-monorepo/packages/private-app/src/pages/PageMarket/PageMarketShowcases/PageMarketShowcases.vue'}}
:: [18:38:24.081] --> LSP-volar textDocument/codeLens (5): {'textDocument': {'uri': 'file:///Users/shelimov/frontend-monorepo/packages/private-app/src/pages/PageMarket/PageMarketShowcases/PageMarketShowcases.vue'}}
:: [18:38:24.083] <-- LSP-volar client/registerCapability (1): {'registrations': [{'id': '3cf5f861-48d9-433a-8587-a76cc1c4c5d1', 'method': 'workspace/didChangeWorkspaceFolders', 'registerOptions': {}}]}
:: [18:38:24.083] >>> LSP-volar (1) (duration: 0ms): None
:: [18:38:25.581] --> LSP-volar textDocument/hover (6): {'textDocument': {'uri': 'file:///Users/shelimov/frontend-monorepo/packages/private-app/src/pages/PageMarket/PageMarketShowcases/PageMarketShowcases.vue'}, 'position': {'line': 24, 'character': 17}}
:: [18:38:25.582] --> LSP-volar textDocument/codeAction (7): {'textDocument': {'uri': 'file:///Users/shelimov/frontend-monorepo/packages/private-app/src/pages/PageMarket/PageMarketShowcases/PageMarketShowcases.vue'}, 'range': {'end': {'line': 24, 'character': 17}, 'start': {'line': 24, 'character': 17}}, 'context': {'diagnostics': [], 'triggerKind': 2}}
:: [18:38:25.956] <-- LSP-volar workspace/configuration (2): {'items': [{'section': 'typescript.preferences'}]}
:: [18:38:25.957] >>> LSP-volar (2) (duration: 0ms): [{'importModuleSpecifierEnding': 'auto', 'jsxAttributeCompletionStyle': 'auto', 'importModuleSpecifier': 'shortest', 'autoImportFileExcludePatterns': [], 'quoteStyle': 'auto'}]
:: [18:38:25.957] <<< LSP-volar (2) (duration: -): None
:: [18:38:25.966] <-- LSP-volar workspace/configuration (3): {'items': [{'section': 'typescript'}]}
:: [18:38:25.967] >>> LSP-volar (3) (duration: 0ms): [{'suggest': {'includeCompletionsForImportStatements': True, 'includeCompletionsWithSnippetText': True, 'includeAutomaticOptionalChainCompletions': True, 'autoImports': False, 'completeFunctionCalls': False, 'jsdoc': {'generateReturns': True}, 'classMemberSnippets': {'enabled': True}, 'objectLiteralMethodSnippets': {'enabled': True}}, 'inlayHints': {'enumMemberValues': {'enabled': False}, 'functionLikeReturnTypes': {'enabled': False}, 'parameterNames': {'suppressWhenArgumentMatchesName': True, 'enabled': 'none'}, 'variableTypes': {'suppressWhenTypeMatchesName': {'enabled': True}, 'enabled': False}, 'parameterTypes': {'enabled': False}, 'propertyDeclarationTypes': {'enabled': False}}, 'preferences': {'importModuleSpecifierEnding': 'auto', 'jsxAttributeCompletionStyle': 'auto', 'importModuleSpecifier': 'shortest', 'autoImportFileExcludePatterns': [], 'quoteStyle': 'auto'}}]
:: [18:38:25.977] <-- LSP-volar workspace/configuration (4): {'items': [{'section': 'html.customData'}]}
:: [18:38:25.977] >>> LSP-volar (4) (duration: 0ms): [[]]
:: [18:38:25.980] <<< LSP-volar (5) (duration: 1898ms): []
:: [18:38:25.986] <<< LSP-volar (6) (duration: 405ms): {'contents': {'value': '```typescript\nany\n```', 'kind': 'markdown'}, 'range': {'end': {'line': 24, 'character': 31}, 'start': {'line': 24, 'character': 12}}}
:: [18:38:25.990] <-- LSP-volar workspace/configuration (5): {'items': [{'section': 'typescript.format'}]}
:: [18:38:26.040] >>> LSP-volar (5) (duration: 49ms): [None]
:: [18:38:26.040] <-- LSP-volar workspace/configuration (6): {'items': [{'section': 'typescript'}]}
:: [18:38:26.040] >>> LSP-volar (6) (duration: 0ms): [{'suggest': {'includeCompletionsForImportStatements': True, 'includeCompletionsWithSnippetText': True, 'includeAutomaticOptionalChainCompletions': True, 'autoImports': False, 'completeFunctionCalls': False, 'jsdoc': {'generateReturns': True}, 'classMemberSnippets': {'enabled': True}, 'objectLiteralMethodSnippets': {'enabled': True}}, 'inlayHints': {'enumMemberValues': {'enabled': False}, 'functionLikeReturnTypes': {'enabled': False}, 'parameterNames': {'suppressWhenArgumentMatchesName': True, 'enabled': 'none'}, 'variableTypes': {'suppressWhenTypeMatchesName': {'enabled': True}, 'enabled': False}, 'parameterTypes': {'enabled': False}, 'propertyDeclarationTypes': {'enabled': False}}, 'preferences': {'importModuleSpecifierEnding': 'auto', 'jsxAttributeCompletionStyle': 'auto', 'importModuleSpecifier': 'shortest', 'autoImportFileExcludePatterns': [], 'quoteStyle': 'auto'}}]
:: [18:38:26.040] <-- LSP-volar workspace/configuration (7): {'items': [{'section': 'vue.inlayHints.missingProps'}]}
:: [18:38:26.041] >>> LSP-volar (7) (duration: 0ms): [False]
:: [18:38:26.041] <<< LSP-volar (4) (duration: -): []
:: [18:38:26.054] <<< LSP-volar (7) (duration: -): []
:: [18:38:26.055] <<< LSP-volar (3) (duration: -): []
:: [18:38:27.169] --> LSP-volar textDocument/hover (8): {'textDocument': {'uri': 'file:///Users/shelimov/frontend-monorepo/packages/private-app/src/pages/PageMarket/PageMarketShowcases/PageMarketShowcases.vue'}, 'position': {'line': 24, 'character': 15}}
:: [18:38:27.170] --> LSP-volar textDocument/codeAction (9): {'textDocument': {'uri': 'file:///Users/shelimov/frontend-monorepo/packages/private-app/src/pages/PageMarket/PageMarketShowcases/PageMarketShowcases.vue'}, 'range': {'end': {'line': 24, 'character': 15}, 'start': {'line': 24, 'character': 15}}, 'context': {'diagnostics': [], 'triggerKind': 2}}
:: [18:38:27.172] <<< LSP-volar (8) (duration: 2ms): {'contents': {'value': '```typescript\nany\n```', 'kind': 'markdown'}, 'range': {'end': {'line': 24, 'character': 31}, 'start': {'line': 24, 'character': 12}}}
:: [18:38:27.174] <<< LSP-volar (9) (duration: 4ms): []
:: [18:39:33.791] --> LSP-volar textDocument/codeAction (10): {'textDocument': {'uri': 'file:///Users/shelimov/frontend-monorepo/packages/private-app/src/pages/PageMarket/PageMarketShowcases/PageMarketShowcases.vue'}, 'range': {'end': {'line': 22, 'character': 2}, 'start': {'line': 22, 'character': 2}}, 'context': {'diagnostics': [], 'triggerKind': 2}}
:: [18:39:33.794] <<< LSP-volar (10) (duration: 2ms): []
Troubleshoot logs

Troubleshooting: LSP-volar

Version

  • LSP: 1.23.0
  • Sublime Text: 4143

Server Test Run

  • exit code: 0
  • output

Server Configuration

  • command
[
  "${node_bin}", 
  "${server_path}", 
  "--stdio"
]
  • shell command
/opt/homebrew/bin/node "/Users/shelimov/Library/Caches/Sublime Text/Package Storage/LSP-volar/19.7.0/server/node_modules/@volar/vue-language-server/bin/vue-language-server.js" --stdio
  • selector
text.html.vue | source.ts | source.tsx | source.js | source.jsx
  • priority_selector
(text.html.vue)
  • init_options
{
  "additionalExtensions": [], 
  "configFilePath": "./volar.config.js", 
  "diagnosticModel": 2, 
  "fullCompletionList": false, 
  "ignoreTriggerCharacters": [], 
  "json": {
    "customBlockSchemaUrls": {}
  }, 
  "maxFileSize": 20971520, 
  "reverseConfigFilePriority": false, 
  "typescript": {
    "tsdk": "/Users/shelimov/frontend-monorepo/packages/private-app/node_modules/typescript/lib"
  }
}
  • settings
{
  "css": {
    "completion": {
      "completePropertyWithSemicolon": true, 
      "triggerPropertyValueCompletion": true
    }, 
    "customData": [], 
    "format": {
      "braceStyle": "collapse", 
      "enable": true, 
      "maxPreserveNewLines": null, 
      "newlineBetweenRules": true, 
      "newlineBetweenSelectors": true, 
      "preserveNewLines": true, 
      "spaceAroundSelectorSeparator": false
    }, 
    "hover": {
      "documentation": true, 
      "references": true
    }
  }, 
  "emmet": {
    "excludeLanguages": [
      "markdown"
    ], 
    "preferences": {}, 
    "showAbbreviationSuggestions": true, 
    "showExpandedAbbreviation": "always", 
    "showSuggestionsAsSnippets": false, 
    "syntaxProfiles": {}, 
    "variables": {}
  }, 
  "html": {
    "autoClosingTags": true, 
    "autoCreateQuotes": true, 
    "completion": {
      "attributeDefaultValue": "doublequotes"
    }, 
    "customData": [], 
    "format": {
      "contentUnformatted": "pre,code,textarea", 
      "enable": true, 
      "extraLiners": "head, body, /html", 
      "indentHandlebars": false, 
      "indentInnerHtml": false, 
      "maxPreserveNewLines": null, 
      "preserveNewLines": true, 
      "templating": false, 
      "unformatted": "wbr", 
      "unformattedContentDelimiter": "", 
      "wrapAttributes": "auto", 
      "wrapAttributesIndentSize": null, 
      "wrapLineLength": 120
    }, 
    "hover": {
      "documentation": true, 
      "references": true
    }
  }, 
  "javascript": {
    "inlayHints": {
      "enumMemberValues": {
        "enabled": false
      }, 
      "functionLikeReturnTypes": {
        "enabled": false
      }, 
      "parameterNames": {
        "enabled": "none", 
        "suppressWhenArgumentMatchesName": true
      }, 
      "parameterTypes": {
        "enabled": false
      }, 
      "propertyDeclarationTypes": {
        "enabled": false
      }, 
      "variableTypes": {
        "enabled": false, 
        "suppressWhenTypeMatchesName": {
          "enabled": true
        }
      }
    }, 
    "preferences": {
      "autoImportFileExcludePatterns": [], 
      "importModuleSpecifier": "shortest", 
      "importModuleSpecifierEnding": "auto", 
      "jsxAttributeCompletionStyle": "auto", 
      "quoteStyle": "auto"
    }, 
    "suggest": {
      "autoImports": false, 
      "classMemberSnippets": {
        "enabled": true
      }, 
      "completeFunctionCalls": false, 
      "includeAutomaticOptionalChainCompletions": true, 
      "includeCompletionsForImportStatements": true, 
      "includeCompletionsWithSnippetText": true, 
      "jsdoc": {
        "generateReturns": true
      }, 
      "objectLiteralMethodSnippets": {
        "enabled": true
      }
    }
  }, 
  "less": {
    "completion": {
      "completePropertyWithSemicolon": true, 
      "triggerPropertyValueCompletion": true
    }, 
    "format": {
      "braceStyle": "collapse", 
      "enable": true, 
      "maxPreserveNewLines": null, 
      "newlineBetweenRules": true, 
      "newlineBetweenSelectors": true, 
      "preserveNewLines": true, 
      "spaceAroundSelectorSeparator": false
    }, 
    "hover": {
      "documentation": true, 
      "references": true
    }
  }, 
  "scss": {
    "completion": {
      "completePropertyWithSemicolon": true, 
      "triggerPropertyValueCompletion": true
    }, 
    "format": {
      "braceStyle": "collapse", 
      "enable": true, 
      "maxPreserveNewLines": null, 
      "newlineBetweenRules": true, 
      "newlineBetweenSelectors": true, 
      "preserveNewLines": true, 
      "spaceAroundSelectorSeparator": false
    }, 
    "hover": {
      "documentation": true, 
      "references": true
    }
  }, 
  "typescript": {
    "inlayHints": {
      "enumMemberValues": {
        "enabled": false
      }, 
      "functionLikeReturnTypes": {
        "enabled": false
      }, 
      "parameterNames": {
        "enabled": "none", 
        "suppressWhenArgumentMatchesName": true
      }, 
      "parameterTypes": {
        "enabled": false
      }, 
      "propertyDeclarationTypes": {
        "enabled": false
      }, 
      "variableTypes": {
        "enabled": false, 
        "suppressWhenTypeMatchesName": {
          "enabled": true
        }
      }
    }, 
    "preferences": {
      "autoImportFileExcludePatterns": [], 
      "importModuleSpecifier": "shortest", 
      "importModuleSpecifierEnding": "auto", 
      "jsxAttributeCompletionStyle": "auto", 
      "quoteStyle": "auto"
    }, 
    "suggest": {
      "autoImports": false, 
      "classMemberSnippets": {
        "enabled": true
      }, 
      "completeFunctionCalls": false, 
      "includeAutomaticOptionalChainCompletions": true, 
      "includeCompletionsForImportStatements": true, 
      "includeCompletionsWithSnippetText": true, 
      "jsdoc": {
        "generateReturns": true
      }, 
      "objectLiteralMethodSnippets": {
        "enabled": true
      }
    }
  }, 
  "volar": {
    "format": {
      "initialIndent": {
        "css": false, 
        "html": true, 
        "jade": false, 
        "javascript": false, 
        "javascriptreact": false, 
        "json": false, 
        "json5": false, 
        "jsonc": false, 
        "less": false, 
        "sass": false, 
        "scss": false, 
        "typescript": false, 
        "typescriptreact": false
      }
    }
  }, 
  "vue": {
    "complete": {
      "casing": {
        "props": "autoKebab", 
        "tags": "autoPascal"
      }
    }, 
    "features": {
      "complete": {
        "normalizeComponentImportName": true
      }
    }, 
    "inlayHints": {
      "inlineHandlerLeading": false, 
      "missingProps": false, 
      "optionsWrapper": true
    }
  }
}
  • env
{
  "PATH": "/opt/homebrew/bin:/opt/homebrew/bin:"
}

Active view

  • File name
/Users/shelimov/frontend-monorepo/packages/private-app/src/pages/PageMarket/PageMarketShowcases/PageMarketShowcases.vue
  • Settings
{
  "auto_complete_selector": "meta.tag, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc", 
  "lsp_active": true, 
  "syntax": "Packages/Vue Syntax Highlight/Vue Component.sublime-syntax"
}
  • base scope
text.html.vue

Project / Workspace

  • folders
[
  "/Users/shelimov/frontend-monorepo/packages/private-app"
]
  • is project: True
  • project data:
{
  "folders": [
    {
      "binary_file_patterns": [
        "dist/**", 
        "node_modules/**", 
        "depsPatches/**"
      ], 
      "follow_symlinks": true, 
      "path": "/Users/shelimov/frontend-monorepo/packages/private-app"
    }
  ], 
  "settings": {
    "LSP": {
      "LSP-typescript": {
        "enabled": false
      }, 
      "LSP-volar": {
        "enabled": true, 
        "selector": "text.html.vue | source.ts | source.tsx | source.js | source.jsx"
      }
    }
  }
}

LSP configuration

{
  "auto_show_diagnostics_panel_level": 2, 
  "clients": {
    "typescript-language-server": {
      "command": [
        "/opt/homebrew/bin/typescript-language-server", 
        "--stdio"
      ], 
      "selector": "source.js | source.jsx | source.ts | source.tsx"
    }
  }, 
  "only_show_lsp_completions": true, 
  "show_diagnostics_in_view_status": true, 
  "show_inlay_hints": true, 
  "show_references_in_quick_panel": true, 
  "show_view_status": true
}

System PATH

  • /Applications/Sublime Merge.app/Contents/SharedSupport/bin
  • /Users/shelimov/depot_tools
  • /Applications/Sublime Text.app/Contents/SharedSupport/bin
  • /opt/homebrew/bin
  • /opt/homebrew/sbin
  • /usr/local/bin
  • /System/Cryptexes/App/usr/bin
  • /usr/bin
  • /bin
  • /usr/sbin
  • /sbin
  • /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin
  • /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin
  • /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
  • /Library/Apple/usr/bin

Thank you for your work!

My bad, I forgot that it depends on new version of LSP (due to being set to use pull diagnostics).

You can fix it for now by setting:

    "initializationOptions": {
        "diagnosticModel": 1
    },

in LSP-volar settings but I'll also release new version of LSP which will also fix it, without changing settings.

It resolved the issue. Thank you!

Will be also resolved by new LSP version (https://github.com/sublimelsp/LSP/releases/tag/4070-1.24.0) that should be available in few hours.

With new LSP version you might want to remove those setting overrides so that the new, more efficient, diagnostic mode is used.