flutter / flutter-intellij

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

No Flutter Outline in fresh install #7223

Open Piinks opened 8 months ago

Piinks commented 8 months ago

Steps to Reproduce

I was using IntelliJ Ultimate Edition, but found the Flutter Outline was not working for a while. I was able to see the outline, and navigate by clicking on it, but it would not reflect where I was in the outline when I navigated the file with the cursor. There was other IDE bugginess unassociated with the Flutter plugin, and I heard from a colleague that they had no issues, so I decided to go for a clean up and fresh install.

I uninstalled Ultimate Edition, and installed the Community Edition of IntelliJ (to match my colleague), reinstalling the Flutter and Dart plugins. With my fresh install, there is no Flutter Outline in the sidebar now. :(

Version info

[!] Flutter (Channel [user-branch], 3.20.0-7.0.pre.30, on macOS 14.3 23D56 darwin-x64, locale en)
    ! Flutter version 3.20.0-7.0.pre.30 on channel [user-branch] at /Users/katelovett/_github/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at
      https://flutter.dev/docs/get-started/install.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
    • Framework revision 1e6853291e (40 minutes ago), 2024-02-15 11:12:04 -0600
    • Engine revision 920874bf2c
    • Dart version 3.4.0 (build 3.4.0-137.0.dev)
    • DevTools version 2.33.0-dev.6
    • If those were intentional, you can disregard the above warnings; however it is recommended to use
      "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/katelovett/Library/Android/sdk
    • Platform android-34, build-tools 33.0.2
    • Java binary at: /Applications/Android Studio with Blaze.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version unknown)
    • Android Studio at /Applications/Android Studio with Blaze Beta.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio with Blaze.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] IntelliJ IDEA Community Edition (version 2022.3.3)
    • IntelliJ at /Users/katelovett/Library/Application Support/JetBrains/IntelliJCE_Base2022.3/IntelliJ
      IDEA CE.app
    • Flutter plugin version 77.1.1
    • Dart plugin version 223.8977

[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.3)
    • IntelliJ at /Users/katelovett/Library/Application Support/JetBrains/IntelliJUE_Base2022.3/IntelliJ
      IDEA.app
    • Flutter plugin version 75.1.2
    • Dart plugin version 223.8950

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.3 23D56 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 121.0.6167.160

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.
jwren commented 8 months ago

The Flutter Plugin no longer pushes out versions to the 2022.3 platform version, try updating to a version of Community in 2023.x.

Piinks commented 8 months ago

Hmm.. it's Google managed and won't update any further. When I try to update it says it is up to date.

Piinks commented 8 months ago

Looks like a different install, (went back to Ultimate Edition) produces the same results. This time 2023.3.4 :(

Piinks commented 8 months ago

Same for Community Edition 2023.3.4

I went ahead and downloaded the publicly available installs so I could try the latest. None of them show a Flutter Outline.

Piinks commented 8 months ago

I've given up on trying to get this to work, but here is the Flutter doctor of the last clean and updated installation:

[!] Flutter (Channel [user-branch], 3.20.0-7.0.pre.30, on macOS 14.3 23D56 darwin-x64, locale en)
    ! Flutter version 3.20.0-7.0.pre.30 on channel [user-branch] at /Users/katelovett/_github/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at
      https://flutter.dev/docs/get-started/install.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
    • Framework revision 1e6853291e (4 hours ago), 2024-02-15 11:12:04 -0600
    • Engine revision 920874bf2c
    • Dart version 3.4.0 (build 3.4.0-137.0.dev)
    • DevTools version 2.33.0-dev.6
    • If those were intentional, you can disregard the above warnings; however it is recommended to use
      "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/katelovett/Library/Android/sdk
    • Platform android-34, build-tools 33.0.2
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment Zulu21.32+17-CA (build 21.0.2+13-LTS)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed
      instructions).

[✓] IntelliJ IDEA Community Edition (version 2023.3.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 77.3.1
    • Dart plugin version 233.13763.5

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.3 23D56 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 121.0.6167.160

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.