Skip to content

Dart extension methods are not autocompleted #49617

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

Closed
vanlooverenkoen opened this issue Jan 28, 2020 · 3 comments
Closed

Dart extension methods are not autocompleted #49617

vanlooverenkoen opened this issue Jan 28, 2020 · 3 comments
Labels
customer: crowd Affects or could affect many people, though not necessarily a specific customer. framework flutter/packages/flutter repository. See also f: labels.

Comments

@vanlooverenkoen
Copy link
Contributor

vanlooverenkoen commented Jan 28, 2020

I have to import the file manualy every time I want to use one of my extensions from my extensionsfile

I use android studio.

[✓] Flutter (Channel unknown, v1.12.13+hotfix.5, on Mac OS X 10.15.1 19B88, locale en-BE)
    • Flutter version 1.12.13+hotfix.5 at /Users/vanlooverenkoen/flutter
    • Framework revision 27321ebbad (7 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/vanlooverenkoen/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.7.5

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

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] VS Code (version 1.41.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (5 available)
    • AOSP on IA Emulator • emulator-5554                        • android-x86    • Android 9 (API 28) (emulator)
    • iPhone 11 Pro Max   • F2704E51-185C-4E5F-BC54-8FB1BA3C43BE • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)
    • macOS               • macOS                                • darwin-x64     • Mac OS X 10.15.1 19B88
    • Chrome              • chrome                               • web-javascript • Google Chrome 78.0.3904.108
    • Web Server          • web-server                           • web-javascript • Flutter Tools

! Doctor found issues in 1 category.

dart-lang/sdk#40365

@iapicca
Copy link
Contributor

iapicca commented Jan 29, 2020

Hi @vanlooverenkoen

I'm not sure that the issue you are describing
can be fixed within Flutter itself;

following the indication of jetbrains' Flutter plugin
the correct way to address the problem
is to open an issue on the dedicated github

and of course the counterpart VS Code Flutter Extension
has a dedicated github as well.

I'm not confident enough to assess the situation
I'd keep the issue open for now.

Thank you for the contribution

@iapicca iapicca added tool Affects the "flutter" command-line tool. See also t: labels. framework flutter/packages/flutter repository. See also f: labels. labels Jan 29, 2020
@iapicca iapicca added the customer: crowd Affects or could affect many people, though not necessarily a specific customer. label Jan 29, 2020
@jmagman jmagman removed the tool Affects the "flutter" command-line tool. See also t: labels. label Jan 30, 2020
@pedromassangocode
Copy link

Hi @vanlooverenkoen
From what I can see, the issue is related to the Dart language rather than to Flutter itself. Please open the issue in the dedicated repository.

This may be a duplicate of one of the issues in that repository, please see dart-lang/sdk#38894.

Closing, as this isn't an issue with Flutter itself.
Thank you

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
customer: crowd Affects or could affect many people, though not necessarily a specific customer. framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

No branches or pull requests

4 participants