Outline for PHP using custom files extension

General questions regarding the usage of CodeLite
ernest33
CodeLite Curious
Posts: 3
Joined: Wed Sep 02, 2015 1:47 pm
Genuine User: Yes
IDE Question: c++
Contact:

Outline for PHP using custom files extension

Post by ernest33 »

Hello,
I'm happy user of CodeLite :D , but i'm wondering if it is possible to make the Outline view working with customs files extension (ex: .php => .phtml / .pxhtml / ...) ?
Maybe a little dialog box to set a list of custom extension for each languages used in CodeLite :mrgreen: .
I already modify the "lexers" to have syntax higlighting for these customs extensions.

Regards
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Outline for PHP using custom files extension

Post by eranif »

This is now fixed in git master.
The Outline plugin should now be using the values defined by the user from: settings->colours and fonts->customize-> <YOUR PROGRAMMING LANGUAGE> -> File Extensions

https://github.com/eranif/codelite/comm ... 636b25af41
Eran
Make sure you have read the HOW TO POST thread
ernest33
CodeLite Curious
Posts: 3
Joined: Wed Sep 02, 2015 1:47 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Outline for PHP using custom files extension

Post by ernest33 »

Thanks a lot Eran...that a fast and great answer :D
ernest33
CodeLite Curious
Posts: 3
Joined: Wed Sep 02, 2015 1:47 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Outline for PHP using custom files extension

Post by ernest33 »

Hello,
I have a little question about Outline. What are the "language" this extension can "read" ?
The latest version work very well with custom extension for "php" by example :) but not with a "js" file :cry:.
(What is fun, Outline work with "js" when embeded in a "php" file by example) :mrgreen:
Regards
Post Reply