flutter / flutter-intellij

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

Unable to see test icons in gutter #3398

Open pavanpodila opened 5 years ago

pavanpodila commented 5 years ago

Unable to see any gutter icons for test files.

Steps to Reproduce

Open *_test.dart files and no Run icons show up in the gutter.

image

Notice that on line no. 32, there are no icons for running the test.

Version info

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.4 18E226, locale en-GB) [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) [✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1) [!] Android Studio (version 3.4) ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. [✓] IntelliJ IDEA Ultimate Edition (version 2019.1.1) [✓] VS Code (version 1.33.1) [✓] Connected device (1 available)

! Doctor found issues in 1 category.

trietbui85 commented 5 years ago

Hmm, I see in your flutter doctor, there is no Flutter and Dart plugin installed. Is that the reason why no gutter icon for running test?

✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
pavanpodila commented 5 years ago

That's for Android Studio. I do have it installed for IntelliJ

devoncarew commented 5 years ago

cc @DaveShuckerow

DaveShuckerow commented 5 years ago

Hi @pavanpodila,

To get more information about how to reproduce this, can you share the results of flutter doctor -v?

No version information for the installed IntelliJ plugins is available in the summary in the first comment.

Thanks.

pavanpodila commented 5 years ago
➜  ~ flutter doctor -v
[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.6 18G84, locale en-GB)
    • Flutter version 1.7.8+hotfix.4 at /Users/pavpodil/sdks/flutter
    • Framework revision 20e59316b8 (3 weeks ago), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/pavpodil/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Users/pavpodil/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/183.5692245/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.6.1

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[!] Android Studio (version 3.4)
    • Android Studio at /Users/pavpodil/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/183.5692245/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.2)
    • IntelliJ at /Users/pavpodil/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 36.1.5
    • Dart plugin version 192.5118.44

[✓] VS Code (version 1.36.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.3.0

[✓] Connected device (1 available)
    • iPhone X • CA709375-F5BD-435A-B09D-ED735AC89996 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

! Doctor found issues in 1 category.
MCOfficer commented 5 years ago

For me, this was actually fixed with yesterday's patch (#3740), so supposedly #3741

cubuspl42 commented 4 years ago

For me, icons are disappearing all the time. Restarting Intellij helps for a moment, but then it happens again.

isorensen commented 4 years ago

Issue for me is similar. The three icons above work, but the three below don't. image