Hello from a newbie and can I suggest..

Discussion about CodeLite development process and patches
DavidH
CodeLite Curious
Posts: 9
Joined: Thu Apr 21, 2011 2:15 am
Genuine User: Yes
IDE Question: C++
Contact:

Hello from a newbie and can I suggest..

Post by DavidH »

Hi,
I'm new around these parts. I am just migrated my computer usage from WinXP to Ubuntu after a virus wrecked my hard drive. I've had enough of Windows issues now! Hello Linux.

I have found codelite which seems an idea tool to replace my MS O/S code editors I used. I work with web files mainly so html and php is the main stay of my file development.

I am not sure where this should be posted (So Mods please move if required) but I have a suggestion. I have seen that codelite does not seem to support and display ruby rhtml files; the appending 'r' renders the code as plain text.

Can this be added as a plug in at all?

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

Re: Hello from a newbie and can I suggest..

Post by eranif »

Try adding the 'rhtml' as valid extension to the HTML lexer from:
Settings -> Syntax highlight and fonts -> Html

add *.rhtml to the 'File extensions' field, and reload the file

Eran
Make sure you have read the HOW TO POST thread
DavidH
CodeLite Curious
Posts: 9
Joined: Thu Apr 21, 2011 2:15 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Hello from a newbie and can I suggest..

Post by DavidH »

Wow, it's that easy, that is great. Will give that a whiz thanks.

DavidH
DavidH
CodeLite Curious
Posts: 9
Joined: Thu Apr 21, 2011 2:15 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Hello from a newbie and can I suggest..

Post by DavidH »

No sooner said than done. That is truly magnificent - many thanks.

I am liking what I see in this. Will give it proper test drive later when I finish off a web project that was rudely interrupted by virus infection.

In fact I have a question about that but I think that is best on another thread.

cheers and regards
DavidH
CodeLite Curious
Posts: 9
Joined: Thu Apr 21, 2011 2:15 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Hello from a newbie and can I suggest..

Post by DavidH »

AND... Any suggestions if the same can be done for a css style sheet? I tried adding this but the file is read as a plain grey text only.

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

Re: Hello from a newbie and can I suggest..

Post by eranif »

Make sure you have read the HOW TO POST thread
DavidH
CodeLite Curious
Posts: 9
Joined: Thu Apr 21, 2011 2:15 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Hello from a newbie and can I suggest..

Post by DavidH »

Thanks for the link. I can see that there is a CSS reference in there but I am unsure how I use that in the syntax highlighter.

I had put this in the html tab
*.htm;*.html;*.xhtml;*.phtml;*.rhtml;*.js;*.php;*.php3;*.css;*.inc

That did not work for css so I guess that is not right. Sorry. Where do I include this?

David
Post Reply