Jan Chunn wrote:
> Hello,
> I'm new to SciTE and have attempted to add (any)program to tools menu,
> but can't get it.
> Ideally, I'ld like to run pychecker on current buffer.  Winxp sp1 latest
> SciTE release.

In <http://scintilla.sourceforge.net/SciTEDoc.html> do a search for
"command.name" - I'll paste the first bit of the description here:

> Extra commands can be added to the Tools menu. For example to include
> the 'astyle' indenter, the properties file could contain
> 
> command.name.0.*.cc=Indent
> command.0.*.cc=astyle -taO $(FileNameExt)
> command.is.filter.0.*.cc=1
> 
> The first line defines the string that will appear in the Tools menu
> (immediately below 'Go'. The second line is the command string,
> similar to those of the compile, build, and go commands. The optional
> command.is.filter property states that the command modifies the
> current file so it may need to be read in after performing the
> command if load.on.activate is set.

The page is also available locally from the "Help/SciTE Help" menu
option inside SciTE. In your case, open SciTEUser.properties (from
"Options/Open User Options File") and add something along the lines of:

command.name.0.*.py=Run pychecker on current buffer
command.0.*.py=pychecker $(FileNameExt)

changing the name, number and exact syntax to suit.

HTH,
-- 
                Alphax
        Death to all fanatics!
  Down with categorical imperative!
OpenPGP key: http://tinyurl.com/lvq4g

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to