Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: idcarlos on March 07, 2006, 12:32:16 am

Title: Using lexers
Post by: idcarlos on March 07, 2006, 12:32:16 am
Hi.

I'm interested in de NSIS lexer (http://forums.codeblocks.org/index.php?topic=2549.0)

But I have some questions about use it.

-Open dialog don't show .nsis file as know type?
-Can I configure CB to compile NSIS files with Build button?

Un saludo
Carlos Garcés
Title: Re: Using lexers
Post by: sethjackson on March 07, 2006, 12:36:31 am
1. The open file dialog will not show it. This is a know limitation of C::B.
2. No I think not...... A developer will have to help you with this one.....

As for opening NSIS files set the file filter in the open dialog to All files. This will allow you to open *.nsi files. Also The lexer doesn't regocnize the *.nsis extension (This is correct behavior. NSIS dropped this a long time ago). The NSIS script extensions need to be *.nsi or *.nsh.

Hope this helps.

Seth
Title: Re: Using lexers
Post by: idcarlos on March 07, 2006, 12:56:53 am
Hi.

I'm triying to configure makensis to work with Tools->Configure Tools, but it don't work.

Maybe is a good idea to write a message with the command line launched to the external tool in the messages window....

Un saludo
Carlos Garces
Title: Re: Using lexers
Post by: mandrav on March 07, 2006, 08:59:53 am
Maybe is a good idea to write a message with the command line launched to the external tool in the messages window....

You 're right.