更好的C#语法着色为Visual Studio 2010? [英] Better C# Syntax Coloring for Visual Studio 2010?

查看:260
本文介绍了更好的C#语法着色为Visual Studio 2010?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从Eclipse的到来,我很失望,与C#由Visual Studio提供了非常有限的语法着色能力(所有版本,到2010年)。

Coming from Eclipse, I'm disappointed with the very limited syntax coloring capabilities offered for C# by Visual Studio (all versions, up to 2010).

在特定的,我在不同的着色方法为/场/当地人/静态的东西有趣。

In particular, I'm interesting in distinct coloring for methods / fields / locals / static stuff.

我知道视觉辅助系统可以增强色彩,但我没能找到任何免费的替代能力这样做,所以我转向SO(我希望这是编程相关的就够了)。有没有免费(或至少便宜比视觉辅助系统)解决方案能够提高语法着色为C#的?

I'm aware Visual Assist can enhance the coloring, but I've failed to find any free alternative capable of doing that, so I'm turning to SO (I hope it's programming-related enough). Is there any free (or at least cheaper than Visual Assist) solution capable of enhancing the syntax coloring for C#?

推荐答案

好了,我可以从响应的其余明白,答案是一个响亮的不,没有可用于免费没有这样的扩展名,所以我最后写一个在我自己的:

Well, I could understand from the rest of the responses that the answer is a resounding "no, there is no such extension available for free", so I ended up writing one on my own:

(浅褐色为方法,品红变量,否则它们的颜色本来是黑色)

(light brown for methods, magenta for variables, otherwise their color would have been black)

这是一个有点粗糙,但它为我工作 - 而且是免费的:)

It's a bit crude, but it works for me - and it was free :)

编辑:任何有兴趣做同样的 - 使用编辑分类的模板,在Visual Studio SDK捆绑在一起,是一个很好的起点

Anyone interested in doing the same - using the "Editor Classification" template, bundled with the Visual Studio SDK, is a great starting point.

这篇关于更好的C#语法着色为Visual Studio 2010?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆