android studio do not highlight the flutter`s classes.
See original GitHub issue@winner484 commented on Sat Dec 22 2018
![Image] (https://i.stack.imgur.com/Uqz2Q.png)
this is a demo from flutter doc. but my android studio can not highlight the flutter`s class. what i get is down below.
![Image] (https://i.stack.imgur.com/iNRTU.png)
How can i do to highlight the flutter`s classes? thank you!
@zoechi commented on Sat Dec 22 2018
You shouldn’t need to do anything.
Have you tried restarting Android Studio?
Have you tried creating a new project using flutter create foo
and check if it happens there as well?
Please add the output of flutter doctor -v
.
@winner484 commented on Sun Dec 23 2018
You shouldn’t need to do anything.
Have you tried restarting Android Studio? Have you tried creating a new project using
flutter create foo
and check if it happens there as well?Please add the output of
flutter doctor -v
.
yes, tried restarting AS, tried using IJ, tried creating new project. flutter doctor -v looks good.
@zoechi commented on Sun Dec 23 2018
flutter doctor -v looks good.
is the least relevant part of the output
Please add the output of flutter doctor -v
.
@AlexeyPoldeo commented on Tue Jan 15 2019
Does not work for me as well
[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.14.2 18C54, locale en-BY)
• Flutter version 1.0.0 at /Users/a/flutter
• Framework revision 5391447fae (7 weeks ago), 2018-11-29 19:41:26 -0800
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/a/Library/Android/sdk
• Android NDK at /Users/a/Library/Android/sdk/ndk-bundle
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
✗ Android license status unknown.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.4
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 31.3.3
• Dart plugin version 182.5124
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
[!] IntelliJ IDEA Ultimate Edition (version 2018.2.5)
• IntelliJ at /Applications/IntelliJ IDEA.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
[!] IntelliJ IDEA Community Edition (version 2018.2.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
@zoechi commented on Tue Jan 15 2019
Try deleting ~/.dartServer/.analysis-driver/
@AlexeyPoldeo commented on Tue Jan 15 2019
No effect - still no highlighting
@AlexeyPoldeo commented on Tue Jan 15 2019
What does it mean? I’ve just provided more details.
@zoechi commented on Tue Jan 15 2019
@AlexeyPoldeo no worries, just a bit an overzealous bot. The bot only considers responses of the original issue author.
Have you tried restarting the IDE or perhaps even the machine?
@AlexeyPoldeo commented on Tue Jan 15 2019
Just restarted my mac - still does not work.
I’ve installed plugin on Android Studio and IntelliJ IDEA (both are recent version), it does highlight on both places.
@AlexeyPoldeo commented on Tue Jan 15 2019
I can type and autocompletion works fine, including Flutter classes. Outline works.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
Power saver mode will also have an impact File>Power Save Mode
According to the screenshots, code highlighting works fine. By default, classes do not have special highlighting. It’s possible to install 3rd party plugins that add color themes to IntelliJ IDEA or to tune standard color scheme in Settings (Preferences) | Editor | Color Scheme | Dart.