Add "namespace" keyword to the highlighter

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
ank
Posts: 4
Joined: Tue Aug 09, 2011 2:50 am

Add "namespace" keyword to the highlighter

Post by ank »

It should appear blue and emphasized like the other related keywords in PHP ("function", "class" etc)

http://php.net/manual/en/language.namespaces.php
User avatar
Nikolajs
Blumentals Software Developer
Posts: 108
Joined: Mon Sep 19, 2011 8:28 am

Re: Add "namespace" keyword to the highlighter

Post by Nikolajs »

We will add this keyword in our next releases. For now you can try to modify file phpparser.dat in %PROGRAMFILES%\WeBuilder 2011\data\parsers folder. Use a simple text editor like Notepad to add the following data at line 505:

Code: Select all

shtmlPHP 'namespace' shtmlPHP tphpresword
Save the file, and restart WeBuilder. Just make sure to create a backup copy of that file, just in case.
Nikolay Dutchuk
Blumentals Software
william070707
Posts: 16
Joined: Sun Feb 26, 2012 3:21 pm

Re: Add "namespace" keyword to the highlighter

Post by william070707 »

Hi,this idea really helped me too :mrgreen:
God never made his work for man to mend Image
Post Reply