I can change the colors of other types of code, including other types of variables, but I don't know the specific name of the variable that appears in for-loop declarations, and I can't find a for-loop in the example code.
for (int i = 0; i < arr.length; i++) {
// do something
}
How can I change the color of the i
that appears here in IntelliJ IDEA?
Editor > Color Scheme > Language Defaults
Then, the only type that the i
in a for loop falls under is Identifiers > Reassigned Local Variable
. Problem is, this changes any local variable that's reassigned, so not feasible.
The only way you're getting this to happen is by submitting a usability request... sorry.