<span style='font-family:Verdana'><span style='font-size:12px'>Hello Lex,<br /> 
<br /> 
Thanks for the info. I'm planning to use phpCodeSniffer as a start. It's a command line tool that outputs errors and warnings about coding style after reading the PHP code. It's syntax is something like this phpcs file.php.<br /> 
<br /> 
I wanted to create a more easy to use interface for this, maybe a plugin or something, that outputs such checks, once enabled, in the Geany warnings or something. I use the built-in terminal to check my code with phpcodesniffer, phpunit and other tools, but it's quite a pain to change everything once in a while.<br /> 
<br /> 
<br /> 
ps.: Can i write a plugin to create more than one built-in terminal screens, with pre-scripted commands? For example, automatically create a built-in terminal window that runs the following command: watch -n 1 php FILE_BEING_EDITED.php (great debugging)<br /> 
<br /> 
<p style="margin:0px; padding:0px;" > 
         </p> 
<blockquote style="border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type="cite"> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">----- Original Message -----</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">From: Lex Trotman</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">Sent: 08/02/11 09:26 PM</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">To: Geany general discussion list</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">Subject: Re: [Geany] Warnings and Errors in Geany</span></span></p> 
        <br /> 
        <div> 
                <div> 
                        <pre style="white-space: pre-wrap; word-wrap: break-word; font-size:11;pre"> 
On 3 August 2011 06:21, Vincent P. Ellis <vincent@linuxmail.org> wrote: 
> Is there a plugin, or a built-in feature i missed, where i can have Warnings 
> and Errors checked for my code in Geany? I'm trying to attach 
> PHP_CodeSniffer to Geany and output the warnings and errors directly in the 
> window. 


Hi Vincent, 

Only commands run from the build menu compile or make sections are 
checked for errors by regex or fallback to HHH (hairy hardcoded 
heuristics).  Detected error lines are marked and the message in the 
message window is red and is a link to the source line. 

I'm not a PHP programmer so I don't know what the tool you mention 
does but if its anything like a compiler or lint program then add it 
to the filetype section (see the manual). 

Cheers 
Lex 

> Vincent Ellis 
> C/C++ Technician 
> vincent@linuxmail.org 
> El Paso, TX 
> _______________________________________________ 
> Geany mailing list 
> Geany@uvena.de 
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany 


_______________________________________________ 
Geany mailing list 
Geany@uvena.de 
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany</pre> 
                </div> 
        </div> 
</blockquote> 
<p style="margin:0px; padding:0px;" > 
         </p> 
<br /> 
<br /> 
<br /> 
<span id="editor_signature"><span style="font-family:Verdana; font-size:12px">Vincent Ellis<br /> 
C/C++ Technician<br /> 
vincent@linuxmail.org<br /> 
El Paso, TX</span></span></span></span>