ThisInserter
JetBrains8d041a09-5bd9-4064-8340-482fbc30fd6e · v—
Add explicit this. to the front of member variables and method calls
Rating distribution
Reviews 3
As mentioned in the comment above IntelliJ does have a built-in inspection to add \"this.\" in front of member variables that I didn\'t know about when I wrote this plugin. The inspection is turned off by default. To turn it on go to File->Settings->Errors, then under IDEA Profiles click on Default. Then in the search box search for \"not qualified with\" and you should see it. However, the...
As mentioned in the comment above IntelliJ does have a built-in inspection to add "this." in front of member variables that I didn't know about when I wrote this plugin. The inspection is turned off by default. To turn it on go to File->Settings->Errors, then under IDEA Profiles click on Default. Then in the search box search for "not qualified with" and you should see it.
You might also want to look at the "Instance field access not qualified with 'this'" inspection from InspectionGadgets which is included with an IntelliJ IDEA install.
Similar in “Code Editing”
Rainbow Brackets
izhangzhihao
Full Line Code Completion
JetBrains
Package Checker
JetBrains
Amazon Q
AWS
OpenAPI Specifications
JetBrains
Makefile Language
JetBrains