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 VSCode in a Vue Project without any open file
Let it sit for a while
Open firstly a .vue file
Approach 2
Open VSCode in a Vue Project with a previously open .vue file
Let project initialize
Approach 3
Open VSCode in a Vue Project without any open file
Open a .ts file
Let project initialize
Open a .vue file
Approach 4
Open VSCode in a Vue Project with a previously open .ts file
Let project initialize
Open a .vue file
What is expected?
With any approach, the .vue files are expected to have working Typescript for anything, from intellisense to refactor, hover information, references, etc.
What is actually happening?
Approach 1: typescript is not detected nor initialized until you open a .ts file and even from thereon it only works in .ts files. Execution Developer: Reload Window solves it, but is a band-aid solution
Approach 2: typescript is initialized. Everything works as expected.
Approach 3: typescript is initialized. Everything works as expected.
Approach 4: typescript is initialized. Everything works as expected.
So, as described, approach 1 is nor working, unless Developer: Reload Window command is called. Note that this does not happen always! Sometimes, if you're fast enough between opening VSCode and opening the first vue file, it will properly initiate. But, if you take your time (let's say, let it stay there for 4-5 seconds ) before opening the first vue file, it doesn't start the TS server, showing the following information for the vue file:
Link to minimal reproduction
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered:
Vue - Official extension or vue-tsc version
2.2.2
VSCode version
1.97.2
Vue version
3.5.13
TypeScript version
5.7.3
System Info
package.json dependencies
Steps to reproduce
There are several interesting behaviours:
Approach 1
Approach 2
Approach 3
Approach 4
What is expected?
With any approach, the .vue files are expected to have working Typescript for anything, from intellisense to refactor, hover information, references, etc.
What is actually happening?
Developer: Reload Window
solves it, but is a band-aid solutionSo, as described, approach 1 is nor working, unless
Developer: Reload Window
command is called.Note that this does not happen always! Sometimes, if you're fast enough between opening VSCode and opening the first vue file, it will properly initiate. But, if you take your time (let's say, let it stay there for 4-5 seconds ) before opening the first vue file, it doesn't start the TS server, showing the following information for the vue file:
Link to minimal reproduction
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: