Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

+16

undo/redo history tree

Uziel Bueno 13 лет назад обновлен blizzrdof77 6 лет назад 2
It will be very useful to have the done actions tree like E-TextEditor. I think this feature is ultra useful because even when you have closed your files and reopen them keeps the history of all the modifications in the file letting you redo/undo any change.

Sometimes it useful to go back to a point where something was in some way without requiring you to use a versioning system, just for undo quickly and test. 
+16

Run Python script in a virtual environment (virtualenv)

Rob Speer 14 лет назад обновлен Jonatas Castório Damasceno 13 лет назад 6
The "Build" command for a Python script runs it through the global Python environment, but all my real code lives in virtual environments.

It would be helpful if Sublime Text had a way to choose a Python environment.
+16

File association

Andrew Smith 13 лет назад обновлен chip siskey 13 лет назад 2
I intend to try out sublime text across a number of machines as a replacement to Notepad++. 

I have previously associated a variety of text files (xml, csv, css, html, js, txt, log...) with Notepad++ and now I have to go through the following process with each file type:

  1. Double click my log file (or other)
  2. find it opens with notepad++
  3. close file
  4. right click -> open with .. > sublime text & tick 'always use sublime txt'
It's really slowed down my adoption of sublime text as a text editor. I know it's *very* annoying when *some* applications do this (I'm looking at Windows Media Player here) but in this case I feel it would be totally justified.

+16

Use the 2 finger left/right swipe gesture on OS X to navigate between open files

Joshua Poehls 14 лет назад обновлен ken ohata 13 лет назад 2
Either go back/forward through a history of recently accessed files (probably the most logical) or simply left/right thru the tabs.
+16

Syntax Highlighting for .less files

Byron Corrales Rivas 13 лет назад обновлен Dan Rogers 13 лет назад 2
What I need to do for at least have syntax highlighting for less files, for the moment that sublimetext just load the file as normal css file while  an official support to less syntax is available
+16

An acme mode that enables mouse chording and 9p plumbing.

Roger Roach 12 лет назад 0

It would be awesome to have a mode that enables similar functionality found in plan9's acme editor. Features like mouse chording with a 3 button mouse and interfacing with 9p would be invaluable additions to sublime text.    


http://research.swtch.com/acme
http://research.swtch.com/acme.pdf 

+16

PHP "Reindent Lines"

aalexgabi 13 лет назад обновлен Marco Cervellin 13 лет назад 1
I am mainly a PHP developer and I'm using Netbeans IDE.

I consider auto-formatting functionality in NetBeans very well done. It indents automatically the entire file, which is desirable all the time because it's well done. The indentation is not only done horizontally but also vertically, meaning more than one empty lines are reduced to one etc.

After some hours struggling I found how to add the keyboard shortcut for the "Reindent Lines" command found in command palette but not in menu:
[code]
[
{ "keys": ["shift+alt+f"], "command": "reindent", "args": {"single_line": false}}
]
[/code]

In PHP I found some problems in Reindent:

I suggest:
- Adding vertical reindentation
- Adding a shortcut key to "Reindent Lines"
- Adding "Reindent Lines" to menu
- Improving "Reindent Lines" by using NetBeans styling rules

Some bugs I found in "Reindent Lines":
[code]
<?php

namespace ens\database;

class DbManager {

    static $connections = array(
        'master' => array(
            'username' => 'root',
            'password' => 'root',
            'dsn' => 'mysql:host=127.0.0.1;dbname=ctc',
            'prefix' => ''
            )
            );
            static $test = array(
                'lala' => 'lolo'
                );
                static function connectAll() {
                    foreach (self::$connections as &$connection)
                    $connection['connection'] = new \ens\database\DbConnection($connection['dsn'], $connection['username'], $connection['password']);
                }
                static function lala($test){

                }

            }
[/code]
That should be something like:
[code]
<?php

namespace ens\database;

class DbManager {

    static $connections = array(
        'master' => array(
            'username' => 'root',
            'password' => 'root',
            'dsn' => 'mysql:host=127.0.0.1;dbname=ctc',
            'prefix' => ''
        )
    );
    static $test = array(
        'lala' => 'lolo'
    );

    static function connectAll() {
        foreach (self::$connections as &$connection)
            $connection['connection'] = new \ens\database\DbConnection($connection['dsn'], $connection['username'], $connection['password']);
    }

    static function lala($test) {
        
    }

}
[/code]
+16

Backup files on save

Christoph Häckel 13 лет назад обновлен 13 лет назад 0
It would be great to have the option to backup each file on save.
This option is present in Notepad++ and I really like to have this feature.
Background: using sshfs or WebDrive to connect to remote computers,
sometimes saving fails. In these situations it's great to have a local backup
available.
Specifying backup-suffix or directory (I keep a local directory for all backups,
named by filename.suffix-DATE (default in Notepad++) would be nice.
This option also helps if someone overwrites your changes without refreshing
the file first - some editors don't scan for changes... ;-)
+16

console colours

Daniele Niero 14 лет назад обновлен Marcus Downing 13 лет назад 1
It would be nice to have different colours in the console, at least just black and red to identify errors from normal output text 
+16

Use desktop default font in the UI rather than just Sans on Linux

Alex Smith 13 лет назад 0
Desktop environments have a user interface font setting (for example on GNOME 3 this defaults to Cantarell). This is not necessarily the same as what the Sans alias refers to. Sublime Text 2 appears to just uses Sans as its font, which for me means that its UI (apart from the menu bar which I guess is rendered by GTK) is using a different font to the rest of my desktop. It would be good if it could instead use the desktop configured font instead (not entirely sure how to find it, GTK possibly has a mechanism to do so), or at least have a configuration option to set the UI font.

Сервис поддержки клиентов работает на платформе UserEcho