flutter/packages/flutter_tools/lib/src/intellij
Nobuhiro Tabuki 4e2f82cf93
[flutter_tools] change the IntelliJ plugin detection logic. (#68020)
This PR suggests improving the IntelliJ plugin "jar" detection logic.

Previously:
The IntelliJ Flutter plugin was contained flutter-intellij.jar.
Currently:
It is named flutter-intellij-X.Y.Z.jar and does not contain META-INF/plugin.xml.
META-INF/plugin.xml is included in flutter-idea-X.Y.Z.jar.

So this PR changes the rules for searching the plugin's jar file.
Concretely, it looks for the jar file containing META-INF/plugin.xml in the plugin's package directory and reads the package version from its META-INF/plugin.xml.

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-10-19 08:19:48 -07:00
..
intellij_validator.dart [flutter_tools] Support IntelliJ 2020.1 and later on Linux and Windows (#58853) 2020-10-12 22:03:36 -07:00
intellij.dart [flutter_tools] change the IntelliJ plugin detection logic. (#68020) 2020-10-19 08:19:48 -07:00