flutter / flutter/flutter-intellij

Bugs and Wishlist for Intellij Flutter support...

Open
#4,165 6 comments 3 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

**Bugs(?)**
- Renaming a file should update import statements throughout the code.
- Overriding initState() in flutter should generate the default call to super.initState() (since intellj warns about this)
- Generated object instantiations in Dart no longer need the “new” keyword. (e.g. refactor->extract widget)
- Why does command-enter to “force complete” a statement add a newline in dart/flutter? (Is this configurable?)

**Wishlist**
- Ability to extract a class or widget to its own file. It’s really common to create a bunch of small widgets in a file and then as they grow want to break them out into their own files.
- Refactoring should allow removal of a “builder” style widget wrapper.
- Option when generating constructors to use the named arguments style (which would simply wrap the arguments list in {} curly braces, saving you a step if you do that every time).
- Option to preserve single extra lines at the start of a class, array, etc.

## Version info

Flutter version 1.12.15
IntelliJ IDEA 2019.3 (Ultimate Edition), Build #IU-193.5233.102, built on November 27, 2019
Latest version of all plugins.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.