Dark (TextMate like) syntax colouring

Aptana RadRails discussion.

Moderator: Aptana Staff

Dark (TextMate like) syntax colouring

Postby deaner666 » Mon Jul 23, 2007 1:13 pm

I posted this in another thread in response to a request for some different coloured themes, but I figured it's probably of more interest here in the RadRails section.

http://www.aptana.com/forums/viewtopic.php?t=1847&highlight=dark+theme

If, like me, you used Dr. Nic's TextMate like theme, which was broken during recent updates of Aptana, you may be interested in some colourisation files I've put together to replace Dr. Nic's.

Image

You can download it from http://www.dave-dean.co.uk/aptana/aptana_prefs_dark_theme.zip

You will need to import the three colourisation files in the relevant parts of the Preferences dialog for ERB, HTML and CSS and import my preferences file for Ruby colourisation from the File | Import menu. (Other than some colour changes, my preferences aren't changed much from the defaults).

Note: I haven't found a way to properly colour symbols in ERB - to my mind, this should really take colourisation from the Ruby preferences.

Feel free to tweak to your hearts content and improve on it.

-Dave
deaner666
 
Posts: 4
Joined: Thu Jul 19, 2007 12:52 pm

Postby cwilliams » Mon Jul 23, 2007 1:31 pm

Thanks for posting this, I know plenty of users prefer a dark theme; and Dr. Nic's was both broken and also monkeyed with a lot of other preferences.

You're right there's a disconnect from Ruby to RHTML/ERB. They use different preferences and different engines to provide the syntax coloring. There are plans to merge that in future releases.
User avatar
cwilliams
 
Posts: 2061
Joined: Thu Mar 29, 2007 11:21 pm
Location: Rochester, NY

Postby caffeine » Mon Aug 06, 2007 11:41 am

Hey there!

Thanks for posting that style, works like a charm and just looks beeeeatiful if you examine a model. I don't like the erb/rhtml style though, but thats the way TextMate does it I suppose.
caffeine
 
Posts: 10
Joined: Mon Aug 06, 2007 11:38 am

Postby a1tonmos » Fri Sep 21, 2007 5:48 am

applying the color schemes in this thread works quite well everywhere except the diff/merge view in SVN; i.e. in that view the background becomes dark but the font color cannot be changed.

this makes the dark theme pretty much unusable.
http://planyp.us - Suggest an idea for an activity, and let your friends plan it for you!
a1tonmos
 
Posts: 4
Joined: Wed Jul 11, 2007 5:43 pm

Postby deaner666 » Fri Sep 21, 2007 8:44 am

Yeah, I don't use the SVN features from within Aptana yet. I will have a look at this and post an update unless somebody else tweaks it and posts an update first...
deaner666
 
Posts: 4
Joined: Thu Jul 19, 2007 12:52 pm

Postby k1le » Mon Sep 24, 2007 2:57 pm

Thanks for this - I'd really got used to the dark theme - its hard to go back now! :0)
k1le
 
Posts: 6
Joined: Mon Sep 24, 2007 2:56 pm

Postby bilson » Wed Oct 24, 2007 8:14 pm

Thanks for this color scheme. I didn't see a javascript preference file, so just added one based on your other prefs. Also, I added an overall preferences file with a Courier font. For some reason it is just easier to read on my monitor.

All of the originals plus the two additional files are located here if anyone wants to download...
http://code.google.com/p/aptana-color-schemes/

Best Regards,
David
bilson
 
Posts: 4
Joined: Wed Oct 24, 2007 8:07 pm

Postby deaner666 » Thu Oct 25, 2007 9:26 am

I had put together a Javascript colorisation file recently, but not uploaded it. I've added it to the zip file you can download from the link at the top of this thread. I don't do much JS tweaking though, so Bilson's version will probably be better than mine!

My prefs use the consolas font by default, which is a Vista monotype font. That might explain why it wasn't very readable on your machine. You can find consolas for download on pre-Vista Windows if you do a quick search on the net. I should've mentioned that in the original post!

BTW, I haven't found how to fix the colouring for the Subversion stuff... anyone else had any luck?
deaner666
 
Posts: 4
Joined: Thu Jul 19, 2007 12:52 pm

Postby bilson » Thu Oct 25, 2007 9:42 pm

I don't use subversion through Aptana, but hope to in the future. I did, however, add a dark theme for PHP to the original download. It can be retrieved at...
http://code.google.com/p/aptana-color-schemes/

Best Regards,
David
bilson
 
Posts: 4
Joined: Wed Oct 24, 2007 8:07 pm

Postby reacher » Mon Oct 29, 2007 12:59 pm

sorry if this is asked much, but how do I go about installing these color files into my aptana software?

EDIT: found it. forum search ftw!!
reacher
 
Posts: 17
Joined: Mon Oct 29, 2007 12:58 pm
Location: South Carolina

Postby pctwo » Tue Nov 06, 2007 6:03 pm

I too prefer a dark theme. Wish I'd seen your post before I went thru the trouble of manually changing all the colors.

At any rate, I'm happy with what I have now. Only thing is: in the Ruby editor, when I turn on "Mark occurence" the color is white text on light grey background. Not good, obviously. But I can't figure out where to change that light grey background. Help? Thanks in advance.
pctwo
 
Posts: 2
Joined: Tue Nov 06, 2007 4:04 pm

Postby cwilliams » Tue Nov 06, 2007 6:45 pm

Window > Preferences > General > Editors > Text Editor > Annotations.
User avatar
cwilliams
 
Posts: 2061
Joined: Thu Mar 29, 2007 11:21 pm
Location: Rochester, NY

Postby h1tzenplotz » Wed Nov 14, 2007 11:22 pm

Oh thx! I feel like home!
h1tzenplotz
 
Posts: 21
Joined: Mon Apr 02, 2007 8:21 pm

Postby reacher » Tue Nov 27, 2007 4:48 pm

I've found a windows version of the Monaco font used in TextMate. The download is in this blog entry.

Enjoy!

http://www.webdevkungfu.com/textmate-en ... r-windows/
reacher
 
Posts: 17
Joined: Mon Oct 29, 2007 12:58 pm
Location: South Carolina


Return to Aptana RadRails