[英]Cannot install gedit plugin
I am new to Linux so please go easy on me. 我是Linux的新手,所以请放轻松。 I am writing a program in c and formatting my code with vi editor and/or gedit is becoming a real pain in the butt; 我正在用c编写程序,并使用vi编辑器和/或gedit格式化我的代码,这实在是一个麻烦。 So, I need something to help me with the indentations of the code. 因此,我需要一些帮助代码缩进的东西。 I found this post here: 我在这里找到了这篇文章:
How to get gedit to auto-indent code 如何让Gedit自动缩进代码
-I am running Ubuntu on virtual box. -我在虚拟机上运行Ubuntu。
Am I doing something wrong? 难道我做错了什么? OR is there something easier for me to do? 还是我更容易做些事情?
per the gedit help contents, use 'sudo apt-get install gedit-plugins' However, I did not see any facility to enforce 'C' code formatting. 根据gedit帮助的内容,使用'sudo apt-get install gedit-plugins'但是,我没有看到任何用于实施'C'代码格式的工具。
I would suggest using 'geany' which is available by: 'sudo apt-get install geany' 我建议使用“ geany”,它可以通过以下方式获得:“ sudo apt-get install geany”
It comes with the facilities for many different languages, including one click compile, one click build, one click run, configurable formatting, and many other very useful programming features. 它具有用于多种不同语言的功能,包括一键编译,一键构建,一键运行,可配置的格式设置以及许多其他非常有用的编程功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.