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

在XAML工作不完全 #8

Open
windowscat opened this issue Feb 20, 2024 · 4 comments
Open

在XAML工作不完全 #8

windowscat opened this issue Feb 20, 2024 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@windowscat
Copy link

windowscat commented Feb 20, 2024

在xaml.cs工作完全,但在xaml里工作不完全,具体表现有:
1.中间带下划线的属性不正常,如"P_样式Style",按P,提示为P_YangshiStyle,但接下来按下划线就只能输出第一项了,保持"P_",输入"y",能正确聚焦到词条,但后面只能接全拼,不能首字母命中了
2.类似"_V文本Text"的属性不正常,也是只能按顺序全拼,不能首字母命中了.

@windowscat
Copy link
Author

MAUI工程里就有xaml界面设置文件

@stratosblue
Copy link
Owner

插件当前并没有实现输入匹配相关功能,只向visualstudio提供了检索项,依赖visualstudio的自身实现进行匹配。visualstudio有异步和同步两种代码完成实现。.cs等文件使用的异步完成,匹配效果好些,.xaml使用的应该是同步完成,匹配效果不那么好。稍后有空我考虑增加选项去除同步完成时代码中的符号,可能效果会好一些。。

@stratosblue
Copy link
Owner

确认是 ICompletionSource 相关的原因,C++等同样有此问题。尝试了进行调整,感觉可能难度过大,暂时放弃了。。。

@stratosblue stratosblue added the help wanted Extra attention is needed label Feb 26, 2024
@stratosblue
Copy link
Owner

@windowscat
已在 1.3.1 版本添加模糊匹配,请更新后尝试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants