Syntax highlight of .inc, .module and .test files

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Syntax highlight of .inc, .module and .test files

Postby Miloslav Beno » April 7th, 2012, 2:42 pm

Philip Nelson

So far this looks like the nicest of the php tools I've tried in vs2010. However they all have one thing in common. They don't syntax highlight most of the files in Drupal: .inc, .module are the most important. .test also important. Anyway to get this extension to work with these files too?

Copied from http://visualstudiogallery.msdn.microso ... 5f50c95fb5
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Syntax highlight of .inc, .modelue and .test files

Postby Miloslav Beno » April 7th, 2012, 2:43 pm

Thank you very much for the suggestion, we'll take care of it so it gets implemented in the next release. I'll inform about the progress on this in this thread.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Syntax highlight of .inc, .module and .test files

Postby panmanphil » April 8th, 2012, 2:10 pm

Great, I'll watch for the update.
panmanphil
 
Posts: 8
Joined: April 8th, 2012, 2:08 pm

Re: Syntax highlight of .inc, .module and .test files

Postby panmanphil » May 5th, 2012, 3:21 pm

I see there was a release, but the Drupal related files, .inc, .module aren't highlighted. Feature didn't make the cut? Do you think it will?

thanks
panmanphil
 
Posts: 8
Joined: April 8th, 2012, 2:08 pm

Re: Syntax highlight of .inc, .module and .test files

Postby Miloslav Beno » May 6th, 2012, 1:49 pm

Hi Philip,

The feature needed a little more work as *.inc files are also associated with C++, so we didn't have a time to include it in current major release which was mainly focused on productivity features as IntelliSense.

However now it's on the top of the list and we'll make the minor update as soon as this is done.

Thank you very much for your patiance on this.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Syntax highlight of .inc, .module and .test files

Postby Miloslav Beno » May 9th, 2012, 4:53 pm

The feature of custom file extensions is almost ready. I'm trying it with Drupal and it works great for me including IntelliSense and code navigation(F12). You can expect an update really soon.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Syntax highlight of .inc, .module and .test files

Postby Miloslav Beno » May 11th, 2012, 4:08 pm

Hello,

today we've submited the update for PHP Tools for Visual Studio. It has the requested feature in the Professional version. You can try it out. All you have to do is to set file extensions that you want to map to PHP it in Tools > Options > Text Editor > File Extensions. Restart VS, open Drupal as web site and that's it:)

Image

Make sure to give us a feedback here if everything works well for you.

Cheers,
Miloslav
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Syntax highlight of .inc, .module and .test files

Postby panmanphil » June 2nd, 2012, 11:54 pm

This is great news! I'll give a try this weekend and get some feedback to you. Been busy on another project but now can work on this again.

Thanks!
panmanphil
 
Posts: 8
Joined: April 8th, 2012, 2:08 pm

Re: Syntax highlight of .inc, .module and .test files

Postby Miloslav Beno » June 3rd, 2012, 10:58 am

Great! We'll certainly appreciate any feedback or more feature suggestions.

We've also created a tutorial on how to setup additional file extensions http://www.devsense.com/products/php-tools/doc-demos

Thank you!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Syntax highlight of .inc, .module and .test files

Postby panmanphil » August 20th, 2012, 1:32 am

Sorry for the delay but just wanted to pass on that the updated php tools work really well. I bought it for my own use and hope to convince the employer to purchase it as well. I was impressed with the intellisense that picked up not just the methods in the file I was working on, but also the rest of the Drupal api. It has been fast too.
panmanphil
 
Posts: 8
Joined: April 8th, 2012, 2:08 pm

Next

Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 32 guests

cron

User Control Panel

Login

Who is online

In total there are 32 users online :: 0 registered, 0 hidden and 32 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 32 guests