V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
szq8014
V2EX  ›  Java

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

  •  
  •   szq8014 · 2018-11-24 10:31:01 +08:00 · 2337 次点击
    这是一个创建于 2196 天前的主题,其中的信息可能已经有所发展或是发生改变。

    code 菜单下无 Generate 选项了

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

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

    mchong
        1
    mchong  
       2018-11-24 10:36:12 +08:00
    我的没有问题。就在 Delegate Methods 下面。
    szq8014
        2
    szq8014  
    OP
       2018-11-24 10:36:32 +08:00
    ![再贴一下自己的插件]( )

    Alibaba Java Coding Guidelines
    GsonFormat
    IdeaVim
    Lombok
    Maven Helper
    Rainbow Brackets
    szq8014
        3
    szq8014  
    OP
       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
        4
    szq8014  
    OP
       2018-11-24 10:52:17 +08:00
    问题解决了,我之前把 groovy plugin 干掉了(又不写 groovy ),再安装上就可以了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2720 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 15:42 · PVG 23:42 · LAX 07:42 · JFK 10:42
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.