language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

fix(language-core): generate codes for `:key` prop on `v-for` and `v-if` node

Open so1ve opened this issue 1 year ago • 1 comments

I created a fake component to generate codes since IF_BRANCH nodes are not valid elements. Not sure if it is the best approach.

fixes #4539

so1ve avatar Jul 08 '24 03:07 so1ve

I temporarily changed the issue to a draft because we should wait for https://github.com/vuejs/core/issues/11322 to be fixed by the upstream. Forcibly handling unrecognized props in language tools will make the code we need to maintain too complex.

johnsoncodehk avatar Jul 20 '24 10:07 johnsoncodehk

Closed due to PR being outdated.

johnsoncodehk avatar May 16 '25 13:05 johnsoncodehk