简体   繁体   English

适用于C的包含lint&cstyle的文本编辑器吗?

[英]A suitable text editor for C that includes lint & cstyle?

I'd like to use a nice C code-editor, that would have built-in support for: 我想使用一个不错的C代码编辑器,该编辑器将内置支持:

  1. Code-colouring for C, Make, XML, Java, etc. C,Make,XML,Java等的代码着色
  2. Lint 皮棉
  3. Cstyle 风格
  4. Works under Ubuntu 在Ubuntu下工作
  5. Possibly a nice visual debugger integrated, too? 可能还集成了一个不错的可视调试器?

I'd rather not use an IDE, as most of them seem to me somewhat clumsy with C. 我宁愿不使用IDE,因为在我看来其中大多数人对C都有些笨拙。

I am a former Java dev, so I'm sorry if I sound boring to some. 我曾经是Java开发人员,所以对某些人感到无聊对不起。

Thanks guys! 多谢你们!

You can try using VIM. 您可以尝试使用VIM。 VIM has a high learning curve in the beginning but it's excellent once you are highly acquainted with it. VIM从一开始就具有很高的学习曲线,但是一旦您非常熟悉它,它就非常出色。 VIM also has many excellent plugins like NERD-Tree and Command-T which allows you to search for file names in your directory tree with just a couple keystrokes. VIM还具有许多出色的插件,例如NERD-Tree和Command-T,可让您通过几次击键就可以在目录树中搜索文件名。 VIM is also fast with many nice built in functionalities and it requires minimized computer resource so it's very fast on most computer (works real well for computers with limited resources). VIM还具有许多不错的内置功能,因此速度很快,并且它需要最少的计算机资源,因此在大多数计算机上都非常快(对于资源有限的计算机来说确实可以很好地工作)。 VIM also has syntax highlight and formatting for almost all the languages that you can name. VIM还具有几乎所有您可以命名的语言的语法突出显示和格式设置。 It can be a standalone editor or you can equip it with enough plugins to make it the fastest IDE ever built. 它可以是独立的编辑器,也可以为它配备足够的插件,使其成为有史以来最快的IDE。 Good luck with your choices :) 祝您好运:)

Emacs will probably do, but it might be cumbersome to adjust everything to your needs and to get used to it. Emacs可能会这样做,但是根据您的需求进行调整并习惯它可能会很麻烦。

Emacs comes bundled with C, Java, XML, Make, and support for other languages. Emacs与C,Java,XML,Make捆绑在一起,并支持其他语言。 Almost every language can be plugged in and is already plugged in by someone else. 几乎每种语言都可以插入,并且已经被其他人插入。

Works of course under Ubuntu and integrates well with GDB. 当然可以在Ubuntu下工作,并且可以与GDB很好地集成。

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

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