As the title says, how do I set IntelliJ to warn me when there is no this when accessing instance variables.
I know in Eclipse you could set this but I’m not sure how to do that in IntelliJ.
For example
private String field1
field1 << I should be this.field1 instead.
To enable warnings about accessing fields and methods not qualified with
thisin IntelliJ, enable the following code inspections: