You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
package.json dependencies
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:
Link to minimal reproduction
No response
Any additional comments?
Interestingly, reloading the window causes the problem to go away.
The text was updated successfully, but these errors were encountered: