Belmin Fernandez Belmin Fernandez - 2 years ago 333
Python Question

Python correctness (i.e., lint) analyzing for Notepad++

Does anyone know of anything like pylint or pychecker for notepad++? Or perhaps how to use pylint in notepad++.

Tom Tom
Answer Source

If you install the Python Script plugin, then you can add a new script with the following lines to get pretty good results:
console.clear()'cmd.exe /c '
            + 'C:\\Python26\\Scripts\\pylint.bat --reports=n -f parseable '
            + '"%s"' % notepad.getCurrentFilename())

The output will include hyperlinks to the lines with the errors/warnings (if the filenames don't have spaces in them...)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download