Pelles C forum

Pelles C => General discussions => Topic started by: Emmanuel Delahaye on February 20, 2005, 10:57:33 AM

Title: External tools
Post by: Emmanuel Delahaye on February 20, 2005, 10:57:33 AM
Hi,

I'am trying to install an external tool (actually, a code indenter), and despite some research into the help files and FAQ, I was unable to find the parameter syntax for the command line. On UltraEdit, I use "%F"
...\indent.bat %F
to specify the focused source file. What would be the equivallent in Pelle C?

Thanks for having read me.

Emmanuel
Title: External tools
Post by: Garvan on February 20, 2005, 11:44:52 AM
Hi:

Open the new tool set-up box, click on the “?” and then on the “Arguments” edit box to get a list of allowed syntax. You are looking for something like $(FileName)

Have fun

Garvan
Title: External tools
Post by: Emmanuel Delahaye on February 20, 2005, 12:19:40 PM
Quote from: "Garvan"
Open the new tool set-up box, click on the "?" and then on the "Arguments" edit box to get a list of allowed syntax. You are looking for something like $(FileName)
Ah, The Contextual Help... Yes, of course... Well done.

Actually, it's
$(FileName)$(FileExt)
Thanks a lot,

Emmanuel