Skip to content
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

Hybrid Mode causes no prompts #5121

Closed
meedfine opened this issue Jan 10, 2025 · 2 comments
Closed

Hybrid Mode causes no prompts #5121

meedfine opened this issue Jan 10, 2025 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@meedfine
Copy link

Vue - Official extension or vue-tsc version

2.2.0

VSCode version

1.96.2

Vue version

3.5.13

TypeScript version

5.6.3

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (4) x64 Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz
    Memory: 7.67 GB / 15.87 GB
  Binaries:
    Node: 20.17.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.11.0 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Chrome: 78.0.3904.108
    Edge: Chromium (128.0.2739.54)
    Internet Explorer: 11.0.19041.4355

package.json dependencies

{
  "name": "vue-project",
  "version": "0.0.0",
  "private": true,
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "run-p type-check \"build-only {@}\" --",
    "preview": "vite preview",
    "build-only": "vite build",
    "type-check": "vue-tsc --build"
  },
  "dependencies": {
    "vue": "^3.5.13"
  },
  "devDependencies": {
    "@tsconfig/node22": "^22.0.0",
    "@types/node": "^22.10.2",
    "@vitejs/plugin-vue": "^5.2.1",
    "@vue/tsconfig": "^0.7.0",
    "npm-run-all2": "^7.0.2",
    "typescript": "~5.6.3",
    "vite": "^6.0.5",
    "vite-plugin-vue-devtools": "^7.6.8",
    "vue-tsc": "^2.1.10"
  }
}

Steps to reproduce

https://github.com/meedfine/vscode-tsconfig.json-not-work
just npm create vue@latest

npm i
restart vscode

prompts work well because a vue file already open

workwell.mp4

prompts work bad because no vue file is open at startup

notwork.mp4

What is expected?

always work well

What is actually happening?

prompts work bad because no vue file is open at startup

Link to minimal reproduction

https://github.com/meedfine/vscode-tsconfig.json-not-work

Any additional comments?

No response

@meedfine
Copy link
Author

typeScriptPluginOnly and false have syntax hints here, but not sure if there are other problems

@KazariEX
Copy link
Collaborator

Duplicate of #5037

@KazariEX KazariEX marked this as a duplicate of #5037 Jan 10, 2025
@KazariEX KazariEX closed this as not planned Won't fix, can't repro, duplicate, stale Jan 10, 2025
@KazariEX KazariEX added duplicate This issue or pull request already exists and removed pending triage labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants