= Syntax checking = Depending on a corresponding support in the respective '''Padre::Document::Language''' class, Padre supports real time syntax checking capabilities. Syntax errors or warnings are displayed in a side bar (usually at the bottom of the Padre window). By double-clicking a list entry you can navigate to the position in the file. Additionally, there is a symbol column on the left side of the editor where colored symbols mark the code lines with problems. == WARNING NOTE == Syntax checking for Perl5 documents comes bundled with Padre. It is implemented using '''perl -c'''. This means that parts of the code actually get executed (e.g. '''BEGIN''' blocks). Malicious software might use this fact to damage your system {{{ BEGIN { system('rm -rf ~') } }}} or suck up your resources {{{ BEGIN { while(1) { } } }}} Syntax checking is currently disabled by default and has to be enabled manually after every start of Padre. This somewhat increases security when doing '''padre some_unknown_file.pl'''. However, it does not protect you when you open a file from within Padre while syntax checking is turned on. The most secure solution would require a really fast non-executing syntax checker which unfortunately is currently not available. * Syntax checking for Perl 5 and Perl 6 * See example in this blog http://ahmadzawawi.blogspot.com/2009/09/whats-new-in-padre-046.html == Tickets == [[TicketQuery(component=Syntax Checking,order=id,desc=1,format=table,col=resolution|summary|owner|reporter)]] == Test == == TODO ==