Skip to content
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

ICompletionSource(xaml、c++等)的支持会出现一些问题 #9

Open
Miltomo opened this issue Mar 4, 2024 · 4 comments
Open

Comments

@Miltomo
Copy link

Miltomo commented Mar 4, 2024

可以稳定产生的问题

XAML无法使用

  • 新建事件会变成打印“<新建事件程序>”这样的字符串,而不是在cs代码生成例如Button_Click函数
  • 在XAML上无法打字
  • 可通过禁止检查.xaml文件解决

不太确定具体原因,也无法稳定产生的问题

无法输入中文

  • 突然无法输入汉字。表现为输入汉字后,编译器光标依然停留在原处,而不会出现任何文字。
  • 突然之间无法编辑Summay注释。在其中无法打字

找不到隐藏代码

  • 对于WPF项目编译器因未知原因突然找不到自动生成的代码xxx.g.i.cs表现为对所有(x:Name)报错,对InitializeComponent()函数报错等。但是项目能正常生成。确定是因为该扩展导致,因为禁用该扩展后再打开项目,编译器恢复正常。

==========

  • 上述问题出现并不频繁。每次出现都可以通过关闭再启用扩展解决
  • 不知道是不是因为这个ICompletionSource接口导致的
  • 是否可以加一条选项,让用户自行选择是否启用对ICompletionSource的支持?
@stratosblue
Copy link
Owner

🤣🤣🤣🤣🤣我不太确定问题的原因,有空再好好研究下

有一键关闭ICompletionSource支持的选项
图片

@stratosblue stratosblue changed the title 自从升级新版本后,出现了很多异常问题。 ICompletionSource(xaml、c++等)的支持会出现一些问题 Mar 4, 2024
@Miltomo
Copy link
Author

Miltomo commented Mar 4, 2024

🤣🤣🤣🤣🤣我不太确定问题的原因,有空再好好研究下

有一键关闭ICompletionSource支持的选项 图片

看到了这个选项

@stratosblue stratosblue pinned this issue Mar 4, 2024
@stratosblue
Copy link
Owner

嗯,如果比较影响正常使用的话可以考虑先关了这个支持,等有空了我再看看问题

@stratosblue
Copy link
Owner

新建事件会变成打印“<新建事件程序>”的问题已在 v1.3.4 尝试修正,请更新后再尝试。其他问题暂时没有复现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants