Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 it, 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.

like image 937
Daniel Avatar asked Jul 17 '10 05:07

Daniel


1 Answers

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.

like image 81
David Z Avatar answered Oct 14 '22 21:10

David Z