When using auto assist to fill possible properties, filter the possible types
See original GitHub issueWhen filling in widget properties, and they are expecting an a specific type, such as an enum, it would be really nice and much faster if filtered the types and suggested those as the options. It’s pointless to have the entire type list on auto assistance. And to find the type it expects I have to climb into the super class every time.
Bonus points if you can add the dart docs to the right when hovering over the type options. This is another activity that consumes much time figuring which each option does.
Steps to Reproduce
- Add the property name such as
Wrap.direction
property. - Look at the list it auto suggests. (control + space)
Possible List:
Axis.horizontal
Axis.vertical
Version info
[✓] Flutter (on Mac OS X 10.12.5 16F73, locale en-US, channel master)
• Flutter at /Users/branflake2267/git/flutter
• Framework revision 6f77b4a9a7 (4 hours ago), 2017-06-14 17:27:08 -0700
• Engine revision 18fdfb86bb
• Tools Dart version 1.24.0-dev.6.7
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.0)
• Android SDK at /Users/branflake2267/Library/Android/sdk
• Platform android-26, build-tools 26.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 8.3.3, Build version 8E3004b
• ios-deploy 1.9.1
• CocoaPods version 1.2.1
[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Gradle version 3.2
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Community Edition (version 2017.1.4)
• Flutter plugin version 14.0
• Dart plugin version 171.4694.29
[✓] IntelliJ IDEA Ultimate Edition (version 2017.1.4)
• Flutter plugin version 14.0
• Dart plugin version 171.4694.29
[✓] Connected devices
• iPhone 7 • 458BC4FE-8205-4369-8718-193B9FC88C8B • ios • iOS 10.3 (simulator)
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Filter data in a range or table - Microsoft Support
Filter a range of data. Select any cell within the range. Select Data > Filter. Filter button. Select the column header arrow Filter...
Read more >Apply a filter to view select records in an Access database
Filtering is a useful way to see only the data that you want displayed in Access databases. You can use filters to display...
Read more >Video: Sort, filter, summarize, and calculate your PivotTable data
We'll also look at how to filter, summarize and calculate your data. ... Sort, filter, and calculate. Excel 2013 training ... Available chart...
Read more >filter - CSS: Cascading Style Sheets - MDN Web Docs
The filter CSS property applies graphical effects like blur or color shift to an element. Filters are commonly used to adjust the rendering ......
Read more >Intents and Intent Filters - Android Developers
An intent filter is an expression in an app's manifest file that specifies the type of intents that the component would like to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://dart-review.googlesource.com/c/sdk/+/52863 switches to prioritizing relevant types.
Nice job!