-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Variable values not visible on hover #912
Comments
My whole settings and extension list {
/*********************************
* WORKBENCH
********************************/
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
"workbench.editor.labelFormat": "short",
"workbench.tree.indent": 16,
"workbench.editor.highlightModifiedTabs": true,
"workbench.editor.limit.enabled": true,
"workbench.editor.limit.perEditorGroup": true,
"workbench.editor.limit.value": 7,
/*********************************
* WINDOW
********************************/
"window.restoreFullscreen": true,
"window.commandCenter": false,
"window.zoomLevel": 1,
/*********************************
* FILES
********************************/
"files.defaultLanguage": "${activeEditorLanguage}",
"files.trimTrailingWhitespace": true,
"files.associations": {
"*.mustache": "html",
"*.svx": "svelte",
"*.mdoc": "markdown",
"*.css": "tailwindcss"
},
"files.autoGuessEncoding": true,
"files.insertFinalNewline": true,
/*********************************
* EDITOR
********************************/
"editor.fontFamily": "JetBrains Mono, Fira code, Dank mono, 'Cascadia Code', monospace",
"editor.fontLigatures": true,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.mouseWheelZoom": true,
"editor.suggestSelection": "first",
"editor.tabCompletion": "on",
"editor.detectIndentation": false,
"editor.insertSpaces": false,
"editor.hover.delay": 500,
"editor.hover.sticky": false,
"editor.hover.hidingDelay": 100,
"editor.acceptSuggestionOnEnter": "off",
"editor.defaultFormatter": "biomejs.biome",
"editor.linkedEditing": true,
"editor.inlineSuggest.enabled": true,
"editor.minimap.maxColumn": 60,
"editor.wordSeparators": "`~!@%^&*()-=+[{]}\\|;:'\",.<>/?",
"editor.bracketPairColorization.enabled": true,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.guides.bracketPairs": true,
"editor.inlayHints.enabled": "offUnlessPressed",
"editor.minimap.enabled": false,
"editor.cursorBlinking": "solid",
"editor.gotoLocation.multipleDefinitions": "goto",
"editor.gotoLocation.multipleTypeDefinitions": "goto",
"editor.gotoLocation.multipleDeclarations": "goto",
"editor.gotoLocation.multipleImplementations": "goto",
"editor.gotoLocation.multipleReferences": "goto",
"editor.stickyScroll.enabled": false,
"editor.codeActionsOnSave": {
"quickfix.biome": "always",
"source.organizeImports.biome": "always"
},
"editor.quickSuggestions": {
"strings": "on"
},
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"entity.name.type.class",
"keyword",
"constant",
"storage.modifier",
"storage.type.class.js"
],
"settings": {
"fontStyle": "italic"
}
},
{
"scope": [
"invalid",
"keyword.operator",
"constant.numeric.css",
"keyword.other.unit.px.css",
"constant.numeric.decimal.js",
"constant.numeric.json"
],
"settings": {
"fontStyle": ""
}
}
]
},
/*********************************
* TERMINAL
********************************/
"terminal.integrated.scrollback": 10000,
"terminal.integrated.copyOnSelection": true,
"terminal.integrated.defaultProfile.windows": "Command Prompt",
"terminal.integrated.enableMultiLinePasteWarning": "never",
/*********************************
* GIT
********************************/
"git.postCommitCommand": "push",
"git.autofetch": true,
"git.enableSmartCommit": true,
"git.confirmSync": false,
"git.openRepositoryInParentFolders": "never",
"git.enableCommitSigning": true,
/*********************************
* EXPLORER
********************************/
"explorer.autoReveal": false,
"explorer.incrementalNaming": "smart",
"explorer.compactFolders": false,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
/*********************************
* DEBUG
********************************/
"debug.openDebug": "openOnDebugBreak",
"debug.allowBreakpointsEverywhere": true,
"debug.javascript.autoAttachFilter": "disabled",
/*********************************
* JS/TS
********************************/
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"typescript.inlayHints.parameterNames.enabled": "all",
"typescript.preferGoToSourceDefinition": true,
"javascript.preferGoToSourceDefinition": true,
"typescript.referencesCodeLens.enabled": true,
"javascript.referencesCodeLens.enabled": true,
"typescript.referencesCodeLens.showOnAllFunctions": true,
"javascript.referencesCodeLens.showOnAllFunctions": true,
/*********************************
* SECURITY
********************************/
"security.workspace.trust.untrustedFiles": "open",
/*********************************
* OTHERS
********************************/
"extensions.ignoreRecommendations": true,
"gulp.autoDetect": "on",
"emmet.triggerExpansionOnTab": true,
"references.preferredLocation": "view",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"json.schemaDownload.enable": true,
"settingsSync.ignoredSettings": ["-window.zoomLevel"],
/*********************************
* EXTENSIONS
********************************/
"intelephense.environment.phpVersion": "8.1.10",
"livePreview.notifyOnOpenLooseFile": false,
"livePreview.customExternalBrowser": "Chrome",
"livePreview.debugOnExternalPreview": true,
"github.copilot.editor.enableAutoCompletions": true,
"github.copilot.enable": {
"*": true,
"plaintext": true,
"markdown": true,
"scminput": true,
"yaml": true
},
"tailwindCSS.emmetCompletions": true,
"tailwindCSS.validate": true,
"tailwindCSS.classAttributes": ["class", "className", "ngClass", "class:list"],
"go.toolsManagement.autoUpdate": true,
"markdown-pdf.mermaidServer": "https://cdn.jsdelivr.net/npm/mermaid@10.4.0/dist/mermaid.min.js",
"cSpell.enableFiletypes": ["*", "!json"],
"cSpell.language": "en,it",
"cSpell.diagnosticLevel": "Information",
"cSpell.userWords": [
"alpinejs",
"amet",
"apexcharts",
"astro",
"astrojs",
"Astros",
"autofetch",
"backoffice",
"bezier",
"biomejs",
"bitrack",
"bmewburn",
"bquadro",
"Builtins",
"Cascadia",
"casl",
"clevision",
"Clickup",
"clonedeep",
"clsx",
"Configuratore",
"consectetur",
"consts",
"dacpac",
"dall",
"datetime",
"daygrid",
"debuggare",
"Dreamteam",
"Edilgrappa",
"Erreplus",
"esbenp",
"evenodd",
"extralight",
"fancyapps",
"favicons",
"Fffp",
"Fira",
"Fnkc",
"fontsource",
"frontmatter",
"fullcalendar",
"Fullscreen",
"Giscus",
"gistpad",
"Giulio",
"grav",
"greensock",
"gridjs",
"gsap",
"hideme",
"hookform",
"httrack",
"iconify",
"indicizzatore",
"inout",
"intelephense",
"isequal",
"keystar",
"Kvalue",
"languagedetector",
"mouseleave",
"Navdata",
"onwarn",
"opengraph",
"paginata",
"Parens",
"payloadcms",
"piniaificare",
"popperjs",
"prebuild",
"PRIVJS",
"procedurizzare",
"Puravisione",
"quickfix",
"reduxjs",
"resx",
"rgba",
"scminput",
"scrollback",
"splide",
"splidejs",
"supervisord",
"sveltefirets",
"sveltejs",
"sveltekit",
"sveltia",
"switchare",
"syncagent",
"tabler",
"tailwindcss",
"tbody",
"teleassistenza",
"thead",
"timegrid",
"todos",
"topbar",
"triggerare",
"tsconfigs",
"typeof",
"unlighthouse",
"unlocalized",
"unstyled",
"upsert",
"velzon",
"versionamento",
"vite",
"vsintellicode",
"vuexy",
"webm",
"woocommerce",
"xelement",
"xstate",
"yoyo",
"yzhang",
"Zanchetta",
"zankhq",
"zanks",
"zanksbi"
],
/*********************************
* LANGUAGE SPECIFIC SETTINGS
********************************/
"[markdown]": {
"files.trimTrailingWhitespace": false,
"editor.defaultFormatter": "yzhang.markdown-all-in-one",
"editor.wordWrap": "off"
},
"[css]": {
"editor.suggest.insertMode": "replace"
},
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode"
},
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
},
}
|
Could you share the project / file in question? We don't have the best support for debugging at the moment, so it's also very possible this is just not supported right now. |
I will create a minimal repo |
I almost forgot, here s the minimal repo https://github.com/zanhk/astro-hover-undefined The problem happen with or without the extension. The problem happen as well in empty vscode profile with no extensions and no settings. |
Describe the Bug
Only on
.astro
file when I go on hover on a variable in debug mode it show undefined.Windows, latest version of the extension, latest version of astro.
Am I missing some settings?
The text was updated successfully, but these errors were encountered: