Does such a text editor exist?

Associate
Joined
10 Jul 2006
Posts
2,423
I am looking for a decent text editor that has the following:

- Tabs for open documents.
- Tree view side bar.
- Syntax highlighting for major languages.
- Line numbers
- Intelligent auto-formatting*
- Persistant code collapsing (so if I collapse code and then close and open the same document, the code is still collapsed)

Preferably:
- Able to login to my server via SSH and edit files directly on there.


* I want it to format my code/text such that if it exceeds 80 characters it puts the text automatically on a new line and indents it automatically. For instance if I was doing HTML:

Code:
     <p>This is the sentence.</p>

...I'm now editing that sentence and it will be longer than 80 chars so it does this:

Code:
     <p>
        This is the sentence. I have no added some extra text jazz. Pretend this is longer
        than 80 chars and it goes on a new line
     </p>

Or if I was doing javascript, this:

Code:
   myVar += areallylongvariablename + anotherreallylongvariablename + "Some more stuff";

would go to:

Code:
    myVar += areallylongvariablename + anotherreallylongvariablename +
             "Some more stuff";
 
Last edited:
I am turning into a massive fan of Sublime Text, which has such a large ecosystem of plugins and potential configuration options that I would be surprised if you can't get it set up exactly as you wish :)

I've certainly got very close to my 'ideal' text editor with it and that's after only a couple of hours of tweaking and playing around, so it may well prove to be a good candidate for you to look at.
 
+1 for Sublime Text 2. Ridiculously fast compared to other editors I have used and has great functionality / extensibility.
 
Back
Top Bottom