Pydev-pylint fix all errors at once
Brought to you by:
fabioz
I am using the pylint plugin in pydev (eclipse) to check for static errors in my code. Often there will be same type of errors in many places, for example, unused variable i. Is there a way to execute one corrective step for all such cases instead of going to each error location. In this case I would like to rename any such unused variable as dummy, all at once. There are other similar errors like unnecessary semi-colons (I also code a lot of c++ :( ) and unused imports, which I want to delete all at once.
Thank you!
I fear that excessive automation might make Pydev so smart that it could damage source code in some quite sneaky ways.
If variable 'rimshot' is unused, then simply replacing it with 'dummy' might discard helpful information. What if unused variables had '_dummy' appended to them? They could be easily searched and would still retain the existing name.