flutter / flutter-intellij

Flutter Plugin for IntelliJ
https://flutter.dev/using-ide
BSD 3-Clause "New" or "Revised" License
1.98k stars 319 forks source link

Missing code completions on Android code for a plugin project #972

Open mit-mit opened 7 years ago

mit-mit commented 7 years ago

The Android code for an app project (i.e., standard flutter create template) can be edited if configured using these steps.

This doesn't appear to work for plugin projects:

  1. flutter create --plugin myplugin
  2. cd myplugin
  3. idea .

=>

Dart analysis works as expected on lib/main.dart

Analysis appears to work for Java code, but code completions do not:

  1. Open android/src/.../MypluginPlugin.java
  2. In line 28, type result.

=> no completions

mit-mit commented 7 years ago

cc @skybrian

eseidelGoogle commented 7 years ago

@mit-mit the "these steps" self-links to this bug. :) . I'm interested in finding the one you meant.

mit-mit commented 7 years ago

Ah, meant to link to this: https://flutter.io/intellij-ide/#edit-android-code

mit-mit commented 7 years ago

@skybrian any ideas on this?