-
-
Notifications
You must be signed in to change notification settings - Fork 500
Closed as duplicate of#5037
Closed as duplicate of#5037
Copy link
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Vue - Official extension or vue-tsc version
2.2.0
VSCode version
1.96.4
Vue version
3.5.13
TypeScript version
5.7.2
System Info
System:
OS: Windows 11 10.0.26100
CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
Memory: 19.75 GB / 31.64 GB
Binaries:
Node: 20.18.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.9.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (131.0.2903.70)
Internet Explorer: 11.0.26100.1882package.json dependencies
"dependencies": {
"@univerjs/presets": "^0.5.3",
"@univerjs/sheets-crosshair-highlight": "^0.5.3",
"@vue-flow/core": "^1.41.2",
"buffer": "^6.0.3",
"chart.js": "^4.4.4",
"chartjs-chart-funnel": "^4.2.2",
"chartjs-chart-geo": "^4.3.2",
"chartjs-plugin-datalabels": "^2.2.0",
"css": "^3.0.0",
"dompurify": "^3.1.7",
"exceljs": "^4.4.0",
"fast-xml-parser": "^4.3.6",
"fflate": "^0.6.2",
"floating-vue": "^5.2.2",
"html-validate": "^9.1.3",
"jquery": "^3.3.1",
"lodash-es": "^4.17.21",
"marked": "^9.1.0",
"monaco-editor": "^0.52.0",
"object-hash": "^3.0.0",
"pinia": "^2.1.7",
"stacktrace-js": "^2.0.2",
"three": "^0.172.0",
"uuid": "^9.0.0",
"vanilla-jsoneditor": "^0.21.4",
"vite-plugin-pwa": "^0.21.1",
"vue": "~3.5.13",
"vue-advanced-chat": "^2.1.0",
"vue-chartjs": "^5.3.1",
"vue-i18n": "^10.0.3",
"vue-router": "^4.4.5",
"vuedraggable": "^4.1.0",
"yaml": "^2.6.0"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/apidoc": "^0.50.0",
"@types/css": "^0.0.38",
"@types/glob": "^7.2.0",
"@types/jquery": "^3.5.30",
"@types/lodash-es": "^4.17.12",
"@types/object-hash": "^3.0.2",
"@types/three": "^0.172.0",
"@types/uuid": "^9.0.1",
"@vitejs/plugin-vue": "^5.1.4",
"@vitest/ui": "^2.1.4",
"@vue/compiler-sfc": "^3.1.0",
"@vue/tsconfig": "^0.6.0",
"apidoc": "^1.2.0",
"autoprefixer": "^10.4.20",
"glob": "^8.0.3",
"less": "^4.2.0",
"postcss": "^8.4.47",
"sass": "1.77.6",
"tailwindcss": "^3.4.14",
"typescript": "^5.7.2",
"vite": "^5.4.2",
"vite-plugin-node-polyfills": "^0.22.0",
"vite-plugin-static-copy": "^1.0.6",
"vitest": "^2.1.4",
"vue-component-type-helpers": "^2.1.6",
"vue-tsc": "^2.2.0"
},Steps to reproduce
Open a project containing both .ts and .vue files.
The project must be open without any of the files open.
Then, open a .vue file.
Close VSCode, keeping in mind that the .vue file tab is open.
Reopen the same project. As the previous .vue file tab was open, it should open automatically.
What is expected?
The TS server should start-up in each of the opening sequences.
Either opening a vue SFC file or opening a project with an already open vue SFC file should start the server.
What is actually happening?
The TS Server for vue files only starts if the project, on opening, has a vue file already open.
On all other occasions, opening a vue file later on does not start the server.
So:
- Open VSCode with a vue SFC file tab open: starts the TS server for both .TS and .VUE files
- Open VSCode with no file selected and open a vue SFC file: DOES NOT start the server
- Open VSCode with no file selected and open a .TS file: starts the TS server ONLY for .TS files
Link to minimal reproduction
No response
Any additional comments?
Interestingly, reloading the window causes the problem to go away.
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists