What tweaks / addins / themes do you have rigged up to make your IDE awesome? For example, in Visual Studio I color themes, CodeRush draws lines between braces, I always install and use the Consolas font and I have it setup to sync my settings across computers for when I change hotkeys and whatnot with the help of FolderShare.
你有什么调整/插件/主题来使你的IDE很棒?例如,在Visual Studio I颜色主题中,CodeRush在大括号之间绘制线条,我总是安装和使用Consolas字体,我设置它来跨计算机同步我的设置,以便在FolderShare的帮助下更改热键和诸如此类的东西。
Also, this isn't Visual Studio specific, please feel free to mention what you do with Emacs or Eclipse or whatnot as many of us use a few.
此外,这不是Visual Studio特定的,请随意提及您使用Emacs或Eclipse做什么,或者我们很多人使用的东西。
26 个解决方案
#1
5
ReSharper 4.1 for Visual Studio 2008. It's a beautiful thing. It looks for all kinds of code errors, optimizations, etc. My code is cleaner thanks to this handy Visual Studio plugin.
适用于Visual Studio 2008的ReSharper 4.1。这是一件很棒的事情。它寻找各种代码错误,优化等。由于这个方便的Visual Studio插件,我的代码更清晰。
#2
3
Optimizing the IDE will be the first step. Resharper helps a lot but sometimes some simple macros are more than enough.
优化IDE将是第一步。 Resharper有很多帮助,但有时候一些简单的宏绰绰有余。
#3
3
First things first. Change the font from the default crappy one. Then start fiddling with the 'Options' dialog box.
首先要做的事情。从默认的糟糕的字体更改字体。然后开始摆弄'选项'对话框。
#4
3
At the recommendation of a friend, I installed Visual Assist for Visual Studio 2008 -- it is awesome. I swear it can read my mind.
在朋友的推荐下,我为Visual Studio 2008安装了Visual Assist - 它非常棒。我发誓它可以读懂我的想法。
[Note: I have no affiliation with them -- just a very happy customer]
[注意:我与他们没有任何关系 - 只是一个非常满意的客户]
#5
3
I've done a lot, but I really shouldn't have. So in the last few years, I've toned down the number of macros, custom key mappings, custom toolbars, etc. For the most part, I'm of the opinion that developers should get used to the default behavior and appearance of their IDE. Then when you need to work on your colleague's machine, you still know how to get around and manage to help them out. Not to mention that a whole slew of customizations will get broken or rearranged or otherwise reset when an update comes out.
我已经做了很多,但我真的不应该。所以在过去的几年里,我已经减少了宏的数量,自定义键映射,自定义工具栏等。在大多数情况下,我认为开发人员应该习惯他们的默认行为和外观IDE。然后,当您需要在同事的机器上工作时,您仍然知道如何绕过并设法帮助他们。更不用说在更新发布时,大量的自定义将被破坏或重新排列或以其他方式重置。
That said, there are a few things that I still do every time I set up an IDE to work on... for example, setting the number of concurrent builds in Visual Studio to be 1, because that feature is so broken that nothing will compile correctly with any greater setting. Apart from that, being an ace with the default behavior will ultimately make you more efficient than spending hours tweaking the software to make it just a little more fluid.
也就是说,每次我设置一个IDE来处理时,我仍然会做一些事情......例如,将Visual Studio中的并发构建数设置为1,因为该功能已被破坏,以至于没有任何内容使用任何更大的设置正确编译。除此之外,作为具有默认行为的ace将最终使您比花费数小时调整软件以使其更加流畅更有效。
#6
3
I like CodeSmart VB6 and CodeSmart VS.NET from Axtools http://www.axtools.com/ for advanced syntax highlighting, drawing lines between parts of If..then..else..endif, Do While ... loop and all other constructs. It also has great code auditors and many add-in functions.
我喜欢Axtools http://www.axtools.com/的CodeSmart VB6和CodeSmart VS.NET,用于高级语法高亮,在If..then..else..endif,Do While ...循环和所有部分之间画线。其他结构。它还拥有出色的代码审计员和许多附加功能。
#7
3
Vi plugin!!
#8
2
I use Emacs. My .emacs file is only a few hundred lines long, but does customize settings based on my machine's hostname and operating system, so that I can use the same config file pretty much anywhere.
我用Emacs。我的.emacs文件只有几百行,但是根据我机器的主机名和操作系统自定义设置,这样我就可以在任何地方使用相同的配置文件。
#9
2
Colorization - Custom - White Text on GreyishBlack, Consolas Font
着色 - 自定义 - GreyishBlack,Consolas Font上的白色文本
HotKeys - CTRL+SHIFT+ALT+Z (Attach to Process) probably some others too...
HotKeys - CTRL + SHIFT + ALT + Z(附加到流程)可能还有其他一些......
Addins - DPack, Coderush, GhostDoc.
Addins - DPack,Coderush,GhostDoc。
Toolbars Off All Windows set to collapsed
工具栏关闭所有Windows设置为折叠
I am not doing presentations with this machine - If I was it would be barebones.
我没有用这台机器做演示 - 如果我是它那将是准系统。
#10
2
eclipse plugins make my ide exactly the way I want it of course.
eclipse插件让我的ide完全按照我想要的方式运行。
eclipse插件中心
#11
2
I kinda like the default setup of VS, I only make sure about Consolas as the editor font, and tabsize 2 (tabs to spaces), and change the color of numbers (red).
我有点像VS的默认设置,我只确认Consolas作为编辑器字体,并标记2(制表符到空格),并更改数字的颜色(红色)。
#12
2
For Java development using Eclipse I have a few plugins that are indispensable. The MyEclipse Workbench adds a lot of functionality to most of the built-in modules. It makes it very easy to deploy an application to multiple application servers, and enhances a lot of the built-in editors. The PMD plugin is great for searching for potential code issues. As mentioned in a previous post today, the Ganymede plugin really helps to highlight log entries.
对于使用Eclipse的Java开发,我有一些必不可少的插件。 MyEclipse Workbench为大多数内置模块添加了许多功能。它使得将应用程序部署到多个应用程序服务器变得非常容易,并且增强了许多内置编辑器。 PMD插件非常适合搜索潜在的代码问题。正如今天上一篇文章中所提到的,Ganymede插件确实有助于突出显示日志条目。
#13
2
I dont care much for fancy visual addons, so I left my IDE (Visiual Studio) in the standard look (other than MS Reference Sans Serif font).
我不太关心花哨的视觉插件,所以我将IDE(Visiual Studio)留在标准外观中(MS Reference Sans Serif字体除外)。
#14
1
I usually change the color scheme to have a black background instead of white.
我通常将配色方案改为黑色背景而不是白色。
#15
1
I use the Zenburn color scheme with Proggy Clean for a font. It's like a comfy chair for my eyes.
我使用带有Proggy Clean的Zenburn配色方案作为字体。这对我来说就像一把舒适的椅子。
#16
1
Nothing. I hate dealing with all the breakages that inevitably result from updates, etc. So, I adapt myself to my IDE instead.
没有。我讨厌处理因更新等不可避免的所有破损。所以,我改编自己的IDE。
#17
1
I've using a combination of ViEmu and ReSharper with a dark theme.
我使用ViEmu和ReSharper的组合,黑色主题。
Oh, and I also hide most of the toolbars and turn off the animations to try to speed things up.
哦,我还隐藏了大多数工具栏并关闭动画以试图加快速度。
#18
1
Silver background, 8pt Consolas, disable all toolbars and set tab spacing to 3 spaces. :)
银色背景,8pt Consolas,禁用所有工具栏并将制表符间距设置为3个空格。 :)
#19
1
For Visual Studio
对于Visual Studio
- Most important - Resharper - I bought my own copy so I don't have to badger my employer about it.
- Change the colourisation/font - choose whatever suits you
- Optimisation (vote up Gulzar's post with the link in it)
- Don't try and make the IDE do everything, just because you can. (Kind of ironic seeing I use emacs as well). I personally really dislike integrated source code management.
- Change some defaut file associations so double clicking certain file types doesn't kick off Visual Studio
最重要的 - Resharper - 我买了我自己的副本,所以我不必为我的雇主骂它。
更改颜色/字体 - 选择适合您的颜色
优化(将Gulzar的帖子与其中的链接一起投票)
不要试图让IDE做所有事情,只因为你可以。 (有点讽刺的是我也使用emacs)。我个人真的不喜欢集成的源代码管理。
更改一些defaut文件关联,以便双击某些文件类型不会启动Visual Studio
Aside from Resharper I've actually found most other beneficial thing is not customising the IDE, but customising yourself to learn the keyboard shortcuts. Start with the big gains like Ctrl -, Ctrl Shift -, Ctrl Shift V, Ctrl Alt L etc. etc. and then gradually learn the rest of the shortcuts in order of how often you'd use them
除了Resharper,我实际上发现大多数其他有益的东西不是自定义IDE,而是自定义自己来学习键盘快捷键。从Ctrl - ,Ctrl Shift - ,Ctrl Shift V,Ctrl Alt L等大增益开始,然后按照您使用它们的频率逐渐学习其余的快捷方式
#20
1
Rather than customizing the IDE, I customized my error messages. I have a macro that expands to a #pragma warning
statement that generates a compile-time message in the same format as MSVC++. Visual Studio can parse the resulting warning, so a double-click on the message opens the offending file in the IDE and takes me right to the line in question.
我自定义了错误消息,而不是自定义IDE。我有一个宏扩展为#pragma警告语句,该语句以与MSVC ++相同的格式生成编译时消息。 Visual Studio可以解析生成的警告,因此双击该消息会在IDE中打开有问题的文件,并将我带到相关的行。
I've used the macro:
我用过宏:
- To "bookmark" a section of code, so developers will be nagged to fix it each time they build.
- Within
#if
blocks to test for various compile-time conditions. - In headers, to see who
#include
s them, and where.
要为一段代码“添加书签”,开发人员每次构建时都会被唠叨来修复它。
在#if块中测试各种编译时条件。
在标题中,查看谁#included他们,以及在哪里。
#21
1
From vim
you can set the makeprg
(make program) variable to a command that will build your project, and the errorformat
variable to a scanf
-style string that describes the format of the build errors. From there:
从vim可以将makeprg(make program)变量设置为将构建项目的命令,将errorformat变量设置为描述构建错误格式的scanf样式字符串。从那里:
-
:make
will build your project -
:cl
lists all of the errors that matcherrorformat
-
:cc
takes to you the current error -
:cn
takes you to the next error -
:cp
takes you to the previous error.
:make将构建您的项目
:cl列出了与errorformat匹配的所有错误
:cc会向您显示当前错误
:cn带你到下一个错误
:cp将您带到上一个错误。
Out of the box, vim
sets makeprg
and errorformat
to work with make
and gcc
, and all of the commands are documented within vim
's built-in help.
开箱即用,vim设置makeprg和errorformat以使用make和gcc,所有命令都记录在vim的内置帮助中。
#22
1
I do Java development in Eclipse. Here are some of the plug ins I find useful:
我在Eclipse中进行Java开发。以下是我认为有用的一些插件:
- Mylyn - hides project elements not relevant to the current context.
- eUML2 - UML editor.
- FindBugs - Static analysis tool to find common bugs in Java.
- Crap4J - Another static analysis tool.
- EclEmma - Code coverage plug-in for unit tests.
Mylyn - 隐藏与当前上下文无关的项目元素。
eUML2 - UML编辑器。
FindBugs - 用于查找Java中常见错误的静态分析工具。
Crap4J - 另一种静态分析工具。
EclEmma - 用于单元测试的代码覆盖插件。
Edit: I forgot one:
编辑:我忘了一个:
- Disable the spellchecker. :)
禁用拼写检查程序。 :)
#23
1
In visual studio 2005 I do these:
在visual studio 2005中,我这样做:
- Bind F11 to fullscreen mode
- Enable a vertical line at 80 characters:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Text Editor\Guides = "RGB(196,196,196) 80"
(Guides won't be present in the registry.) - Add the "Start Debugging", "Break All" and "Stop Debugging" buttons after the "Help" menu.
将F11绑定到全屏模式
启用80个字符的垂直线:HKEY_CURRENT_USER \ Software \ Microsoft \ VisualStudio \ 8.0 \ Text Editor \ Guides =“RGB(196,196,196)80”(指南不会出现在注册表中。)
在“帮助”菜单后添加“开始调试”,“全部中断”和“停止调试”按钮。
#24
0
I am using Vim Cscope plugin.
我正在使用Vim Cscope插件。
Cscope is like 'ctags' on steroids and makes traversing code much easier. I usually use it along with tags to find where a function is declared and then go directly to whatever code is calling this function.
Cscope就像类固醇上的'ctags',使得遍历代码变得更加容易。我通常将它与标签一起使用以查找声明函数的位置,然后直接转到调用此函数的任何代码。
I also use Vim's Rgrep plugin (recursive search) to search for files in the code hierarchy.
我还使用Vim的Rgrep插件(递归搜索)来搜索代码层次结构中的文件。
#25
0
Create some basic macro such as printing bug fix code comments:
创建一些基本的宏,如打印错误修复代码注释:
Public Sub WriteBugFix()
Dim TS As TextSelection = DTE.ActiveDocument.Selection
TS.Text = "'Edited for Bug Fixed By JK - " & Date.Now.ToShortDateString
End Sub
#26
0
(This answer assumes the workstation is a GNU/Linux computer.)
(这个答案假设工作站是GNU / Linux计算机。)
Emacs makes an excellent IDE specifically because it can be greatly customized.
Emacs是一款出色的IDE,因为它可以大大定制。
You customize Emacs by editing the .emacs file in your home directory. My .emacs is a symbolic link:
您可以通过编辑主目录中的.emacs文件来自定义Emacs。我的.emacs是一个符号链接:
$ ln -s /home/bzimmerly/bin/emacs/emacs24/wbz.emacs.el .emacs
$ ln -s /home/bzimmerly/bin/emacs/emacs24/wbz.emacs.el .emacs
Since Emacs offers a variety of specialized major modes for program development and debugging, you can easily "roll your own" IDE design that works best for you. For example, when I'm programming in C or assembler, I like to have the left side running GDB mode, with the right side displaying the source being traced.
由于Emacs提供了各种专门用于程序开发和调试的主要模式,因此您可以轻松地“推出自己的”最适合您的IDE设计。例如,当我在C或汇编程序中编程时,我喜欢让左侧运行GDB模式,右侧显示正在跟踪的源。
A little bit of LISP skill goes a long way to turning Emacs into a very powerful IDE. It is well worth the investment of time to learn how to use this powerful tool!
一点点的LISP技巧对于将Emacs变成一个非常强大的IDE有很长的路要走。学习如何使用这个强大的工具是值得花时间的投入!
Finally, tools like Youtube are valuable places for learning how to do this. Just entering "Emacs as an IDE" on the Youtube search form will show videos of how people have modified Emacs for just such a purpose. There are videos on editing Python code, Javascript, Java, C, etc.
最后,像Youtube这样的工具是学习如何做到这一点的宝贵场所。只需在Youtube搜索表单中输入“Emacs作为IDE”,就会显示人们如何为此目的修改Emacs的视频。有关于编辑Python代码,Javascript,Java,C等的视频。
#1
5
ReSharper 4.1 for Visual Studio 2008. It's a beautiful thing. It looks for all kinds of code errors, optimizations, etc. My code is cleaner thanks to this handy Visual Studio plugin.
适用于Visual Studio 2008的ReSharper 4.1。这是一件很棒的事情。它寻找各种代码错误,优化等。由于这个方便的Visual Studio插件,我的代码更清晰。
#2
3
Optimizing the IDE will be the first step. Resharper helps a lot but sometimes some simple macros are more than enough.
优化IDE将是第一步。 Resharper有很多帮助,但有时候一些简单的宏绰绰有余。
#3
3
First things first. Change the font from the default crappy one. Then start fiddling with the 'Options' dialog box.
首先要做的事情。从默认的糟糕的字体更改字体。然后开始摆弄'选项'对话框。
#4
3
At the recommendation of a friend, I installed Visual Assist for Visual Studio 2008 -- it is awesome. I swear it can read my mind.
在朋友的推荐下,我为Visual Studio 2008安装了Visual Assist - 它非常棒。我发誓它可以读懂我的想法。
[Note: I have no affiliation with them -- just a very happy customer]
[注意:我与他们没有任何关系 - 只是一个非常满意的客户]
#5
3
I've done a lot, but I really shouldn't have. So in the last few years, I've toned down the number of macros, custom key mappings, custom toolbars, etc. For the most part, I'm of the opinion that developers should get used to the default behavior and appearance of their IDE. Then when you need to work on your colleague's machine, you still know how to get around and manage to help them out. Not to mention that a whole slew of customizations will get broken or rearranged or otherwise reset when an update comes out.
我已经做了很多,但我真的不应该。所以在过去的几年里,我已经减少了宏的数量,自定义键映射,自定义工具栏等。在大多数情况下,我认为开发人员应该习惯他们的默认行为和外观IDE。然后,当您需要在同事的机器上工作时,您仍然知道如何绕过并设法帮助他们。更不用说在更新发布时,大量的自定义将被破坏或重新排列或以其他方式重置。
That said, there are a few things that I still do every time I set up an IDE to work on... for example, setting the number of concurrent builds in Visual Studio to be 1, because that feature is so broken that nothing will compile correctly with any greater setting. Apart from that, being an ace with the default behavior will ultimately make you more efficient than spending hours tweaking the software to make it just a little more fluid.
也就是说,每次我设置一个IDE来处理时,我仍然会做一些事情......例如,将Visual Studio中的并发构建数设置为1,因为该功能已被破坏,以至于没有任何内容使用任何更大的设置正确编译。除此之外,作为具有默认行为的ace将最终使您比花费数小时调整软件以使其更加流畅更有效。
#6
3
I like CodeSmart VB6 and CodeSmart VS.NET from Axtools http://www.axtools.com/ for advanced syntax highlighting, drawing lines between parts of If..then..else..endif, Do While ... loop and all other constructs. It also has great code auditors and many add-in functions.
我喜欢Axtools http://www.axtools.com/的CodeSmart VB6和CodeSmart VS.NET,用于高级语法高亮,在If..then..else..endif,Do While ...循环和所有部分之间画线。其他结构。它还拥有出色的代码审计员和许多附加功能。
#7
3
Vi plugin!!
#8
2
I use Emacs. My .emacs file is only a few hundred lines long, but does customize settings based on my machine's hostname and operating system, so that I can use the same config file pretty much anywhere.
我用Emacs。我的.emacs文件只有几百行,但是根据我机器的主机名和操作系统自定义设置,这样我就可以在任何地方使用相同的配置文件。
#9
2
Colorization - Custom - White Text on GreyishBlack, Consolas Font
着色 - 自定义 - GreyishBlack,Consolas Font上的白色文本
HotKeys - CTRL+SHIFT+ALT+Z (Attach to Process) probably some others too...
HotKeys - CTRL + SHIFT + ALT + Z(附加到流程)可能还有其他一些......
Addins - DPack, Coderush, GhostDoc.
Addins - DPack,Coderush,GhostDoc。
Toolbars Off All Windows set to collapsed
工具栏关闭所有Windows设置为折叠
I am not doing presentations with this machine - If I was it would be barebones.
我没有用这台机器做演示 - 如果我是它那将是准系统。
#10
2
eclipse plugins make my ide exactly the way I want it of course.
eclipse插件让我的ide完全按照我想要的方式运行。
eclipse插件中心
#11
2
I kinda like the default setup of VS, I only make sure about Consolas as the editor font, and tabsize 2 (tabs to spaces), and change the color of numbers (red).
我有点像VS的默认设置,我只确认Consolas作为编辑器字体,并标记2(制表符到空格),并更改数字的颜色(红色)。
#12
2
For Java development using Eclipse I have a few plugins that are indispensable. The MyEclipse Workbench adds a lot of functionality to most of the built-in modules. It makes it very easy to deploy an application to multiple application servers, and enhances a lot of the built-in editors. The PMD plugin is great for searching for potential code issues. As mentioned in a previous post today, the Ganymede plugin really helps to highlight log entries.
对于使用Eclipse的Java开发,我有一些必不可少的插件。 MyEclipse Workbench为大多数内置模块添加了许多功能。它使得将应用程序部署到多个应用程序服务器变得非常容易,并且增强了许多内置编辑器。 PMD插件非常适合搜索潜在的代码问题。正如今天上一篇文章中所提到的,Ganymede插件确实有助于突出显示日志条目。
#13
2
I dont care much for fancy visual addons, so I left my IDE (Visiual Studio) in the standard look (other than MS Reference Sans Serif font).
我不太关心花哨的视觉插件,所以我将IDE(Visiual Studio)留在标准外观中(MS Reference Sans Serif字体除外)。
#14
1
I usually change the color scheme to have a black background instead of white.
我通常将配色方案改为黑色背景而不是白色。
#15
1
I use the Zenburn color scheme with Proggy Clean for a font. It's like a comfy chair for my eyes.
我使用带有Proggy Clean的Zenburn配色方案作为字体。这对我来说就像一把舒适的椅子。
#16
1
Nothing. I hate dealing with all the breakages that inevitably result from updates, etc. So, I adapt myself to my IDE instead.
没有。我讨厌处理因更新等不可避免的所有破损。所以,我改编自己的IDE。
#17
1
I've using a combination of ViEmu and ReSharper with a dark theme.
我使用ViEmu和ReSharper的组合,黑色主题。
Oh, and I also hide most of the toolbars and turn off the animations to try to speed things up.
哦,我还隐藏了大多数工具栏并关闭动画以试图加快速度。
#18
1
Silver background, 8pt Consolas, disable all toolbars and set tab spacing to 3 spaces. :)
银色背景,8pt Consolas,禁用所有工具栏并将制表符间距设置为3个空格。 :)
#19
1
For Visual Studio
对于Visual Studio
- Most important - Resharper - I bought my own copy so I don't have to badger my employer about it.
- Change the colourisation/font - choose whatever suits you
- Optimisation (vote up Gulzar's post with the link in it)
- Don't try and make the IDE do everything, just because you can. (Kind of ironic seeing I use emacs as well). I personally really dislike integrated source code management.
- Change some defaut file associations so double clicking certain file types doesn't kick off Visual Studio
最重要的 - Resharper - 我买了我自己的副本,所以我不必为我的雇主骂它。
更改颜色/字体 - 选择适合您的颜色
优化(将Gulzar的帖子与其中的链接一起投票)
不要试图让IDE做所有事情,只因为你可以。 (有点讽刺的是我也使用emacs)。我个人真的不喜欢集成的源代码管理。
更改一些defaut文件关联,以便双击某些文件类型不会启动Visual Studio
Aside from Resharper I've actually found most other beneficial thing is not customising the IDE, but customising yourself to learn the keyboard shortcuts. Start with the big gains like Ctrl -, Ctrl Shift -, Ctrl Shift V, Ctrl Alt L etc. etc. and then gradually learn the rest of the shortcuts in order of how often you'd use them
除了Resharper,我实际上发现大多数其他有益的东西不是自定义IDE,而是自定义自己来学习键盘快捷键。从Ctrl - ,Ctrl Shift - ,Ctrl Shift V,Ctrl Alt L等大增益开始,然后按照您使用它们的频率逐渐学习其余的快捷方式
#20
1
Rather than customizing the IDE, I customized my error messages. I have a macro that expands to a #pragma warning
statement that generates a compile-time message in the same format as MSVC++. Visual Studio can parse the resulting warning, so a double-click on the message opens the offending file in the IDE and takes me right to the line in question.
我自定义了错误消息,而不是自定义IDE。我有一个宏扩展为#pragma警告语句,该语句以与MSVC ++相同的格式生成编译时消息。 Visual Studio可以解析生成的警告,因此双击该消息会在IDE中打开有问题的文件,并将我带到相关的行。
I've used the macro:
我用过宏:
- To "bookmark" a section of code, so developers will be nagged to fix it each time they build.
- Within
#if
blocks to test for various compile-time conditions. - In headers, to see who
#include
s them, and where.
要为一段代码“添加书签”,开发人员每次构建时都会被唠叨来修复它。
在#if块中测试各种编译时条件。
在标题中,查看谁#included他们,以及在哪里。
#21
1
From vim
you can set the makeprg
(make program) variable to a command that will build your project, and the errorformat
variable to a scanf
-style string that describes the format of the build errors. From there:
从vim可以将makeprg(make program)变量设置为将构建项目的命令,将errorformat变量设置为描述构建错误格式的scanf样式字符串。从那里:
-
:make
will build your project -
:cl
lists all of the errors that matcherrorformat
-
:cc
takes to you the current error -
:cn
takes you to the next error -
:cp
takes you to the previous error.
:make将构建您的项目
:cl列出了与errorformat匹配的所有错误
:cc会向您显示当前错误
:cn带你到下一个错误
:cp将您带到上一个错误。
Out of the box, vim
sets makeprg
and errorformat
to work with make
and gcc
, and all of the commands are documented within vim
's built-in help.
开箱即用,vim设置makeprg和errorformat以使用make和gcc,所有命令都记录在vim的内置帮助中。
#22
1
I do Java development in Eclipse. Here are some of the plug ins I find useful:
我在Eclipse中进行Java开发。以下是我认为有用的一些插件:
- Mylyn - hides project elements not relevant to the current context.
- eUML2 - UML editor.
- FindBugs - Static analysis tool to find common bugs in Java.
- Crap4J - Another static analysis tool.
- EclEmma - Code coverage plug-in for unit tests.
Mylyn - 隐藏与当前上下文无关的项目元素。
eUML2 - UML编辑器。
FindBugs - 用于查找Java中常见错误的静态分析工具。
Crap4J - 另一种静态分析工具。
EclEmma - 用于单元测试的代码覆盖插件。
Edit: I forgot one:
编辑:我忘了一个:
- Disable the spellchecker. :)
禁用拼写检查程序。 :)
#23
1
In visual studio 2005 I do these:
在visual studio 2005中,我这样做:
- Bind F11 to fullscreen mode
- Enable a vertical line at 80 characters:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Text Editor\Guides = "RGB(196,196,196) 80"
(Guides won't be present in the registry.) - Add the "Start Debugging", "Break All" and "Stop Debugging" buttons after the "Help" menu.
将F11绑定到全屏模式
启用80个字符的垂直线:HKEY_CURRENT_USER \ Software \ Microsoft \ VisualStudio \ 8.0 \ Text Editor \ Guides =“RGB(196,196,196)80”(指南不会出现在注册表中。)
在“帮助”菜单后添加“开始调试”,“全部中断”和“停止调试”按钮。
#24
0
I am using Vim Cscope plugin.
我正在使用Vim Cscope插件。
Cscope is like 'ctags' on steroids and makes traversing code much easier. I usually use it along with tags to find where a function is declared and then go directly to whatever code is calling this function.
Cscope就像类固醇上的'ctags',使得遍历代码变得更加容易。我通常将它与标签一起使用以查找声明函数的位置,然后直接转到调用此函数的任何代码。
I also use Vim's Rgrep plugin (recursive search) to search for files in the code hierarchy.
我还使用Vim的Rgrep插件(递归搜索)来搜索代码层次结构中的文件。
#25
0
Create some basic macro such as printing bug fix code comments:
创建一些基本的宏,如打印错误修复代码注释:
Public Sub WriteBugFix()
Dim TS As TextSelection = DTE.ActiveDocument.Selection
TS.Text = "'Edited for Bug Fixed By JK - " & Date.Now.ToShortDateString
End Sub
#26
0
(This answer assumes the workstation is a GNU/Linux computer.)
(这个答案假设工作站是GNU / Linux计算机。)
Emacs makes an excellent IDE specifically because it can be greatly customized.
Emacs是一款出色的IDE,因为它可以大大定制。
You customize Emacs by editing the .emacs file in your home directory. My .emacs is a symbolic link:
您可以通过编辑主目录中的.emacs文件来自定义Emacs。我的.emacs是一个符号链接:
$ ln -s /home/bzimmerly/bin/emacs/emacs24/wbz.emacs.el .emacs
$ ln -s /home/bzimmerly/bin/emacs/emacs24/wbz.emacs.el .emacs
Since Emacs offers a variety of specialized major modes for program development and debugging, you can easily "roll your own" IDE design that works best for you. For example, when I'm programming in C or assembler, I like to have the left side running GDB mode, with the right side displaying the source being traced.
由于Emacs提供了各种专门用于程序开发和调试的主要模式,因此您可以轻松地“推出自己的”最适合您的IDE设计。例如,当我在C或汇编程序中编程时,我喜欢让左侧运行GDB模式,右侧显示正在跟踪的源。
A little bit of LISP skill goes a long way to turning Emacs into a very powerful IDE. It is well worth the investment of time to learn how to use this powerful tool!
一点点的LISP技巧对于将Emacs变成一个非常强大的IDE有很长的路要走。学习如何使用这个强大的工具是值得花时间的投入!
Finally, tools like Youtube are valuable places for learning how to do this. Just entering "Emacs as an IDE" on the Youtube search form will show videos of how people have modified Emacs for just such a purpose. There are videos on editing Python code, Javascript, Java, C, etc.
最后,像Youtube这样的工具是学习如何做到这一点的宝贵场所。只需在Youtube搜索表单中输入“Emacs作为IDE”,就会显示人们如何为此目的修改Emacs的视频。有关于编辑Python代码,Javascript,Java,C等的视频。