在我的設置中,Intellij Flutter插件不支持Java代碼。它將Java類視爲文本文件。flutter intellij插件:java語言支持?
有什麼辦法讓Intellij支持我使用Android特定的Java代碼? (類型檢查,完成建議,進口,重構......)
這是我撲醫生輸出:
[✓] Flutter (on Linux, channel master)
• Flutter at /home/*****/flutter/flutter
• Framework revision 99ca38e988 (4 days ago), 2017-03-01 13:15:48
• Engine revision 74de13c0bd
• Tools Dart version 1.23.0-dev.2.0
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.2)
• Android SDK at /home/*****/Android/Sdk
• Platform android-25, build-tools 25.0.2
• ANDROID_HOME = /home/*****/Android/Sdk
• OpenJDK Runtime Environment (build 1.8.0_121-b13)
[✓] Android Studio (version 2.2)
• Android Studio at /opt/android-studio
• Gradle version 2.14.1
[-] WebStorm (version 2016.3)
• Flutter plugin not installed; this adds Flutter specific functionality.
• For information about managing plugins, see
https://www.jetbrains.com/help/idea/managing-plugins.html
[✓] IntelliJ IDEA Ultimate Edition (version 2016.3)
• Dart plugin version 163.13137
• Flutter plugin version 0.1.11.1
[✓] Connected devices
• None