-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Show unused variables in different color #2463
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
Comments
Added Area-Editor, Triaged labels. |
Set owner to @stevemessick. |
Added this to the Later milestone. |
Issue #3117 has been merged into this issue. |
Could be just warning, as for Java in Eclipse. Unused variable is a sloppy code, not something what you want to miss. |
What about cases like this: return entrypoint.installDependencies().transform((_) { Here, I'm waiting for the future to complete, but it doesn't complete with an interesting value. There's nothing at all wrong with this code, so I wouldn't want to see a warning or color here. |
Hm... Agree. I come here from http://code.google.com/p/dart/issues/detail?id=3117 which speaks about unused variables. This type of warning I'd like to have though. Best solution could be having just preference page with warnings and specific types of decorations for them. But I'm afraid that my team members will want to kick me for saying this :-) |
Issue #7818 has been merged into this issue. |
Issue #9147 has been merged into this issue. |
Added NotPlanned label. |
This issue was originally filed by @ahmetaa
Show unused class and method parameters in different color, possibly gray.
Editor Build: 5845
The text was updated successfully, but these errors were encountered: