基于 Windows 的文本编辑器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14155/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Windows-based Text Editors
提问by wusher
Other than Notepad++, what text editor do you use to program in Windows?
除了 Notepad++,你用什么文本编辑器在 Windows 中编程?
回答by Doug
Another vote for gvim(about, download). I think once you learn the keystrokes to control it, you won't want to use anything else.
对gvim 的另一票(about,download)。我想一旦你学会了控制它的击键,你就不会想要使用其他任何东西了。
Plus, there is the added benefit of being able to use it on just about any platform, including the nice Windows port.
此外,还有一个额外的好处是能够在几乎任何平台上使用它,包括很好的 Windows 端口。
回答by samoz
回答by Cristian
GNU Emacsis my preferred text editor and it works well on Windows (copy/paste actually works as expected) It's also available on all major platforms so you can reuse your knowledge if you jump around OSes like I tend to do.
GNU Emacs是我首选的文本编辑器,它在 Windows 上运行良好(复制/粘贴实际上按预期工作)它也可在所有主要平台上使用,因此如果您像我喜欢的那样在操作系统上跳来跳去,则可以重用您的知识。
I really like JEditas well. It's a good text editor for code and random text. It's a nice middle ground between Notepad and Eclipse.
我也非常喜欢JEdit。这是一个很好的代码和随机文本的文本编辑器。这是记事本和 Eclipse 之间的一个很好的中间地带。
If you want something just a step above Notepad for quick, efficient editing I would recommend Notepad2. It's really useful when you replacethe standard Notepad with this version. You continue to have a fast startup but the syntax highlighting is a real boon. I replace Notepad with Notepad2 on every one of my Windows machines.
如果你想要比记事本高出一步的东西来进行快速、高效的编辑,我会推荐Notepad2。当你用这个版本替换标准的记事本时,它真的很有用。您继续快速启动,但语法突出显示是一个真正的福音。我在我的每一台 Windows 机器上都用 Notepad2 替换了 Notepad。
回答by Jon Sagara
回答by David A Gibson
I'm a massive fan of Notepad2 - it is so quick!
我是 Notepad2 的忠实粉丝 - 它是如此之快!
For quick simple editing of text for me it's close to perfect. It has syntax colouring for Xml and code and can be extended easily.
对我来说,对于快速简单的文本编辑来说,它几乎是完美的。它具有 Xml 和代码的语法着色,并且可以轻松扩展。
We use Dreamweaver and Visual Studio for larger coding efforts.
我们使用 Dreamweaver 和 Visual Studio 进行更大的编码工作。
回答by SCdF
Textpadis what I would use for random text editing (checking out HTML source, quick hackery, scripts and the like).
Textpad是我用于随机文本编辑的工具(检查 HTML 源代码、快速黑客、脚本等)。
For actual Java development it's Eclipse all the way, although people tell me the IDEA is the cat's pyjamas.
对于实际的 Java 开发,它一直是 Eclipse,尽管人们告诉我 IDEA 是猫的睡衣。
回答by Orion Edwards
Is a bit buggy, but beats the pants off any other editors I've used due to it's using the Textmate bundle format (and the bundles) - also gets updated very regularly. I use it every day and would gladly purchase it again.
有点问题,但比我使用过的任何其他编辑器都要好,因为它使用 Textmate 捆绑格式(和捆绑) - 也定期更新。我每天都使用它,很乐意再次购买。
回答by Ashwin Nanjappa
Note that I primarily work in C/C++. For C/C++ code, I use Visual C++ Express Editionor Visual Studio Professional. For the little bit of Python I'm learning, I use the editor in the PythonWinIDE. (Mostly because it does a bit of code completion.) For everything else, I use GViM.
请注意,我主要使用 C/C++ 工作。对于 C/C++ 代码,我使用Visual C++ Express Edition或Visual Studio Professional。对于我正在学习的 Python 的一点点,我使用PythonWinIDE 中的编辑器。(主要是因为它做了一些代码补全。)对于其他一切,我使用GViM。
Tip:
提示:
After you install ViM on Windows, if you right-click on any file in Explorer, you see the Edit with Vimoption in the right-click menu. This is very useful for peeking into and editing every kind of text filewithout having to bother about specific editors. GViM can understand most formats and thus displays them with syntax coloring. Get used to doing this and soon GViM becomes your defacto generic text editor on Windows. (Even replacing Notepad.)
在 Windows 上安装 ViM 后,如果在资源管理器中右键单击任何文件,您会在右键单击菜单中看到使用 Vim 编辑选项。这对于查看和编辑各种文本文件非常有用,而无需担心特定的编辑器。GViM 可以理解大多数格式,因此可以使用语法着色来显示它们。习惯了这样做,很快 GViM 就会成为 Windows 上事实上的通用文本编辑器。(甚至更换记事本。)
回答by Chris
Thej already recommended it, but to elaborate:
Thej 已经推荐了它,但要详细说明:
SciTE- Free, has preset colouring for many languages, and it's multi-platform (Windows & Linux), and lightweight.
SciTE- 免费,为多种语言预设了着色,并且它是多平台(Windows 和 Linux),并且是轻量级的。