No syntax highlightning for .htaccess

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
Vlad
Posts: 2
Joined: Sat Feb 08, 2014 6:55 pm

No syntax highlightning for .htaccess

Post by Vlad »

Hi,

on my WeBuilder installation (13.1.0.163) there is no syntax highlightning for .htaccess.

I put manually htaccess to Document Types -> Apache Config, restart WeBuilder but this doesn't help.

With other file types (css, php, html) there is no problem.

Greetings

Vlad
User avatar
kfury77
Posts: 97
Joined: Mon Jun 13, 2005 11:55 pm
Location: Osaka, Japan
Contact:

Re: No syntax highlightning for .htaccess

Post by kfury77 »

Hi Vlad,

Which Color Scheme are you currently using? WeBuilder does have syntax highlighting for many of the themes, but not all.

Try going to Options > Preferences > Open Color Schemeand selecting a different Color Scheme. Base16 Dark works well and looks good.

If you prefer to use your current theme, you can edit the Colors from that same Options box. Change Language to 'Apache Config' and edit as necessary.

Hope that helps.
Vlad
Posts: 2
Joined: Sat Feb 08, 2014 6:55 pm

Re: No syntax highlightning for .htaccess

Post by Vlad »

Hi,

thank you! :D

I used the default color scheme. Now "eighties" and it works fine.

Greetings

Vlad
Adam93
Posts: 4
Joined: Mon Mar 09, 2015 3:50 pm

Re: No syntax highlightning for .htaccess

Post by Adam93 »

Hi, I'm trialling Rapid PHP 2015.

Although not essential, I cannot get syntax highlighting to work for .htaccess at all, even after trying the above.
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: No syntax highlightning for .htaccess

Post by Aivars »

I'm using the default color scheme in Rapid PHP and it looks like this:
htaccess.png
htaccess.png (88.81 KiB) Viewed 3727 times
When you go to menu Options -> Preferences -> Text Editor -> Colors, set Language to Apache Config, do you see different colors for different elements?
Blumentals Software Programmer
Post Reply