Closed KazariEX closed 2 months ago
@KazariEX Could you add a minimal test case?
I have revised this PR and now it will do the following in the completion:
onX
, :onX
and v-bind:onX
. IMO the standard practice for using component events should be to only use @
or v-on:
class
, is
, key
, ref
and style
as special props of all elements and components, and arrange them in the following order at the beginning of the completion list:
vnode
events and rank it at the end of the list with the lowest priority.commit: 37e534e
``` pnpm add https://pkg.pr.new/vuejs/language-tools/vue-component-meta@4671 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/vue-component-type-helpers@4671 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/language-core@4671 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/language-plugin-pug@4671 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/language-server@4671 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/language-service@4671 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/vue-tsc@4671 ```
``` pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/typescript-plugin@4671 ```
I'm a bit unsure of the best way to display for DX so show all items if possible, glad you have insights on this. 👍
fix #4670