Comments (9)
预览模式bug主要体现在涉及到行间公式敲英文括号时会卡住,然后键盘无响应,需要鼠标切换到其他地方
from typora-copilot.
公式编辑时有bug,有时在源代码模式下编辑公式(行间)会自动补全(没按tab),预览模式下有时会出现错误的补全(具体现象有点怪,之后补充),感谢大佬
这个可能不只是限于公式编辑的 BUG,目前源码模式在边界情况下确实会神秘触发自动补全。主要 Typora 源码模式用的 CodeMirror 实现,它原生不支持 GitHub Copilot 这种灰色字符提示,我用了一些非常 Hacking 的方式去实现它,实际上就是先插入补全的文本然后将其设置为灰色,并检查用户之后是否有移动光标、键入字符等操作,如果有则撤销😂。这个实现方式很明显会有很多不可知的 BUG,我会尽量在代码实现里加更多判断逻辑减少 BUG,但别抱太大期待
from typora-copilot.
预览模式bug主要体现在涉及到行间公式敲英文括号时会卡住,然后键盘无响应,需要鼠标切换到其他地方
这个有示例可以截图说明吗?我无法复现这个问题
from typora-copilot.
公式编辑时有bug,有时在源代码模式下编辑公式(行间)会自动补全(没按tab),预览模式下有时会出现错误的补全(具体现象有点怪,之后补充),感谢大佬
这个可能不只是限于公式编辑的 BUG,目前源码模式在边界情况下确实会神秘触发自动补全。主要 Typora 源码模式用的 CodeMirror 实现,它原生不支持 GitHub Copilot 这种灰色字符提示,我用了一些非常 Hacking 的方式去实现它,实际上就是先插入补全的文本然后将其设置为灰色,并检查用户之后是否有移动光标、键入字符等操作,如果有则撤销😂。这个实现方式很明显会有很多不可知的 BUG,我会尽量在代码实现里加更多判断逻辑减少 BUG,但别抱太大期待
没事的,现在并不影响使用,复现等一小会,在上课😋
from typora-copilot.
from typora-copilot.
公式编辑时有bug,有时在源代码模式下编辑公式(行间)会自动补全(没按tab),预览模式下有时会出现错误的补全(具体现象有点怪,之后补充),感谢大佬
这个可能不只是限于公式编辑的 BUG,目前源码模式在边界情况下确实会神秘触发自动补全。主要 Typora 源码模式用的 CodeMirror 实现,它原生不支持 GitHub Copilot 这种灰色字符提示,我用了一些非常 Hacking 的方式去实现它,实际上就是先插入补全的文本然后将其设置为灰色,并检查用户之后是否有移动光标、键入字符等操作,如果有则撤销😂。这个实现方式很明显会有很多不可知的 BUG,我会尽量在代码实现里加更多判断逻辑减少 BUG,但别抱太大期待
每次删除时更容易在源代码下自动补全,是不是没有做这个逻辑检查(delete)
from typora-copilot.
from typora-copilot.
就在这里卡住了,然后对于键盘行为无响应
from typora-copilot.
我是学通信的,虽然对这些很感兴趣,但是前端帮不上什么忙😂,感谢大佬
from typora-copilot.
Related Issues (13)
- 行间公式编辑时 copilot 会自动替换 HOT 3
- MacOS bugfix HOT 3
- BUG REPORT: 安装插件后编辑面板无法正常显示 HOT 5
- Typora Copilot: Node.js is required on macOS, Node.js >= 18 is required to run this plugin. HOT 10
- completion deactivation HOT 3
- Can not find the "Disable completions" button. HOT 2
- slow down Typora response HOT 1
- Wish list: add a development guide
- Not work for the latest Typora version (1.9.4) on MacOS HOT 10
- typora copilot:dialog.warn-nodejs-required-for-typora-under-1-6.title HOT 2
- mydockfinder截图工具失灵 HOT 2
- 没有index.js这个文件 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typora-copilot.