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

+6

Command line parameter to fork process

Felix Oghină vor 12 Jahren 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 vor 13 Jahren aktualisiert vor 13 Jahren 0
+6

Text Rendering Issue on OS X

Ryan Park vor 13 Jahren aktualisiert von Jon Skinner vor 13 Jahren 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.

Antwort
Jon Skinner vor 13 Jahren
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 vor 13 Jahren aktualisiert vor 13 Jahren 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 vor 13 Jahren aktualisiert vor 13 Jahren 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 vor 13 Jahren 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 vor 14 Jahren aktualisiert von Andy Jeffries vor 13 Jahren 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.
+5

"unsaved changes" status set when file wasn't changed

Jeff Petkau vor 11 Jahren 0

ST sets the "unsaved changes" if the file is removed from disk, even if not modified in ST. This leads to the following sequence of events:

1. open a file from removable media in ST

2. temporarily unmount the media

3. remount the media. ST now thinks it has changes to the file.


(This can also happen when switching to git/hg branches where those files are missing, or with network-mounted files that temporarily disappear when credentials expire.)


At this point ST will refuse to load actual external changes to files (e.g. when switching git branches) because it thinks it has modifications. You have to manually close every file, with a warning message about discarding alleged "changes" for each one.


+5

When you rename a file via the sidebar, the filename textbox should be focused

Caleb Land vor 13 Jahren aktualisiert von Greg Sadetsky vor 12 Jahren 1
On OS X 10.7.3 with Sublime 2 2181, when I control+click a file in the sidebar and select rename, the rename panel comes up from the bottom, and it looks like the filename is selected, but when I type, nothing happens. I have to click the filename textbox to edit the contents.

It appears that my focus is still in the sidebar, since I can use arrow keys to move the selection around in the sidebar.
+5
Fertiggestellt

User-defined keyboard shortcuts should appear in menus

Ben Willmore vor 13 Jahren aktualisiert von Jon Skinner vor 13 Jahren 0
For example, if I assign a keyboard shortcut to the reindent command (which doesn't have a shortcut by default), the shortcut should appear next to Edit->Line->Reindent. This provides a way to for a user to relearn shortcuts which he assigned and then forgot.
Antwort
Jon Skinner vor 13 Jahren
In the general case, they do.

Please note though, that on Linux and OS X, the menu APIs are limited, and not all possible key bindings are able to be displayed on the menu (e.g., it's not possible to display sequence key bindings in the menu on Linux)