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

Perhaps its not a good idea to trigger 'registerCompletionItemProvider' with 'value' #161

Closed
PisecesPeng opened this issue Aug 16, 2022 · 1 comment

Comments

@PisecesPeng
Copy link
Contributor

https://github.com/jaywcjlove/react-monacoeditor/blob/c83f9b2ed3adcb96aa9a4e4eadd05c0b9c92f96c/src/index.tsx#L136

大佬好,
感觉使用value去触发monaco.languages.registerCompletionItemProvider不是一个特别好的时机.
是不是可以调整下?

也许是我没有理解其中封装的逻辑.
Best regards!

@jaywcjlove
Copy link
Member

@PisecesPeng 优化非常好 👍 , 就是有点小瑕疵,我给修复了一下

Upgrade v3.5.5

github-actions bot pushed a commit that referenced this issue Aug 16, 2022
jaywcjlove added a commit that referenced this issue Aug 20, 2022
jaywcjlove added a commit that referenced this issue Aug 20, 2022
github-actions bot pushed a commit that referenced this issue Aug 20, 2022
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