Syntax check for unindentified Code

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
netable
Posts: 2
Joined: Fri May 23, 2008 12:35 pm
Location: Frechen, near Cologne, Germany
Contact:

Syntax check for unindentified Code

Post by netable »

How to switch on Syntax Check for unindentified Code?

Best Regards

netABle
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Syntax check for unindentified Code

Post by Karlis »

PHP Syntax check is based on the output of PHP.exe, I believe there is no such option in PHP.exe
Karlis Blumentals
Blumentals Software
www.blumentals.net
netable
Posts: 2
Joined: Fri May 23, 2008 12:35 pm
Location: Frechen, near Cologne, Germany
Contact:

Re: Syntax check for unindentified Code

Post by netable »

It is not only PHP for example:

generate a CSS file name -> sampel.css
replace the extension with txt -> sample.txt
open with Webuilder 2008 and all the comfort
functions are not available!

How to activate them with such a file?!


best Regards
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Syntax check for unindentified Code

Post by Gatis »

If you want to have all the css functionality for a txt file, then you must go to Options => Preferences => Document Types => CSS and then add all the text file types you want to behave just like they were css files.
Kind regards,
Gatis Avots
User avatar
joemichaud
Posts: 39
Joined: Sat Sep 29, 2007 4:58 pm

Re: Syntax check for unindentified Code

Post by joemichaud »

You could also put the CSS inside <style> blocks and your Javascript inside <script> blocks. This is what I have to do since I develop for a content management system that saves all of its templates as PHP files.
Joe Michaud
Post Reply