SciTE, the programmer's editor, is completely configurable using Lua. Commands (eg: syntax check, compile, make) can be configured based on the file types. Scite has one command "Syntax Check" for python by default (`Ctrl-``). Adding new commands is easy.
Adding a PEP8 check to Scite is easy.
Open up /usr/share/scite/python.properties
and add these two lines
to the bottom of the file:
command.name.2.*.py=Run PEP8
command.2.*.py=pep8 $(FilePath)
The 2 maps the command to Ctrl-2
.
Note:Install pep8
commmand with pip
or easy_install
.
© 2003-2011 Pradeep Gowda