applying intentions to entire file

I get many intention "yellow marks" in my file. Most of them are good to have, but are very tedious if I go to them and apply them individually. Is it possible to apply an intention of certain type to all possible occurences?

For example, I have about 30 yellow marks for "convert for loop to 'for each'" intentions, can I do something to apply all those with fewer than 30 clicks, and selections?

Thanks.

1 comment
Comment actions Permalink

Hello Debabrata,

Press {Alt-Enter|Right|Fix all for file} on the problem

Thank you
-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

I get many intention "yellow marks" in my file. Most of them are good
to have, but are very tedious if I go to them and apply them
individually. Is it possible to apply an intention of certain type to
all possible occurences?

For example, I have about 30 yellow marks for "convert for loop to
'for each'" intentions, can I do something to apply all those with
fewer than 30 clicks, and selections?

Thanks.

---
Original message URL:
http://www.jetbrains.net/devnet/message/5233670#5233670



0

Please sign in to leave a comment.