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
hii @johnsoncodehk, I also posted this request in discord a while ago. Basically what I wanted to request is supporting TS imports intellisense for functiions, constants etc. Currently we get import intellisense (autocomplete) for vue components, it'd be great to have similar kind of autocomplete for functions, constants etc. directly from template. I'm not sure if this is possible to implement or not, but I've seen this in svelte vscode extension https://github.com/sveltejs/language-tools .
Again thanks for your hard work
e.g.
// file.tsexportconsthello='world'
and in .vue file
<sciriptsetup>
// if we type hello here it'll give us autocomplete
</script>
<template>
{{hello}}
<!--- typing hello here can give us autocomplete intellisense -->
</template>
I hope you understood what I'm trying to express. thx
The text was updated successfully, but these errors were encountered:
One of the differences between vue and svelte is that due to the characteristics of vue template context, vue's template and script are not the same virtual script, so vue cannot simply support code behavior across scripts and templates.
Considering the implementation and maintenance costs, it has been decided not to support it for the time being. Maybe something will change in the future.
One of the differences between vue and svelte is that due to the characteristics of vue template context, vue's template and script are not the same virtual script, so vue cannot simply support code behavior across scripts and templates.
Considering the implementation and maintenance costs, it has been decided not to support it for the time being. Maybe something will change in the future.
Would you like to accept if I want to submit a PR about this feature
hii @johnsoncodehk, I also posted this request in discord a while ago. Basically what I wanted to request is supporting TS imports intellisense for functiions, constants etc. Currently we get import intellisense (autocomplete) for vue components, it'd be great to have similar kind of autocomplete for functions, constants etc. directly from template. I'm not sure if this is possible to implement or not, but I've seen this in svelte vscode extension https://github.com/sveltejs/language-tools .
Again thanks for your hard work
e.g.
and in
.vue
fileI hope you understood what I'm trying to express. thx
The text was updated successfully, but these errors were encountered: