flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

In Android Studio, "new package" is shown where it should be "new folder"

Open azimuthdeveloper opened this issue 1 year ago • 0 comments

All the way back in 2020, I logged this issue about right clicking on the lib folder in Android Studio and having "new package" instead of "new folder". Apparently, it was fixed, but it's not the case in the Koala update at least.

image

I believe the "package" nomenclature is a holdover from Android apps that would use "package" as they are Java apps. But in Flutter it doesn't make sense.

From @stevemessick 's comment, it seems like this could be a regression:

image

(https://github.com/flutter/flutter-intellij/issues/4955)

Steps to Reproduce

  1. Right click to create a new folder in AS
  2. Get "new package" instead of "new folder"

Version info

[√] Flutter (Channel stable, 3.24.0, on Microsoft Windows [Version 10.0.22631.3880], locale en-AU) • Flutter version 3.24.0 on channel stable at E:\flutter\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 80c2e84975 (10 days ago), 2024-07-30 23:06:49 +0700 • Engine revision b8800d88be • Dart version 3.5.0 • DevTools version 2.37.2

[√] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\lewis\AppData\Local\Android\sdk X cmdline-tools component is missing Run path/to/sdkmanager --install "cmdline-tools;latest" See https://developer.android.com/studio/command-line for more details. X Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/to/windows-android-setup for more details.

[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Professional 2022 17.9.2) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Professional • Visual Studio Professional 2022 version 17.9.34622.214 • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.1) • Android Studio at C:\Users\lewis\AppData\Local\Programs\Android Studio • 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 17.0.11+0--11852314)

[√] IntelliJ IDEA Ultimate Edition (version 2024.1) • IntelliJ at C:\Users\lewis\AppData\Local\Programs\IntelliJ IDEA Ultimate • 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

[√] VS Code (version 1.91.1) • VS Code at C:\Users\lewis\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.92.0

[√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22631.3880] • Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.99 • Edge (web) • edge • web-javascript • Microsoft Edge 127.0.2651.86

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

! Doctor found issues in 1 category.

azimuthdeveloper avatar Aug 09 '24 14:08 azimuthdeveloper