Flutter plugin: "Show Context Actions" menu incomplete for a couple of seconds

Answered

Hi!

I'm using the latest version of IntelliJ Ultimate with the Flutter plugin on my M1 MacBook. After referencing a new class in a Flutter file, IntelliJ shows an incomplete context menu for "Show Context Actions" ([Alt]-[Return]) for a couple of seconds. Only then does the "Import" action appear. An example video is below.

It ain't the end of the world. But this "three-second stop in my flow" is slightly annoying. This is a recent issue - first appeared a month or two ago.

Link to online video

Is that an IntelliJ issue or a Flutter plugin one?

Here's my IntelliJ configuration:

  • IntelliJ IDEA 2022.2.2 (Ultimate Edition)
  • Build #IU-222.4167.29, built on September 13, 2022
  • Runtime version: 17.0.4+7-b469.53 aarch64
  • VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  • macOS 12.6 on M1 Max MacBook Pro 16" with 64 GB RAM
  • GC: G1 Young Generation, G1 Old Generation
  • Memory: 8200M
  • Cores: 10
  • Metal Rendering is ON

Registry

  • ide.mac.alt.mnemonic.without.ctrl=false
  • debugger.watches.in.variables=false
  • ide.allow.merge.buttons=false
  • ide.balloon.shadow.size=0

Non-Bundled Plugins:

  • net.seesharpsoft.intellij.plugins.csv (2.19.0)
  • indent-rainbow.indent-rainbow (2.0.2)
  • com.tabnine.TabNine (0.7.25)
  • google-java-format (1.15.0.0)
  • com.dubreuia (2.3.0)
  • bundled-intellij-idea-help (222.4167.37)
  • com.intellij.plugins.webcomponents (222.4167.21)
  • Dart (222.4167.21)
  • CMD Support (1.0.5)
  • org.mapstruct.intellij (1.3.1)
  • zielu.gittoolbox (212.9.9)
  • io.flutter (70.0.5)
  • izhangzhihao.rainbow.brackets (6.26)
  • lermitage.intellij.extra.icons (2022.1.11)

Kotlin: 222-1.7.10-release-334-IJ4167.29

0
4 comments

Hi Karsten,

Sounds more like a Flutter plugin issue. I can see a bunch of similar reports on their issue tracker.

Is the issue reproducible with all downloaded plugins except Flutter disabled and IDE restarted?

Can you reproduce it in a different type of file with Flutter enabled/disabled?

0

@... Nothing says, "IntelliJ has a robust plugin API" like suggesting "Please disable all other plugins" as the first step of troubleshooting. 😁

I'll test this in the Community Edition of IntelliJ. It's just a big hassle to manually disable and enable all plugins in my IDE. Is there a way to export & import which plugins are enabled? "Export Settings" didn't seem to include it. And I don't know if "IDE Settings Syncs" lets me go back to "My enabled plugins from this morning".

0

The list of non-bundled (downloaded) plugins from the About info only consists of those that are currently enabled.

Downloaded plugins can all be disabled/enabled in one swift motion from within the Preferences | Plugins dialog:

 

0

@... Thank you for your comment! The "Disable/Enable all downloaded plugins" trick won't help: Only about half of them are enabled. And I disabled many bundled plugins, too. 

0

Please sign in to leave a comment.