简体   繁体   English

Visual Studio 2005中的C / C ++代码突出显示

[英]C/C++ codehighlighter in visual studio 2005

I just starting using VS2005 and I wish to have code highlighting in C/C++. 我刚开始使用VS2005,希望在C / C ++中突出显示代码。 The VS menu Tools->Options->TextEditor->C/C++ is very poor. VS菜单“工具”->“选项”->“ TextEditor”->“ C / C ++”非常差。
I come from PHP and there the IDE's are very friendly when is about highlighting. 我来自PHP,在进行突出显示时,IDE非常友好。 I didn't expect that Visual Studio to be so poor at this kind of options. 我没想到Visual Studio在这种选择上会如此糟糕。

Can you recommend me a free tool/plugin/lib in order to have code highlighting for C/C++? 您能推荐我一个免费的工具/插件/库来突出显示C / C ++的代码吗?

It's not free, but Visual Assist X has some really nice highlighting. 它不是免费的,但是Visual Assist X有一些非常好的突出显示。

Another (suboptimal for you) solution is to switch editors. 另一个(对您而言不是最理想的)解决方案是切换编辑器。 Emacs is infinitely configurable. Emacs是无限可配置的。 I believe that Eclipse CDT and NetBeans have better syntax highlighting. 我相信Eclipse CDTNetBeans可以更好地突出显示语法。

We also use Visual Assist X where I work; 我们在工作的地方也使用Visual AssistX I would highly recommend it. 我会极力推荐它。 Beyond simple highlighting it has refactorization tools, go to definition, auto completion and more. 除了简单的突出显示之外,它还具有重构工具,定义,自动完成等功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM