Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter 3.24 Breaks Extension Autocomplete #7602

Open
illumws opened this issue Aug 9, 2024 · 3 comments
Open

Flutter 3.24 Breaks Extension Autocomplete #7602

illumws opened this issue Aug 9, 2024 · 3 comments

Comments

@illumws
Copy link

illumws commented Aug 9, 2024

In Flutter version 3.24, when using Ctrl + Space to show methods created via extension, the autocomplete displays all locations where the extension is used, rather than just the file where it is declared.

Steps to Reproduce

Create an extension method in a Dart file.
Use Ctrl + Space to trigger autocomplete for the extension method.
Observe that the autocomplete shows all locations where the extension is used, not just the declaration file.

image

Version info

[√] Flutter (Channel stable, 3.24.0, on Microsoft Windows [versÆo 10.0.22631.3880], locale pt-BR)
    • Flutter version 3.24.0 on channel stable at C:\tools\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 35.0.0)
    • Android SDK at C:\Users\Alessandro\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 Community 2022 17.10.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.10.35027.167
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.1)
    • Android Studio at C:\Program Files\Android\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.10+0--11609105)

[√] IntelliJ IDEA Ultimate Edition (version 2024.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2024.1.4
    • Flutter plugin version 80.0.2
    • Dart plugin version 241.18808

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [versÆo 10.0.22631.3880]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 127.0.6533.100
    • 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.
@luckycreationsindia
Copy link

luckycreationsindia commented Aug 20, 2024

+1

Getting this issue with GoRouter I'm sure it's due to extension autocomplete issue.

@ChristopherLinnett
Copy link

+1

Have been having this issue for a little while. Incredibly frustrating making the autocomplete a hinderance instead of a help

@nickie1990
Copy link

+1 All extension autocompletions will have this problem, 3.19.5 will not have this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants