-
Notifications
You must be signed in to change notification settings - Fork 240
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
css3 transform会触发for语句的语音 #15
Comments
感谢反馈!我看看能否优化下触发规则 |
Keywords like $time_before... will trigger the same. |
可以用stack试一下,比如在读键盘buffer的时候,遇到空格,圆括号,方括号,等号,引号。欸不行,如果用户在单词中间编辑单词就失效了。 那要不要考虑一下vscode关于获取用户正在编辑的行的api什么的?就是每次输入一个字符就查询当前行是否有关键字? |
@woaibiancheng01214 经过几天的考虑,我的观点是:更精确的触发规则最好是通过 AST 库进行解析,但这样对于一个娱乐性插件来说,技术投入与用户体验回报不太成正比(请参阅:https://saekiraku.github.io/vscode-rainbow-fart/#/zh/qa.md#%E8%83%BD%E5%90%A6%E6%9B%B4%E7%B2%BE%E7%A1%AE%E7%9A%84%E6%A3%80%E6%B5%8B%E5%85%B3%E9%94%AE%E5%AD%97%EF%BC%9F )。目前我这边认为相对简单的处理方式是对关键字进行语言限制,来尽可能的规避误触发。 |
@SaekiRaku 有道理,哈哈,我如果有时间看看这种技术实践就来试一试 |
css3 transform会触发for语句的语音
The text was updated successfully, but these errors were encountered: