文字编辑建议? [英] text editor suggestion?

查看:74
本文介绍了文字编辑建议?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我知道它被问了一百万次,但我有一个更具体的问题,所以希望这不会是同一个老帖子。我已经尝试了几个不同的编辑器,而且我非常喜欢UltraEdit,但它只是Windows,而且我现在正在Linux上工作更多。


以下是我的标准:


1.语法高亮(高度可定制)

2. auto /智能缩进

3.运行脚本的能力

4.轻量级文本编辑器,不是IDE

5.跨平台(不是真的有必要,但很好)


这几乎是我所需要的。当你可以自定义一堆

的其他东西时,这很好,但那些是最重要的。


我试过vim,但是我真的不想花时间学习

如何使用它,因为我只是喜欢随便编程(不是为了提供我喜欢的b $ b)在浏览文档时使用鼠标

有时候。


我也刚刚开始使用Scite,我真的很喜欢它,除了我发现它的

语法突出显示非常不灵活。你无法定义你自己的单词组 - 你必须使用基本上给出的东西。我喜欢UltraEdit的一件事就是你只需要根据需要定义多个

关键字组,然后为每个关键字分配一个样式。 Scite有一个非常奇怪和严格的突出显示方法。


所以希望你们中的一些人可能有一些建议。我的要求

是最小的,但我仍然不满意语法突出显示我很高兴看到很多编辑在那里看到了。

Ok, I know it''s been asked a million times, but I have a more specific
question so hopefully this won''t be just the same old post. I''ve tried a
few different editors, and I really like UltraEdit, but it''s
Windows-only and I''m working more on Linux nowadays.

Here are my criteria:

1. syntax highlighting (highly customizable)
2. auto/smart indenting
3. ability to run script
4. light-weight text editor, not an IDE
5. cross-platform (not really necessary, but nice)

That''s pretty much all I need. It''s nice when you can customize a bunch
of other stuff too, but those are the most important.

I''ve tried vim, but I really don''t feel like taking the time to learn
how to use it, given that I just like to casually program (not to
mention that I prefer to use the mouse when navigating a document
sometimes).

I also just started using Scite, and I really like it, except I find its
syntax highlighting to be very inflexible. You aren''t able to define
your own groups of words -- you have to use what''s given, basically. One
thing I like about UltraEdit is that you simply define as many groups of
keywords as you want and then assign a style to each one. Scite has a
very strange and rigid method of highlighting.

So hopefully some of you might have some suggestions. My requirements
are minimal, but I''m still not happy with the syntax highlighting I''m
seeing in a lot of editors out there.

推荐答案

你试过Notepad ++吗?它是一个整洁的文本编辑器。

Have you tried Notepad++? It''s a neat text-editor.


John Salerno< jo ****** @ NOSPAMgmail.comwrites:
John Salerno <jo******@NOSPAMgmail.comwrites:

以下是我的标准:


1.语法高亮(高度可定制)

2.自动/智能缩进

3.运行脚本的能力

4.轻量级文本编辑器,而不是IDE

5.跨平台(不是必需的,但很好)
Here are my criteria:

1. syntax highlighting (highly customizable)
2. auto/smart indenting
3. ability to run script
4. light-weight text editor, not an IDE
5. cross-platform (not really necessary, but nice)



文本编辑中的两个大牌,Vim和Emacs,都很容易满足这些

标准。它们还有一个优势,就是你可以在几乎任何打算供

a程序员使用的Unix系统上找到一个或两个或两个b $ b。

The two big names in text editing, Vim and Emacs, will both meet these
criteria easily. They also have the advantage that you''ll find one or
the other, or both, on just about any Unix system intended for use by
a programmer.


我试过vim,但我真的不想花时间学习

如何使用它,鉴于我就像随便编程一样(不是为了提示我在浏览文档时更喜欢使用鼠标

)。
I''ve tried vim, but I really don''t feel like taking the time to learn
how to use it, given that I just like to casually program (not to
mention that I prefer to use the mouse when navigating a document
sometimes).



如果要求,Vim和Emacs都能正常使用鼠标。


对于Emacs,你只需运行它在窗口上下文

环境中,它将使用位图图形窗口。


对于Vim,你需要运行''gvim''来得到位图窗口(后来

版本可能会默认尝试这样做,我不确定)。


还有大量的支持这两位编辑,

用于各种文本编辑任务,可在线获取。这是一个很好的想法,至少可以学习其中一个,而不是为特定的任务学习一堆不太受欢迎的编辑器。


-

\我看到一个标志:''休息区25英里''。那真是太大了。有些人|

` \人们一定很累。 - Steven Wright |

_o__)|

Ben Finney

Both Vim and Emacs operate fine with the mouse, if asked to do so.

For Emacs, you simply run it in the context of an windowing
environment and it will use a bitmapped graphical window.

For Vim, you need to run ''gvim'' to get the bitmapped window (later
versions may attempt to do this by default, I''m not sure).

There is also an enormous amount of support for both these editors,
for all manner of text editing tasks, available online. It''s a good
idea to learn at least one of them very well, rather than learn a
bunch of less-popular editors for specific tasks.

--
\ "I saw a sign: ''Rest Area 25 Miles''. That''s pretty big. Some |
`\ people must be really tired." -- Steven Wright |
_o__) |
Ben Finney


John Salerno写道:
John Salerno wrote:

好​​的,我知道它被问了一百万次,但我有一个更具体的问题,所以希望这会赢得''是一个相同的老帖子。我已经尝试了几个不同的编辑器,而且我非常喜欢UltraEdit,但它只是Windows,而且我现在正在Linux上工作更多。


以下是我的标准:


1.语法高亮(高度可定制)

2. auto /智能缩进

3.运行脚本的能力

4.轻量级文本编辑器,不是IDE

5.跨平台(不是真的有必要,但很好)


这几乎是我所需要的。当你可以自定义一堆

的其他东西时,这很好,但那些是最重要的。


我试过vim,但是我真的不想花时间学习

如何使用它,因为我只是喜欢随便编程(不是为了提供我喜欢的b $ b)在浏览文档时使用鼠标

有时候。


我也刚刚开始使用Scite,我真的很喜欢它,除了我发现它的

语法突出显示非常不灵活。你无法定义你自己的单词组 - 你必须使用基本上给出的东西。我喜欢UltraEdit的一件事就是你只需要根据需要定义多个

关键字组,然后为每个关键字分配一个样式。 Scite有一个非常奇怪和严格的突出显示方法。


所以希望你们中的一些人可能有一些建议。我的要求

是最小的,但我仍然不满意语法突出显示我是很多编辑在那里看到的

Ok, I know it''s been asked a million times, but I have a more specific
question so hopefully this won''t be just the same old post. I''ve tried a
few different editors, and I really like UltraEdit, but it''s
Windows-only and I''m working more on Linux nowadays.

Here are my criteria:

1. syntax highlighting (highly customizable)
2. auto/smart indenting
3. ability to run script
4. light-weight text editor, not an IDE
5. cross-platform (not really necessary, but nice)

That''s pretty much all I need. It''s nice when you can customize a bunch
of other stuff too, but those are the most important.

I''ve tried vim, but I really don''t feel like taking the time to learn
how to use it, given that I just like to casually program (not to
mention that I prefer to use the mouse when navigating a document
sometimes).

I also just started using Scite, and I really like it, except I find its
syntax highlighting to be very inflexible. You aren''t able to define
your own groups of words -- you have to use what''s given, basically. One
thing I like about UltraEdit is that you simply define as many groups of
keywords as you want and then assign a style to each one. Scite has a
very strange and rigid method of highlighting.

So hopefully some of you might have some suggestions. My requirements
are minimal, but I''m still not happy with the syntax highlighting I''m
seeing in a lot of editors out there.



你试过IDLE吗?它附带python,符合你的5个标准(*),

可以自定义(突出显示颜色和命令键等),并且

包括一个可用的GUI调试器。它有一些瑕疵,但我喜欢它很多,它几乎都用于我的python编码。

http://www.python.org/idle/


(*它*是一个IDE,但非常轻量级。:))

Have you tried IDLE? It ships with python, meets your 5 criteria(*),
can be customized (highlighting colors and command keys and more), and
includes a usable GUI debugger. It''s got some warts, but I like it a
lot, it''s pretty much all I use for my python coding.

http://www.python.org/idle/

(* It *is* an IDE, but a very lightweight one. :) )


这篇关于文字编辑建议?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆