-
-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
从2.1.10升级到2.2.0之后,每修改一行,vscode 代码中的 typescript 警告和错误提示都会闪烁一次 (Hybrid Mode) #5098
Comments
怎样的闪烁呢?弹框提示是默认行为,已经将它添加到兼容列表里了。 |
@KazariEX 2024-12-30.132612.mp4在 Vue - [email protected] 下,我把 Vue › Server: Hybrid Mode 从 |
2.1.10 并不是进入兼容模式,是直接关闭的,没有这个模式。应该是 2.2.0 的 bug,但我暂时无法复现。 你把其他扩展都禁用了试试看是不是存在什么冲突导致的。 |
@KazariEX 我有一个能经常复现的案例 <template>
<div>
</div>
</template>
<script setup lang="ts">
let obj = {}
//Repeat 5000 lines !
//Repeat 5000 lines !
//Repeat 5000 lines !
obj = () => { };
obj = () => { };
obj = () => { };
obj = () => { };
obj = () => { };
obj = () => { };
obj = () => { };
...........
let a = {}
</script>
<style scoped>
</style> |
same |
Vue - Official extension or vue-tsc version
2.2.0
VSCode version
1.96.2
Vue version
"vue": "3.5.13"
TypeScript version
"typescript": "~5.6.2"
System Info
No response
package.json dependencies
No response
Steps to reproduce
Vue - Official插件 与 GitHub.copilot-chat插件一起使用
What is expected?
2.2.0与2.1.10行为一致,会弹框提示
Hybrid Mode is disabled automatically because there is a potentially incompatible GitHub.copilot-chat TypeScript plugin installed.
What is actually happening?
Hybrid Mode 行为与 2.1.10行为不一致,导致每次修改 typescript 提示闪烁
Link to minimal reproduction
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: