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

+1

Auto save feature like espresso, or coda ,there no this kind of redactor for windows

Emil Georgiev vor 13 Jahren 0

 in order to view result directly without refresh the brouser and without ctrl+s the document, this will be a wonderfull feature

+1
Not a bug

Tab Settings Not Respecting User Settings

Carlos Rodriguez vor 13 Jahren aktualisiert von Jon Skinner vor 13 Jahren 2
Seems like something has changed in the latest beta where new files do not respect my tab preferences.

For example: I have the following set in the Preferences.sublime-settings file:

"tab_size": 2,
"translate_tabs_into_spaces": true,
"trim_trailing_white_space_on_save": true

When opening a new file or even that file itself, it's using tabs instead of spaces.

Here is an screenshot:

Antwort
Jon Skinner vor 13 Jahren
Please see the documentation about detect_indentation: http://www.sublimetext.com/docs/2/indentation.html
+1
Fixed

Highlighted text automatic quotes

James Brooks vor 14 Jahren aktualisiert von Jon Skinner vor 14 Jahren 2
Previously Sublime would automatically append a " or ' (depending on which one you typed) when you have highlighted, however this doesn't seem to always work in Alpha 2.

I actually thought this had started working in the latest build but it doesn't always seem to invoke the same expected behaviour, sometimes appending the opposing quote or not.
+1

Unable to run package setup

Ryan Crisman vor 14 Jahren 0
Arch Linux all packages are current

Traceback (most recent call last):
File "./PackageSetup.py", line 155, in upgrade
upgradePackage(pkg, pristinedir, datadir, backupdir)
File "./PackageSetup.py", line 148, in upgradePackage
os.path.join(backupdir, base), inhibitOverwrite)
File "./PackageSetup.py", line 64, in upgradeArchive
fname = os.path.join(pkgdir, f)
File ".\posixpath.py", line 70, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 49: ordinal not in range(128)
+1

Textmate like snippets (at least in LaTeX)

zurry irigaray vor 13 Jahren 0

In TextMate in LaTeX bundle, you have 4 different types of calling snippets (I will put a very understandable example, $0 is the placement of the cursor):

  • LaTeX symbol based on current word. i.e. If you write s and you use this command you get \sigma $0.
  • Command Based on current word. i.e. if you write s and use this you get \sum_{$1}^{$2} $0.
  • Environment based on current word. i.e. if you write s and use this you get \begin{s} $0 \end{s} (or what you have defined before).
  • And, at last, Snippets (true snippets, as simple as in Sublime Text). i.e. if you write mat and press Tab button you get \begin{${1:pvbPVBsmall}matrix} $0 \end{matrix} (exactly, at least the same way as in Sublime Text).

I wish you could add this option to your program, I mean, one (configurable) key combination for each one of this four kinds of snippets. Anyway, I wait for your answer (saying yes or no, but please tell me you read that). In case of NO as answe, I would really appreciate to hear about your reason.


Ah, and a very very nice program. 

+1

Some way to choose which window new files are opened in

chaiguy vor 14 Jahren 0

Currently, opening a file in the Finder will open the file in the last-used window (if "open_files_in_new_window" is disabled, which imo it should be by default). However, this is not very intuitive as I won't necessarily want the file to end up in that window.


It would be handy if we could designate a "default" window that new files are opened in (perhaps clicking a little icon on the window somewhere).


The way BBEdit does it that I find works quite well is that new files (that aren't already open elsewhere) open in a single non-project window. Typically I will have a bunch of project windows open and another catch-all window for misc files I'm working on that don't belong to an open project.

+1

Option to ensure file ends with empty line upon saving

demetris vor 13 Jahren aktualisiert vor 13 Jahren 2
Does Sublime Text have an option for this?

(For those familiar with SciTE, I am talking about the option named: ensure.final.line.end.)
+1

Open function reference when pressed F1

Joshua Foster vor 10 Jahren 0
When one needs to know what a function does. There are two ways of doing it.
1. With a reference help file (chm), searching for the function there
2. Going to the language reference site (i.e.: php.net) and search there

So the suggestion is to add a setting to set a help file path which sublime will open and search for the function behind the cursor and the when F1 is pressed.
Or if not configured, open a browser and go to the language site and it's function page
+1

The default HTML snippets are not up to the HTML5 standard

MrPenguin vor 12 Jahren 0

The default HTML snippets <script> and <style> and <link rel="stylesheet" href=""> style have type="text/css" or type="text/javascript", which are both irrelevant in HTML5. They are quite annoying to delete.

+1

Crash when changing to 4 column layout

Josh Sleeper vor 13 Jahren 0
Sublime Text 2 v2.0.1, build 2217
Windows 7 x64 Professional

If I switch to the 4 column layout from any other layout ST2 will crash, with the following exception:
If I'm already in a layout other than "Single", and I have one or more files in any of the other panes, then ST2 will not crash.

However, even if I successfully switch to 4 column mode using the exception listed above, if I then move all files back to the first pane, upon removing the last file from the other panes, ST2 will crash.