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

+1

Unable to run package setup

Ryan Crisman 13 ár síðan 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 12 ár síðan 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 13 ár síðan 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 12 ár síðan Uppfært 12 ár síðan 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 9 ár síðan 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 11 ár síðan 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 12 ár síðan 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.
+1

different color themes in mulitple windows.

christian Wilmes 11 ár síðan 0

use case:

- many different projects with similar file structure in many opened windows

- sublime displays project name only in the title bar if no file is opened

- hard to tell which project belongs to which window


idea:

- allow assignement of color theme in the sublime-project file.

- so every project is opened with it's own color theme

- you can see immediatly what's the meaning of this window


+1

Need a phased (or at least blinking) block caret.

Philip Wright 12 ár síðan 0
I see lots of requests for a block size caret, but I'm going to lose it on the screen if it's not phasing or blinking.
+1

Awesome incremental symbol find

Pau Sanchez 12 ár síðan 0

The idea is to use something similar to "Go to anything" where you only type some letters that are contained in the symbol you want to go to, and you automatically go to symbols containing those letters in that order, but limiting the search to symbols inside the document (since most languages, if not all, support the same pattern for symbols, and you don't want to search text or anything like that, just references to functions or variables).


Imagine you have a document like this:

void function () {

   doSomething (whatever, "this is a string");

   if (runUltraComplexCheck (var1, var2)) {

      simple_variable = 1;

      doSomethingElse ();

   }

}


Now, the idea is that if you are at the beginning of the document and you run "incremental symbol find" and you press "f" the first word "function" would be selected. If I type "d" then the first "doSomething" would be selected, and so if I run find next, then the "doSomethingElse" symbol would be selected. It should behave as a normal search so find previous and find next would work.


On the other hand, imagine I want to go to "doSomethingElse", then I go to incremental symbol search and type "dse" then automatically doSomethingElse would be selected. In the same scenario, typing "ru" or "rucc" or "run" or "rcheck" would all select "runUltraComplexCheck", which is the only word in that document matching that pattern.


Again, if you type "sv" in incremental symbol search, you would go to "simple_variable".


I think this kind of feature would be as awesome as "Go to Anything", and no other editor has something like this... I guess it can be written using a plugin, but anyway, native would be great.


To sum up the features:

  • incremental symbol find inside current doc
  • a symbol is defined as [_a-zA-Z][_a-zA-Z0-9]+
  • discard searching inside comments
  • discard searching inside text strings
  • be able to use find next / find previous