flutter / flutter/flutter-intellij

Missing code completions on Android code for a plugin project

Open
#972 4 comments 0 reactions 0 assignees View on GitHub
▣ platform-android topic-ecosystem
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

The Android code for an app project (i.e., standard `flutter create` template) can be edited if configured using [these steps](https://flutter.io/intellij-ide/#edit-android-code).

This doesn't appear to work for plugin projects:

1. `flutter create --plugin myplugin`
1. `cd myplugin`
1. `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`
1. In line 28, type `result.`

=> no completions

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.