No Copilot Completions since update to 1.5.36-242

Since the change to the inline completion api, which was announced in the change notes for 1.5.36-242, I don't get any code completions from Copilot anymore. I've tried restarting Webstorm several times and also enabling and disabling completions in the plugin. Nothing seems to help.

I'm assuming it has something to do with the inline completion api. 

My Org doesn't have a license for the integrated AI Assistant, maybe there is something going on there… 

Does anyone have any ideas on how I could fix it? It's really annoying to not have the code completion I've gotten so used to. 

(I also tried updating to the nightly version 1.5.36.9068-242-nightly, but that also didn't help)
(The plugin also seems to have the same issue with Rider since the update, since I don't get any completions over there either)

1

I also get an error in Webstorm, when I start typing after the restart:

java.lang.NoClassDefFoundError: com/intellij/ide/highlighter/JavaFileType
    at com.github.copilot.platform.utils.VirtualFileKt.isJavaFile(VirtualFile.kt:19)
    at com.github.copilot.completion.context.provider.ContextProvider$Companion.contextForFile(ContextProvider.kt:58)
    at com.github.copilot.completion.context.provider.ContextProvider$Companion.contextForFile(ContextProvider.kt:63)
    at com.github.copilot.completion.context.provider.ContextProvider.contextForFile(ContextProvider.kt)
    at com.github.copilot.lang.agent.CopilotAgentCompletionService.fetchInlineCompletions(CopilotAgentCompletionService.java:92)
    at com.github.copilot.inline.CopilotInlineCompletionProviderBase.fetchCompletions(CopilotInlineCompletionProviderBase.kt:177)
    at com.github.copilot.inline.CopilotInlineCompletionProviderBase.fetchCompletions(CopilotInlineCompletionProviderBase.kt:112)
    at com.github.copilot.inline.CopilotInlineCompletionProviderBase.getSuggestionDebounced$suspendImpl(CopilotInlineCompletionProviderBase.kt:40)
    at com.github.copilot.inline.CopilotInlineCompletionProviderBase.getSuggestionDebounced(CopilotInlineCompletionProviderBase.kt)
    at com.intellij.codeInsight.inline.completion.DebouncedInlineCompletionProvider.debounce(DebouncedInlineCompletionProvider.kt:75)
    at com.intellij.codeInsight.inline.completion.DebouncedInlineCompletionProvider$debounce$1.invokeSuspend(DebouncedInlineCompletionProvider.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Caused by: java.lang.ClassNotFoundException: com.intellij.ide.highlighter.JavaFileType PluginClassLoader(plugin=PluginDescriptor(name=GitHub Copilot, id=com.github.copilot, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/WebStorm2024.3/plugins/github-copilot-intellij, version=1.5.36.9068-242-nightly, package=null, isBundled=false), packagePrefix=null, state=active, parents=PluginDescriptor(name=GitHub, id=org.jetbrains.plugins.github, moduleName=intellij.vcs.github/tracker, descriptorPath=intellij.vcs.github.tracker.xml, path=~/Library/Application Support/JetBrains/WebStorm2024.3/plugins/vcs-github-ultimate, version=243.24978.79-ultimate, package=org.jetbrains.plugins.github.tasks, isBundled=false), PluginDescriptor(name=Git, id=Git4Idea, moduleName=intellij.vcs.git/terminal, descriptorPath=intellij.vcs.git.terminal.xml, path=~/Applications/WebStorm.app/Contents/plugins/vcs-git, version=243.24978.60, package=git4idea.terminal, isBundled=true), PluginDescriptor(name=Git, id=Git4Idea, moduleName=intellij.vcs.git/newUiOnboarding, descriptorPath=intellij.vcs.git.newUiOnboarding.xml, path=~/Applications/WebStorm.app/Contents/plugins/vcs-git, version=243.24978.60, package=git4idea.newUiOnboarding, isBundled=true), PluginDescriptor(name=GitHub, id=org.jetbrains.plugins.github, moduleName=intellij.vcs.github.ultimate/cron, descriptorPath=intellij.vcs.github.ultimate.cron.xml, path=~/Library/Application Support/JetBrains/WebStorm2024.3/plugins/vcs-github-ultimate, version=243.24978.79-ultimate, package=com.intellij.vcs.github.ultimate.cron, isBundled=false), PluginDescriptor(name=GitHub, id=org.jetbrains.plugins.github, moduleName=intellij.vcs.github.ultimate/docker, descriptorPath=intellij.vcs.github.ultimate.docker.xml, path=~/Library/Application Support/JetBrains/WebStorm2024.3/plugins/vcs-github-ultimate, version=243.24978.79-ultimate, package=com.intellij.vcs.github.ultimate.action.runs.docker, isBundled=false), PluginDescriptor(name=Git, id=Git4Idea, moduleName=intellij.vcs.git.coverage, descriptorPath=intellij.vcs.git.coverage.xml, path=~/Applications/WebStorm.app/Contents/plugins/vcs-git, version=243.24978.60, package=com.intellij.vcs.git.coverage, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.impl, descriptorPath=intellij.platform.vcs.impl.xml, path=~/Applications/WebStorm.app/Contents/lib, version=243.24978.60, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.log.impl, descriptorPath=intellij.platform.vcs.log.impl.xml, path=~/Applications/WebStorm.app/Contents/lib, version=243.24978.60, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.dvcs.impl, descriptorPath=intellij.platform.vcs.dvcs.impl.xml, path=~/Applications/WebStorm.app/Contents/lib, version=243.24978.60, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.collaborationTools, descriptorPath=intellij.platform.collaborationTools.xml, path=~/Applications/WebStorm.app/Contents/lib, version=243.24978.60, package=null, isBundled=true), PluginDescriptor(name=Git, id=Git4Idea, descriptorPath=plugin.xml, path=~/Applications/WebStorm.app/Contents/plugins/vcs-git, version=243.24978.60, package=git4idea, isBundled=true), PluginDescriptor(name=GitHub, id=org.jetbrains.plugins.github, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/WebStorm2024.3/plugins/vcs-github-ultimate, version=243.24978.79-ultimate, package=com.intellij.vcs.github.ultimate, isBundled=false), )
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:157)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
    ... 17 more

0

Unfortunately, we cannot recommend any solution here since Copilot is a third-party plugin that is developed and maintained by GitHub. I recommend that you contact the plugin vendor.

Similar issue: https://github.com/orgs/community/discussions/152449
 

0

请先登录再写评论。