Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » debugging .inc files
debugging .inc files [message #81256] Mon, 06 October 2008 18:21 Go to next message
hajunk is currently offline hajunkFriend
Messages: 1
Registered: July 2009
Junior Member
Hi
I'm new to PDT and have just a simple question. How can I turn on syntax
highlighting for .inc files and toggle breakpoints etcs on files which
don't end in .php but effectively are php files?

Thanks
Re: debugging .inc files [message #81300 is a reply to message #81256] Mon, 06 October 2008 20:32 Go to previous messageGo to next message
Shawn Clark is currently offline Shawn ClarkFriend
Messages: 70
Registered: July 2009
Member
hajunk wrote:
> Hi
> I'm new to PDT and have just a simple question. How can I turn on syntax
> highlighting for .inc files and toggle breakpoints etcs on files which
> don't end in .php but effectively are php files?
>
> Thanks
>

You have to enable .inc to be a PHP content type. Window -> Preferences
-> General -> Content Types -> Text -> PHP Content Type. Add whatever
extensions you want to have associated to the PHP Content Type.

--
Shawn Clark
Re: debugging .inc files [message #81315 is a reply to message #81300] Mon, 06 October 2008 20:33 Go to previous message
Shawn Clark is currently offline Shawn ClarkFriend
Messages: 70
Registered: July 2009
Member
Shawn Clark wrote:
> hajunk wrote:
>> Hi
>> I'm new to PDT and have just a simple question. How can I turn on
>> syntax highlighting for .inc files and toggle breakpoints etcs on
>> files which don't end in .php but effectively are php files?
>>
>> Thanks
>>
>
> You have to enable .inc to be a PHP content type. Window -> Preferences
> -> General -> Content Types -> Text -> PHP Content Type. Add whatever
> extensions you want to have associated to the PHP Content Type.
>
> --
> Shawn Clark

mmm... I just double checked this after I posted it and .inc should be
automatically assigned to the PHP Content Type. I would check that
setting to make sure it shows ".inc (locked)". If not then add .inc but
it should be there.

--
Shawn Clark
Previous Topic:Problem with code assist
Next Topic:Debug of a Project causes all projects to Validate
Goto Forum:
  


Current Time: Sun Jan 29 05:39:31 GMT 2023

Powered by FUDForum. Page generated in 0.06512 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top