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

Make auto generation of local vars in Dart configurable / IntelliJ / Dart Analysis Server protocol #28774

Open
MikeMitterer opened this issue Feb 15, 2017 · 2 comments
Labels
area-intellij Tracking issues for the Dart IntelliJ plugin.

Comments

@MikeMitterer
Copy link

class MySimpleClass {
   // whatever
}

void mySimpleFunction() {
    new MySimpleClass();
}

If I click on "autogenerate local variable" in IntelliJ it gives me:

var xyz = new MySimpleClass();

I hate that! Autocompletion of vars in Dart is useless for me.
I don't want a var I want final MySimpleClass xyz. Please make this configurable. The Dart-styleguide should help - not dictate.

https://youtrack.jetbrains.com/issue/WEB-22385

@bwilkerson bwilkerson added the area-intellij Tracking issues for the Dart IntelliJ plugin. label Feb 15, 2017
@MikeMitterer
Copy link
Author

var without Type-Information: THIS IS NOT A GOOD PROGRAMMING-STYLE.

capturfiles-20170307_123618

@zoechi
Copy link
Contributor

zoechi commented Mar 8, 2017

Somewhat related #26050 (to customize some quck-fix behavior)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-intellij Tracking issues for the Dart IntelliJ plugin.
Projects
None yet
Development

No branches or pull requests

3 participants