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

+16

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

Joshua Poehls 13 лет назад обновлен ken ohata 12 лет назад 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 11 лет назад 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 12 лет назад 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 13 лет назад обновлен Marcus Downing 12 лет назад 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.
+16

Sync settings/themes/snippets/ etc (without Dropbox)

Luke Scott 13 лет назад обновлен Vladimir Starkov 12 лет назад 18
I know some people symlink the folder with Dropbox... but it would be nice to have an official cross-platform Sync feature that allowed you to sync your preferences/settings/themes/snippets/etc... with all the computers you develop on.

If not hosted on the sublime website through some sort of account, perhaps something we can setup on a server or a dedicated machine.

The reason for this is I develop primarily on my work machine, but I have a computer at home I also do work on. Getting everything just right takes a little time, and being able to have all those changes as they happen by synced would be awesome.
+16

Live editing of html, css with live preview feature like brackets?

Andy VJ 11 лет назад в Plugin announcements 0

It will be a treat for the front end developers. Brackets is kinda heavy compared to Sublime. Please consider this feature.

+16

Request: No leading slash on "File: Copy Path from Project" command

Lorin Hochstein 12 лет назад 0

I often use the "File: Copy Path from Project" command, but it prepends a /, for example:


/horizon/templates/horizon/common/_data_table_row_actions.html


Since project paths are always relative to the location of the project, it would be more useful if there was no leading slash:


horizon/templates/horizon/common/_data_table_row_actions.html



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