有没有更新 Jetbrains IDEA 2018.3 的小伙伴,更新后你们的 code -> generate 功能还有吗?

2018-11-24 10:31:01 +08:00
 szq8014

今天写代码 Alt + Insert 功能 (generate) 不弹出来了,看了下 keymap 里面绑定还是正常的,以为自己的配置出啥 1 蛾子了,决定手动去找那个 generate 功能发现也没有 0.0.

只有我自己一个人吗,准备提 BUG 了

2357 次点击
所在节点    Java
4 条回复
mchong
2018-11-24 10:36:12 +08:00
我的没有问题。就在 Delegate Methods 下面。
szq8014
2018-11-24 10:36:32 +08:00
![再贴一下自己的插件]( )

Alibaba Java Coding Guidelines
GsonFormat
IdeaVim
Lombok
Maven Helper
Rainbow Brackets
szq8014
2018-11-24 10:49:12 +08:00
```log
2018-11-24 10:47:10,891 [ 7644] ERROR - oncurrency.BoundedTaskExecutor - org/jetbrains/plugins/groovy/codeInspection/BaseInspection
java.lang.NoClassDefFoundError: org/jetbrains/plugins/groovy/codeInspection/BaseInspection
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.lang.ClassLoader.defineClass(ClassLoader.java:642)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:295)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:291)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:260)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:132)
at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.java:60)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassFromParents(PluginClassLoader.java:106)
at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.java:64)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:47)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.lang.ClassLoader.defineClass(ClassLoader.java:642)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:295)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:291)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:260)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:132)
at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.java:60)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:47)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at com.intellij.openapi.extensions.AbstractExtensionPointBean.findClass(AbstractExtensionPointBean.java:35)
at com.intellij.openapi.extensions.AbstractExtensionPointBean.instantiate(AbstractExtensionPointBean.java:56)
at com.intellij.codeInspection.InspectionEP.instantiateTool(InspectionEP.java:155)
at com.intellij.codeInspection.ex.InspectionToolWrapper.getTool(InspectionToolWrapper.java:70)
at com.intellij.codeInspection.ex.InspectionToolWrapper.getStaticDescription(InspectionToolWrapper.java:156)
at com.intellij.codeInspection.ex.InspectionToolWrapper.loadDescription(InspectionToolWrapper.java:160)
at com.intellij.codeInspection.ex.InspectionSearchableOptionContributor.processOptions(InspectionSearchableOptionContributor.java:44)
at com.intellij.ide.ui.search.SearchableOptionPreloader.preload(SearchableOptionPreloader.java:49)
at com.intellij.openapi.application.Preloader.lambda$null$0(Preloader.java:66)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
at com.intellij.openapi.application.Preloader.lambda$initComponent$1(Preloader.java:63)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:227)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$100(BoundedTaskExecutor.java:26)
at com.intellij.util.concurrency.BoundedTaskExecutor$2$1.run(BoundedTaskExecutor.java:200)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:229)
at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:194)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.jetbrains.plugins.groovy.codeInspection.BaseInspection PluginClassLoader[org.jetbrains.plugins.gradle, 183.4284.148] com.intellij.ide.plugins.cl.PluginClassLoader@16c2ca02
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:49)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 47 more
2018-11-24 10:47:10,891 [ 7644] ERROR - oncurrency.BoundedTaskExecutor - IntelliJ IDEA 2018.3 Build #IC-183.4284.148
2018-11-24 10:47:10,891 [ 7644] ERROR - oncurrency.BoundedTaskExecutor - JDK: 1.8.0_152-release; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2018-11-24 10:47:10,891 [ 7644] ERROR - oncurrency.BoundedTaskExecutor - OS: Windows 10
2018-11-24 10:47:10,891 [ 7644] ERROR - oncurrency.BoundedTaskExecutor - Last Action:
2018-11-24 10:47:10,953 [ 7706] ERROR - oncurrency.BoundedTaskExecutor - org/jetbrains/plugins/groovy/lang/psi/api/statements/expressions/path/GrMethodCallExpression
java.lang.NoClassDefFoundError: org/jetbrains/plugins/groovy/lang/psi/api/statements/expressions/path/GrMethodCallExpression
at org.jetbrains.plugins.gradle.integrations.maven.codeInsight.completion.MavenDependenciesGradleCompletionContributor.<clinit>(MavenDependenciesGradleCompletionContributor.kt:112)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at com.intellij.openapi.extensions.AbstractExtensionPointBean.findClass(AbstractExtensionPointBean.java:35)
at com.intellij.openapi.extensions.CustomLoadingExtensionPointBean.instantiateExtension(CustomLoadingExtensionPointBean.java:46)
at com.intellij.lang.LanguageExtensionPoint.access$000(LanguageExtensionPoint.java:28)
at com.intellij.lang.LanguageExtensionPoint$1.compute(LanguageExtensionPoint.java:42)
at com.intellij.openapi.util.NotNullLazyValue.getValue(NotNullLazyValue.java:39)
at com.intellij.lang.LanguageExtensionPoint.getInstance(LanguageExtensionPoint.java:53)
at com.intellij.codeInsight.completion.CompletionPreloader.preload(CompletionPreloader.java:32)
at com.intellij.openapi.application.Preloader.lambda$null$0(Preloader.java:66)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
at com.intellij.openapi.application.Preloader.lambda$initComponent$1(Preloader.java:63)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:227)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$100(BoundedTaskExecutor.java:26)
at com.intellij.util.concurrency.BoundedTaskExecutor$2$1.run(BoundedTaskExecutor.java:200)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:229)
at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:194)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.path.GrMethodCallExpression PluginClassLoader[org.jetbrains.plugins.gradle, 183.4284.148] com.intellij.ide.plugins.cl.PluginClassLoader@16c2ca02
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:49)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 25 more
2018-11-24 10:47:10,953 [ 7706] ERROR - oncurrency.BoundedTaskExecutor - IntelliJ IDEA 2018.3 Build #IC-183.4284.148
2018-11-24 10:47:10,953 [ 7706] ERROR - oncurrency.BoundedTaskExecutor - JDK: 1.8.0_152-release; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2018-11-24 10:47:10,953 [ 7706] ERROR - oncurrency.BoundedTaskExecutor - OS: Windows 10
2018-11-24 10:47:10,953 [ 7706] ERROR - oncurrency.BoundedTaskExecutor - Last Action:
2018-11-24 10:47:10,969 [ 7722] INFO - .openapi.application.Preloader - com.intellij.ide.actions.GotoClassPresentationUpdater took 6 ms
2018-11-24 10:47:39,037 [ 35790] INFO - ellij.project.impl.ProjectImpl - 19 project components initialized in 141 ms
```
szq8014
2018-11-24 10:52:17 +08:00
问题解决了,我之前把 groovy plugin 干掉了(又不写 groovy ),再安装上就可以了。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/511027

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX