2.0 Hybrid Mode Early Preview & Feedback Thread #3789
Replies: 20 comments 9 replies
-
Reduced memory usage by 300m! |
Beta Was this translation helpful? Give feedback.
-
🔥 Thank you Johnson |
Beta Was this translation helpful? Give feedback.
-
Could you provide any tips for why Hybrid Mode not possible before? |
Beta Was this translation helpful? Give feedback.
-
It would be great if .vue file could be automatically repaired and imported like .ts file. |
Beta Was this translation helpful? Give feedback.
-
note: |
Beta Was this translation helpful? Give feedback.
-
Maybe it's a bit early for that but at some point maybe you could also distribute it as a plain plugin so that it would be easier for other editors than VSCode to utilize it. I guess it could be distributed as a separate npm package. |
Beta Was this translation helpful? Give feedback.
-
Do you plan to support |
Beta Was this translation helpful? Give feedback.
-
Just a heads up that typescript-language-features handling of plugins might be a bit lacking in case of workspace configuration handling. For example due to logic like here, it will apply |
Beta Was this translation helpful? Give feedback.
-
If you got errors like |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
I noticed in 2.0 the syntax highlighting seems to be a bit off - components are not getting a different color from native elements. |
Beta Was this translation helpful? Give feedback.
-
I noticed that the language server was freaking out, constantly finding errors and then cleaning them out, refreshing constantly. |
Beta Was this translation helpful? Give feedback.
-
component‘s highlight isn't working in template |
Beta Was this translation helpful? Give feedback.
-
After installing v5, ts language server crashes and this is the output |
Beta Was this translation helpful? Give feedback.
-
Hi, also I see yesterday's update has been closed #3329 ,But problems(#3329 (comment)) remain Maybe I should open a new issue? You can follow these steps to repeatI have provided the following minimal reproducible cases, hoping to provide some help。 repo:https://github.com/rennzhang/vue3-ts-error-report
<template>
<div></div>
</template>
<script lang="ts" setup>
let a = ref(1);
</script>
<style scoped lang="less"></style> The following error will occur
|
Beta Was this translation helpful? Give feedback.
-
I have project-wide error reporting enabled for TypeScript. In the example below, I change the name of a function, thus causing an error in the files that import it. When an error happens, the affected files should go red... but instead, the error report keeps going on and off: I'm using:
|
Beta Was this translation helpful? Give feedback.
-
I'm seeing an issue where selecting a component from autocomplete adds an import statement in nuxt projects. Also, if there's no script setup section, the import statement simply goes to the top of the file. Screen.Recording.2024-01-23.at.8.35.35.AM.movI'm using:
Not attaching a reproduction repo as any starter nuxt app has the same issue |
Beta Was this translation helpful? Give feedback.
-
Do we have the latest preview version available? plz 🙏 |
Beta Was this translation helpful? Give feedback.
-
test with v5 |
Beta Was this translation helpful? Give feedback.
-
In the next 2.0 release, we'll implement typescript support through TS plugin integration.
Since Vue no longer needs to run its own TS language server, this will result in a significant reduction in memory usage and an increase in performance. (This was previously done via takeover mode, but is no longer necessary.)
The basic language support is there now, but there is still a lot of additional functionality that needs to be re-implemented through the TS plugin, which won't be done anytime soon.
For those of you who wish to participate in early testing, I will keep posting new versions of the TS plugin integration in this post until the #3788 merge.
There are still a lot of issues with earlier versions, and for the obvious ones it should be fixed soon, so if you find something that hasn't been fixed, then I may have missed it, so please raise it in this thread instead of opening an issue.
Early Preview Download
After downloading and unzipping it, you can install it via the VSCode "Extensions: Install from VSIX..." command.
Beta Was this translation helpful? Give feedback.
All reactions