`
leondu
  • 浏览: 113304 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

让Netbeans也拥有缤纷颜色---Dark Pastels配色方案

    博客分类:
  • RoR
阅读更多
netbeans的拥趸可能一直羡慕textmate的配色吧,虽然以前也有一款叫做city lights的配色方案,但是搞笑的是这个方案的常量竟然前景色和背景色都是黑色,简直是暗夜里的乌鸦 -__-

现在终于有一款好看、实用的配色方案出现了,Jerrett Taylor的"Dark Pastels",具体看下面的截图,这款配色方案已经集成在最新的持续集成版本中( http://deadlock.netbeans.org/hudson/job/ruby/),beta1以及其他版本用户可以按照以下方法安装:
下载地址:here
安装:Tools | Plugins (go to the Downloaded tab)
使用:Tools | Options | "Fonts and Colors" | "Dark Pastels" .


原文:http://blogs.sun.com/tor/entry/ruby_screenshot_of_the_week19

A lot of people have asked for a "dark color theme" for NetBeans, possibly because there are several attractive dark color schemes for TextMate, a favorite editor among many Ruby developers. Jerrett Taylor has designed and contributed a great dark color theme for NetBeans, "Dark Pastels". I've wrapped it up as a plugin. As of today, it's prebundled with the continuous builds on http://deadlock.netbeans.org/hudson/job/ruby/, but for other versions such as beta1 and the upcoming beta2, you can download the plugin from here and install via Tools | Plugins (go to the Downloaded tab). It should hopefully also appear on the Auto Update center pretty soon.

To switch to this color theme after installing the plugin, open the options dialog, go to "Fonts and Colors" and choose the "Dark Pastels" color theme.

Let's get on to the screenshots! Here's a Ruby file:

...and here's an RHTML file:

Note that the plugin only replaces the editor colors. Other windows such as the navigator and project views keep the general look and feel of the whole application, so you can either slide these off to the side, or install a custom look and feel with colors more to your liking.

Here's what the plugin looks like in the Plugin Manager. As you can see I've named it "Extra Themes" such that it can hold several optional themes, so if you've got a color scheme to share, please do!

A huge thanks to Jerrett!

P.S. The theme the font to "Monaco", which is available on the Mac. If you're on a different platform you may want to go a tweak the default font to one that looks good on your system.

分享到:
评论
17 楼 lgn21st 2008-04-14  
谢了,原来是在downloaded下面导入后,还要点击install...我以为直接导入就好了..
16 楼 devworks 2008-04-13  
lgn21st 写道
请问楼上如何安装呀?我下载下来只有两个jar包,在netbeans 6.1RC版plugins中导入后什么反应都没有...


https://sourceforge.net/project/showfiles.php?group_id=3653
nbvi-1.1.4.zip里是两个nbm
我用的是6.0.1
15 楼 lgn21st 2008-04-13  
请问楼上如何安装呀?我下载下来只有两个jar包,在netbeans 6.1RC版plugins中导入后什么反应都没有...
14 楼 devworks 2008-04-13  
lgn21st 写道
有办法能让netbeans操作起来象vim么?

http://jvi.sourceforge.net/
13 楼 lgn21st 2008-04-12  
有办法能让netbeans操作起来象vim么?
12 楼 t0uch 2008-04-10  
感觉还是textmate里的配色最nb,vim还是稍逊一筹啊
11 楼 seemoon 2008-04-10  
simohayha 写道
dengyin2000 写道
谁有eclipse的back color theme吗?


同问,非常喜欢vim里面的theme,不知道eclispe有人做出来这种theme没。。。


通过调整语法配色方案就可以了,看看以下老外做的:

http://drnicwilliams.com/2006/08/08/textmate-theme-for-radrails/

注意以下几点哦

解决tab标题不加亮显示问题:
Preferences > General > Appearance > Color and Fonts > Active part foreground (color)

解决folding有一个白色亮条问题:
You can go to Preferences -> Ruby -> Editor -> Folding
and remove the checkbox at “Enable folding when opening a new editor”.

不喜欢怎么办
To go back to the defaults, do File > Switch Workspace and it will go back to normal. Hope this helps! I figured this out by accident.

10 楼 simohayha 2008-04-08  
dengyin2000 写道
谁有eclipse的back color theme吗?


同问,非常喜欢vim里面的theme,不知道eclispe有人做出来这种theme没。。。
9 楼 t0uch 2008-04-08  
汗楼上,Monaco是apple下的字体,在win上表现远远不如mac

我喜欢Gnome的字体Bitstream,等宽的,在哪个平台都通吃
下载
http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.zip
8 楼 ryebread 2008-04-08  
装一个Monaco的字体就可以了,我喜欢monaco,而且 monaco字体在windows中显示很漂亮,我感觉比Courier New舒服,推荐用
7 楼 pancras 2007-10-17  
感觉挺好的   ,不过只是编辑区域和NB的颜色差距太明显,有点扎眼
6 楼 dengyin2000 2007-10-14  
谁有eclipse的back color theme吗?
5 楼 danielking 2007-10-13  
hudson的这个版本是不是和nightly build的nb6ruby版是一个东西?
4 楼 mysttt 2007-10-09  
谢谢LZ
也谢谢  lgn21st
3 楼 rainchen 2007-10-09  
在windows中,可以用雅黑,在netbeans里设置Comment,String及Whitespace部分为雅黑就行了,其他的默认我用DejaVu Sans Mono
2 楼 lgn21st 2007-10-09  
我在ubuntu上,所有的开发环境都用Bitstream Vera Sans Mono这个字体,但就是在NetBeans上没有办法显示中文,所以就索性不用中文了。
1 楼 AllenYoung 2007-10-09  
这个默认的字体有问题。它默认的是Monoca字体,这个是Mac上的一个非常好的等宽字体,但是在Windows或Linux上就没那么好了。

如果是在Windows或Linux上使用,可以把字体改为Monospaced。最好不要用Courier New或Lucida Sans Typewriter,因为它们显示中文有问题。

相关推荐

Global site tag (gtag.js) - Google Analytics