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
{{ message }}
Repository navigation
JSX attribute completion runs only once for a tag #52634
Matt Bierner (@mjbvz) were you able to repro this? I just tried and couldn't repro with the latest TS (built from current main).
Maybe I'm missing other relevant JSX/TSX preferences or something in a tsconfig? Burak Erdem (@brerdem) do you know what version of TypeScript vscode was using when you ran into this issue?
Burak Erdem (@brerdem) thank you for the information. I managed to reproduce this bug with TypeScript 4.9.5.
This is a duplicate of #51845, which has been fixed by #51855 in the latest TypeScript version (5.0 beta).
Gabriela Araujo Britto (@gabritto) I'm not 100% sure but this may not be a TypeScript related issue. I have opened very same project with WebStorm and completion works just fine.
Activity
gabritto commentedon Feb 9, 2023
Matt Bierner (@mjbvz) were you able to repro this? I just tried and couldn't repro with the latest TS (built from current
main).Maybe I'm missing other relevant JSX/TSX preferences or something in a tsconfig? Burak Erdem (@brerdem) do you know what version of TypeScript vscode was using when you ran into this issue?
mjbvz commentedon Feb 9, 2023
No I can't repo this either:
brerdem commentedon Feb 10, 2023
Gabriela Araujo Britto (@gabritto) It's a bare Vite project using typescript
^4.9.3And here is the tsconfig file
I also reset the settings and disabled extensions completely, even re-installed VS Code but had no luck.
I also thought maybe the problem happens on certain attributes but it seems no matter what attribute is, the completion works only for the first one.
gabritto commentedon Feb 10, 2023
Burak Erdem (@brerdem) thank you for the information. I managed to reproduce this bug with TypeScript 4.9.5.
This is a duplicate of #51845, which has been fixed by #51855 in the latest TypeScript version (5.0 beta).
brerdem commentedon Feb 10, 2023
Thanks Gabriela Araujo Britto (@gabritto). I'd like to inform that the problem persists in the nightly build I installed which is
5.0.0-dev.20230210brerdem commentedon Feb 11, 2023
Gabriela Araujo Britto (@gabritto) I'm not 100% sure but this may not be a TypeScript related issue. I have opened very same project with WebStorm and completion works just fine.