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

+3

Have the application self-update rather than having to redownload from a webpage.

Ken Chau fa 12 anys updated by Martin Spierings fa 11 anys 1

Many applications can self-update (even in Windows). This could make Beta testing even more enjoyable!

+3

emacs like font lock feature

Emanuele D'Osualdo fa 12 anys 0
It would be great if ST could support the font-lock feature of Emacs.

This feature enables you to define substitutions from string literals to unicode symbols for better readability.
For example in LaTeX you could have the macros \alpha, \beta... rendered in the buffer as α β etc, or in Haskell you could have (\x -> x+1) rendered as (λx → x+1).
See this screenshot for an example in Haskell.
The file itself would *not* contain the unicode chars but the regular ASCII representation; the symbols are only displayed in the view and revert back to normal when editing the line.

I believe this is way beyond the scope of a plugin and needs to be implemented in ST itself.


Anyone wishing this was added to ST?

+3

BUG: Search in file has graphical issues and sometimes crashes sublime text 2

Pascal Helfenstein fa 13 anys 0

 Searching files in a Symfony 2 PHP Project often crashes the app if there are a lot of results


Also after the second search there are grafical issues => http://cl.ly/1S2y1k1p2U1L2a0Y3q1F

+3

Syntax highlighting should ignore white-space where the language ignores it.

Liam Clay fa 13 anys 0
Foo :: Bar( );
Should display the same as it does when there is no white-space either side of the scope resolution operator (::)

$instance -> hi
(
    'masses and masses',
    'of params',
    'so it isn\'t ideal',
    'to put this on one line'
);
Should display the same as if the parenthesis was on the same line as the function. There are many more examples of this behaviour.
+3
Completat

Execute a snippet within a snippet

Remy Bach fa 13 anys updated by Jon Skinner fa 13 anys 3
It would be really cool to be able to run a snippet without having to tab out of the currently executing one (and then return where you left off with tabbing through the original snippet).
Answer
Jon Skinner fa 13 anys
You can do this using ctrl+space
+3

Right-click context menu (Windows)

Chris fa 11 anys 0

Adding "edit with sublime" to the right-click context menu for windows would be faster editing a file in some cases.

below is registry I am using to add this, it does "edit with sublime" and "open folder as sublime project" all credits go to this Site


Windows Registry Editor Version 5.00

; Open files

[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2]

@="Edit with S&ublime Text 2"

"Icon"="C:\\Program Files\\Sublime Text 2\\sublime_text.exe,0"

[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2\command]

@="\"C:\\Program Files\\Sublime Text 2\\sublime_text.exe\" \"%1\""

; This will make it appear when you right click ON a folder

; The "Icon" line can be removed if you don't want the icon to appear

[HKEY_CLASSES_ROOT\Directory\shell\sublime]

@="Open Folder as &Sublime Project"

"Icon"="\"C:\\Program Files\\Sublime Text 2\\sublime_text.exe\",0"

[HKEY_CLASSES_ROOT\Directory\shell\sublime\command]

@="\"C:\\Program Files\\Sublime Text 2\\sublime_text.exe\" \"%1\""

; This will make it appear when you right click INSIDE a folder

; The "Icon" line can be removed if you don't want the icon to appear

[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime]

@="Open Folder as &Sublime Project"

"Icon"="\"C:\\Program Files\\Sublime Text 2\\sublime_text.exe\",0"

[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime\command]

@="\"C:\\Program Files\\Sublime Text 2\\sublime_text.exe\" \"%V\""


+3

snippets need a $Indent and a $clipboard

Robert Babiak fa 11 anys 0

I would like a couple more macros for use in a snippet. 

Can we have $indent this would make a best guess at what the proper indentation be from the start of the line and insert the correct number of tabls or spaces. 


I would also like a $clipboard that will insert the contents of the clip board. 


What i would like to make is the following 

<![CDATA[$indent print "$clipboard=",$clipboard]] for python. (not sure how to handle the space between $indent and print)

+3

Ability for plugins to create new views where the plugin is responsible for all of the rendering

ues fa 12 anys 0

 I've been looking though the forums, but as far as I can tell the current plugin APIs only allow you to manipulate text-buffer views. Is it possible, or is it planned, to introduce the ability to create new views where the plugin is responsible for all of the rendering? Like an empty container, where the plugin author can use the UI toolkit of their choice (with the appropriate python bindings), to build eg:

- Markdown preview pane
- Build/CI status overview
- Threads/callstack for a debugger plugin

etc.

Or alternatively, to allow the plugin to create web views, where the UI is in HTML/CSS/JS, and where the ui can make callbacks to the plugin code through a mechanism like postMessage.

+3

Changing the name outside of ST2 (of a file open in ST2) should automatically change that file's name inside ST2

Mike Covington fa 13 anys 0
Situation:

1. I have a freshly saved file open in ST2 (on OS X).
2. I change the filename in terminal.

Expected Result:

- File's name in ST2 is changed and file is still considered unedited.

Actual Result:

- File's name in ST2 remains unchanged; file is flagged as edited (`•`, instead of `x` next to file name on tab).
+3

Project indentation overrides

Kevin Peno fa 13 anys updated by Scott Bowers fa 13 anys 1

In a lot of cases I have my open preferences for things like tab spacing in my own projects. I set these in my user file settings file. On the other hand projects I work on may have their own specifications (2 spaces for tabs, etc).


The current documentation on indentation does not say that it looks in the project file for these settings. I think they need to be added with project settings being last.