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

+6

Browse on files using keyboard (Project Drawer)

Carlos Brando 14 years ago 0
+6

Add a setting to enable bracket matching within strings

Trent Ogren 13 years ago updated 13 years ago 0
For the poor saps like me who sometimes end up editing giant strings of SQL, it'd be nice to be able to enable bracket matching within strings. The way Vim does it is that brackets within strings can match other brackets within that same string, but never match brackets that are outside the string and vice-versa (i.e. brackets outside of a string never match brackets inside a string). That way, you get bracket matching within strings while avoiding the issue reported here:
http://sublimetext.userecho.com/topic/27094-context-aware-bracket-matching/
+6

If Sublime is closed and I open a file, it shows up in the last open windows instead of a new one

aristidesfl 13 years ago updated by Rob Napier 13 years ago 1
If Sublime is closed and I open a file, it shows up in the last open windows instead of a new one
+6

Command line parameter to fork process

Felix Oghină 12 years ago 0

There should be a command line parameter that will cause sublime to fork the process and detach from the shell when starting up. I'm often in a terminal window and want to open a file in sublime, but if it's not already started it will take over the command line until I exit it. However, if sublime is already running, it will open the file in an existing window and return control to my shell.


I'd like to have a parameter I can pass on the command line (and ultimately create an alias that contains it) that will fork and return control to my shell immediately after opening the file(s), regardless of whether sublime was already running or not.

+6

Syntax highlighting and code intelligence for Scaml.

Adam Fraser 13 years ago updated 13 years ago 0
+6

Text Rendering Issue on OS X

Ryan Park 13 years ago updated by Jon Skinner 13 years ago 2

When connecting my MacBook to a non-Apple external monitor and using it as my only display, the text is anti-aliased incorrectly.


To reproduce,


1. Connect a MacBook to a non-Apple display (I was using a Samsung SyncMaster).

2. Make sure there are no Apple displays running including the laptops monitor.

3. Quit Sublime Text 2 if it is running.

4. Open or restart Sublime Text 2.

5. Note that the text's rendering is different and incorrect from the standard rendering of text in OS X.


Some notes:

I've found that when Sublime remains open while switching between monitors the method it anti-alias' the text remains. For example, if the rendering is incorrect and I switch to a display that traditionally renders it correctly, it will remain incorrect until I quit and restart Sublime Text 2.

Answer
Jon Skinner 13 years ago
This appears to be an OS X quirk - information is at http://slackrw.wordpress.com/2010/07/31/mac-os-x-10-6-snow-leopard-re-enable-lcd-font-smoothing-for-some-monitors-via-macosxhints-com/
+6

Renaming file in a project

Smirnov Yuri 13 years ago updated 13 years ago 0
When you rename a file in a project, if it's already open, it's tab should remain associated with the renamed version. Now it just becomes the new "changed" file which causes problems.
+6

Increase left margin to a comfortable level when gutter=false.

Nick Farina 13 years ago updated 12 years ago 2

I prefer to use Sublime Text 2 on OS X with the gutter hidden completely. However, when the gutter is hidden, the left margin of text is a very narrow 2 pixels which is too close to the window border.


Most apps on OS X use a wider margin which is more visually pleasing. TextEdit on "plain text mode" uses a 6 pixel margin which is great. Please consider matching that.

Comparison screenshot:
http://cl.ly/3s1T2a1q3x0w013m0N27

Thanks. Loving ST2, I'm a convert. Nick
+5

Recent Projects could bring already open project to front

Markus Peter 13 years ago 0
The Recent Projects menu should not disable already open projects. Instead the menu items could stay enabled and when clicking on them, bring forward the already open project.

At the moment, if my screen is very busy with multiple projects and other applications' windows, I usually forgot whether a project is already open or not, so I always have to visit two different menus.
+5

Rails shortcuts?

Matthias Käppler 14 years ago updated by Andy Jeffries 13 years ago 1
I love the alpha so far, but I am missing some shortcuts I found extremely useful to have in TextMate:

* CTRL+SHIFT+D for duplicating a line
* CTRL+CMD+R for revealing a file in a directory tree
* basically all Rails shortcuts

I realize the last one would only be suited for a plug-in. Is it possible to write a plug-in that adds shortcuts like CTRL+P for creating a Rails params hash? I am also missing the CTRL+SHIFT+[<|>] shortcuts for generating markup.