windows 记事本++替换

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2827125/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 14:27:43  来源:igfitidea点击:

Notepad++ replacement

windowstext-editorcode-snippets

提问by bah

I've been using Notepad++ for a while now, but I noticed it doesn't have code snippets (I found the QuickTextplug-in, but it doesn't work anymore), so I'd like to switch editor and my requirements would be:

我已经使用 Notepad++ 有一段时间了,但我注意到它没有代码片段(我找到了QuickText插件,但它不再工作了),所以我想切换编辑器和我的要求将是:

  1. Fast startup.
  2. Code snippets.
  3. Ability to use themes.
  4. File tree view (or plug-in, which does that).
  5. FREE if possible, but I'll consider buying if it's exactly what I want.
  1. 快速启动。
  2. 代码片段。
  3. 使用主题的能力。
  4. 文件树视图(或插件,这样做)。
  5. 如果可能的话,免费,但如果这正是我想要的,我会考虑购买。

What are you using?

你在用什么?

采纳答案by Ben Hoffstein

The E Text Editor(clone of TextMate for Windows) is worth a look. It supports all TextMate snippets, has a file tree view (watch the screencast), has multiple themes, and starts up relatively fast.

E文的编辑器(适用于Windows的TextMate的克隆)是值得一试。它支持所有 TextMate 片段,具有文件树视图(观看截屏视频),具有多个主题,并且启动速度相对较快。

回答by Harmen

I boughtan editor, which is said to be TextMate for Windows:

买了一个编辑器,据说是TextMate for Windows:

回答by Paul Sasik

Try Notepad++ with the Explorer and SnippetPlus plug-ins. (They are not installed by default but are readily accessible from the NPP plug in manager.)

使用 Explorer 和 SnippetPlus 插件尝试 Notepad++。(它们不是默认安装的,但可以从 NPP 插件管理器中轻松访问。)

With those plug ins in place all of your requirements are met for free.

安装这些插件后,您的所有要求都可以免费得到满足。

回答by jussij

Assuming by themesyou mean configurable syntax highlighting then Zeuseditor has all of these features.

假设您的主题是可配置的语法突出显示,那么Zeus编辑器具有所有这些功能。

Zeus is sharewarebut there is also a freewareZeus Liteversion.

Zeus 是共享软件,但也有免费的Zeus Lite版本。

回答by clyfe

IMHO there is nothing better than Notepad++, the best thing to do is write a plugin.
My second favorite would be Redcarbut may fail you at the speed issue. Screenshots.

恕我直言,没有什么比 Notepad++ 更好的了,最好的办法是编写一个插件。
我的第二个最爱是Redcar,但在速度问题上可能会让你失望。截图

回答by afrazier

Even though there's already an accepted answer, I'm going to weigh in with a couple alternatives:

即使已经有一个公认的答案,我还是要权衡几个选择:

  • Intypeis trying to do the TextMate-alike bit on Windows as well. It doesn't have a file explorer per se, but it does have a "Project Sidebar" that you can drop a working folder onto.
  • Programmer's Notepadis "Yet Another Scintilla Editor", like Notepad++. It does have a file browser plugin and text clips.
  • Intype 也在尝试在 Windows 上做类似 TextMate 的部分。它没有一个文件浏览器本身,但它确实有一个“项目侧栏”,你可以删除工作文件夹到。
  • Programmer's Notepad是“Yet Another Scintilla Editor”,就像 Notepad++。它确实有一个文件浏览器插件和文本剪辑。

回答by monotux

Well, there is always Emacs. It does everything that you ask for, and a lot more. The only real downside is the learning curve (C-x C-sto save, C-x C-cto exit etc), but it's a myth that learning Emacs is hard. And you don't even have to learn that much in order to use it (like with VIM), learn the basics and learn more when needed.

嗯,总有 Emacs。它可以完成您所要求的一切,甚至更多。唯一真正的缺点是学习曲线(C-x C-s保存、C-x C-c退出),但学习 Emacs 很难是一个神话。而且你甚至不需要学习那么多就可以使用它(就像使用 VIM),学习基础知识并在需要时学习更多。

Also, ErgoEmacsseems to be a good place to start. I wish I could have discovered it before getting too familiar with vanilla-Emacs. Oh well.

此外,ErgoEmacs似乎是一个不错的起点。我希望我能在太熟悉 vanilla-Emacs 之前发现它。那好吧。

回答by Tarka

I'd say give jEdita try.

我想说试试jEdit

  1. Takes maybe 10 seconds to load on my machine here (faster if you're running the pre-loader server)
  2. haven't tried it, but pretty sure some of the plugins can do it
  3. Comes with a few themes pre-loaded, but several plugins let you customize it even more
  4. The basic open dialog is good, but get the ProjectManager plugin, and it gives you a lot more options
  1. 在我的机器上加载可能需要 10 秒(如果您正在运行预加载服务器,则速度更快)
  2. 没试过,但很确定一些插件可以做到
  3. 预装了一些主题,但有几个插件可让您自定义更多
  4. 基本的打开对话框很好,但是获得 ProjectManager 插件,它为您提供了更多选择

In case you can't tell, a lot of the stuff you're after is in the plugins. Even if not for these, I'd still suggest every programmer keep it around, even if just for the following:

万一你不知道,你想要的很多东西都在插件中。即使不是为了这些,我仍然建议每个程序员保留它,即使只是为了以下几点:

  • Editing by FTP/SFTP (via plugin)
  • Able to recognize any (or, about a hundred or more types, anyhow) text file encoding, and open & save it appropriately
  • Multi-line editing
  • Multi-line search & replace
  • Regex S&R (easier than most other editors I've seen)
  • S&R across all or filtered files in a directory
  • Any installed plugins don't feel like additions, they feel like they're just built-in
  • Basic syntax highlighting for nearly every type of file (Except VB, strangely)
  • I've been using it for about 5 years now, and I'm still finding new features
  • 通过 FTP/SFTP 编辑(通过插件)
  • 能够识别任何(或大约一百或更多类型,无论如何)文本文件编码,并适当地打开和保存它
  • 多行编辑
  • 多行搜索和替换
  • Regex S&R(比我见过的大多数其他编辑器更容易)
  • 跨目录中所有文件或过滤文件的 S&R
  • 任何已安装的插件都感觉像是添加的,它们感觉像是内置的
  • 几乎所有类型文件的基本语法突出显示(除了 VB,奇怪的是)
  • 我已经使用它大约 5 年了,我仍在寻找新功能

EDIT: just timed it, and it takes about 3-4 seconds to open here.

编辑:刚刚计时,在这里打开大约需要3-4秒。

回答by ewall

After years of perpetual searching for a good text/code editor on Windoze, I settled on Cream, which is basically a big extension to gVim.

经过多年在 Windoze 上不断寻找好的文本/代码编辑器,我选择了Cream,它基本上是 gVim 的一个重要扩展。

It gives you all the power of Vim and compatibility with Vim plug-ins like the NERDtree file explorer, but with common command shortcuts (Cntl-O for "Open", Cntl-S for "Save", etc.), full menus, and yes, even pretty color themes. As a bonus, it's cross-platform, so the editor I use in Windows is the same one I use in Linux. I highly recommend giving Cream a try.

它为您提供 Vim 的所有功能以及与NERDtree 文件浏览器等 Vim 插件的兼容性,但具有通用命令快捷方式(Cntl-O 表示“打开”,Cntl-S 表示“保存”等)、完整菜单、是的,即使是漂亮的颜色主题。作为奖励,它是跨平台的,所以我在 Windows 中使用的编辑器与我在 Linux 中使用的编辑器相同。我强烈建议您尝试使用 Cream。

回答by Alex Budovski

Possibly UltraEdit, TextPad, SlickEdit for your needs.

可能有 UltraEdit、TextPad、SlickEdit 以满足您的需要。

(Personally, I'd go with gVim though).

(就我个人而言,我会选择 gVim)。