-
Notifications
You must be signed in to change notification settings - Fork 13
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
会破坏goland的项目索引 #48
Comments
在 goland eap 版本中拿到报错 java.lang.Throwable: Slow operations are prohibited on EDT. See SlowOperations.assertSlowOperationsAreAllowed javadoc. |
报错是说在 UI 线程执行了个慢操作,之前写异步的时候没看源码用了两个不是异步的方法包裹,尝试修改如下,你更新到 2.12 版本看看。
show-comment/src/main/java/io/github/linwancen/plugin/show/ext/conf/ConfCache.java Lines 120 to 134 in bced7c4
|
ok,我更新试一下。
周星
***@***.***
…------------------ 原始邮件 ------------------
发件人: "LinWanCen/show-comment" ***@***.***>;
发送时间: 2023年11月30日(星期四) 上午7:44
***@***.***>;
***@***.******@***.***>;
主题: Re: [LinWanCen/show-comment] 会破坏goland的项目索引 (Issue #48)
报错是说在 UI 线程执行了个慢操作,之前写异步的时候没看源码用了两个不是异步的方法包裹,尝试修改如下,你更新到 2.12 版本看看。
DumbService.getInstance(project).runReadActionInSmartMode(() -> ApplicationManager.getApplication().runReadAction(() -> { 改成 DumbService.getInstance(project).smartInvokeLater(() -> {
https://github.com/LinWanCen/show-comment/blob/bced7c48058cd949c4d8f227aacfb3f17bb7a646/src/main/java/io/github/linwancen/plugin/show/ext/conf/ConfCache.java#L120-L134
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
您好,这个问题现在还出现吗? |
在goland中使用这个插件会导致项目所以失效,需要清除缓存重新建立索引才能修复
Goland: 2023.2.2
插件:2.10.0.2023.09.06_08.08
日志没了~~
The text was updated successfully, but these errors were encountered: