开发者

A quest for programmers editor under Linux

I understand this question is very personal for everyone :), but still I'm forced to ask it. Currently I'm using VIM and gVIM as my main editor, but imho it has a lot of downsides:

  1. Very inconvenient scripting language.
  2. Indentation and highlighting with regexps (real life shows that it's not the best idea).
  3. Mixed file types issues (i.e. erb, html (+js +css), php +html, etc...).
  4. Lack of auto-completion (i know there's a Acp and couple of other scripts, but i don't like the way they work with different programming languages and not take into account peculiarities of the programming language).

I've got more wining, but I don't think someone want to hear it :) This are the points making most problems for me.

So I'm looking for a new editor. Which should:

  1. Have some common scripting language (i.e. Python, Perl, Ruby, etc...) and good extensibility.
  2. Auto-completion.
  3. Window splits (when you try i开发者_JAVA百科t, you can't live w/o it :)).
  4. Support of multiple languages and good support of mixed modes (definitely must have).
  5. GUI support. With ability to create/instantiate widgets from extensions.

If editor has this features, it means it is what I want. I saw lots of options, tried Emacs, jEdit and dozens of others, but I didn't find anything satisfying this 5 points. The only editor that was satisfying 4/5 points was gEdit, but I can't live w/o splits :(

If someone knows such editor please share.

Thank you :)

P.S. No holy wars plz.


I think Kate comes close:

  1. Have some common scripting language (i.e. Python, Perl, Ruby, etc...) and good extensibility.

    You can automate certain tasks in Javascript, although the API is somewhat limited... but the developers are working on it. (That's a fairly new feature)

  2. Auto-completion.

    Kate has it (almost too much - it sometimes autocompletes things I didn't want it to). I believe it autocompletes based partly on the words you've used in the current file.

  3. Window splits (when you try it, you can't live w/o it :)).

    Available on the View menu

  4. Support of multiple languages and good support of mixed modes (definitely must have).

    Syntax highlighting is available for many languages including mixed modes like CSS within HTML <style></style> or JS within <script></script>, and you can write your own syntax highlighting files to support additional languages or combinations

  5. GUI support. With ability to create/instantiate widgets from extensions.

    It's a GUI program, hopefully that's enough support for you... and Kate supports a plugin system where plugins are able to create their own menu items (or menus), sidebars, dialogs, etc.


Emacs

  1. Use Pymacs.
  2. Emacs has semantic.
  3. Of course.
  4. nxhtml mode supports the case of CSS and JS in HTML, along with other preprocessors (PHP, etc). This is a weak point of most text editors, and Emacs is no exception. The multi-major mode feature is specific to the major mode in use and isn't general purpose.
  5. Its a text editor. It has text ;)


I use the Komodo IDE (commercial, expensive) to write Perl code.

There is a free edition, Komodo Edit, that doesn't have the IDE features but works well as an editor.


Bluefish is a pretty full featured, yet lightweight editor, and meets most of your needs. Check out the list of features.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜