Page 1 of 1

Hello from a newbie and can I suggest..

Posted: Thu Apr 21, 2011 2:29 am
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

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

Posted: Thu Apr 21, 2011 10:08 am
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

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

Posted: Thu Apr 21, 2011 5:17 pm
by DavidH
Wow, it's that easy, that is great. Will give that a whiz thanks.

DavidH

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

Posted: Thu Apr 21, 2011 5:27 pm
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

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

Posted: Thu Apr 21, 2011 5:48 pm
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

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

Posted: Sun Apr 24, 2011 9:10 am
by eranif

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

Posted: Thu Apr 28, 2011 10:51 pm
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