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

+1

How do I recover from Crash on Start?

Benjamin Bertrand vor 12 Jahren 0

***First off, I believe that I have bad RAM, because this machine will seg fault out of the blue. However, periodic "memtest"s (and the Apple Store geniuses) indicate nothing wrong with the hardware. Apple refused to replace it, stating that it was a bad Java version, because all my core dumps were running Java apps when they crashed. That doesn't explain the Ruby, Python or C code that can seg fault for no reason either... 


Sadly, Sublime Text 2 crashed today. (http://pastebin.com/Nn01swWN) 

Even sadder, I cannot get past this system alert popup; it keeps crashing on launch.


`

Unable to run package setup:


Traceback (most recent call last):

  File "./PackageSetup.py", line 165, in upgrade

    upgradePackage(pkg, pristinedir, datadir, backupdir)

  File "./PackageSetup.py", line 158, in upgradePackage

    os.path.join(backupdir, base), inhibitOverwrite)

  File "./PackageSetup.py", line 90, in upgradeArchive

    writeFile(fname, newar.read(f))

  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 834, in read

    return self.open(name, "r", pwd).read()

  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 857, in open

    zinfo = self.getinfo(name)

  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/zipfile.py", line 824, in getinfo

    'There is no item named %r in the archive' % name)


KeyError: "There is no item named u'nathos-sass-textmate-bundle-d6d079e/Snippets/expression(\\u2026).tmSnippet' in the archive"

`

What can I do to use this app? Just reinstall it? I tried to remove the "Data" folder, but all I see are Backup, Installed Packages, Pristine Packages, Settings. 


>>> Okay, before submitting this question, I pulled all installed packages out of ~/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages and onto ~/Desktop. Then relaunched the program. It complained about missing some extension. So I dragged them back. It works! 

Until I close it... 

When I relaunch, I get the exact same popup. And it closes when I click "Ok."

+1

Add a "Close Others" command

Kai Grossjohann vor 12 Jahren aktualisiert von Richard Kubina vor 12 Jahren 1

The Command Palette has a command "Close All", but "Close" and "Close Others" are missing -- I have to right-click the tab for "Close Others".


WIBNI I could invoke "Close Others" this way?

+1

$this as variable name wrongly highlighted

11684 vor 12 Jahren 0

Not a very big deal, but if I want to use '$this' as a variable name in JavaScript ST2 highlights the 'this' part as if the dollar sign is not there.


It is useful in scenarios like this (with jQuery):


var $this = $(this);


But if the this in '$this' is wrongly highlighted it looks like a reference to 'this', not to a variable called '$this'.

+1

Uniquify folders

Jason Baker vor 12 Jahren 0

I have one project that I work on where I need to track two folders that have the same name.  Say /foo/bar and /java/com/foo/bar.  It would be nice to have a way to make these unique.


One way to do this would be to do something like Emacs's uniquify.  I have it set up so that these two would be named bar/foo and bar/com.  Alternatively, you could just let me choose a display name for them (that wouldn't involve renaming the folder in the filesystem).

+1

Fuzzy Search

James Hogan vor 12 Jahren aktualisiert von robertcollier4 vor 12 Jahren 1
If there were a way to detach and move the fuzzy searching...
"command + p" or "shift + command + p" etc...
Out from directly on top of the file I am working on...

I find this particularly annoying when in "command + r" searching for defined functions etc...



+1

ctr + / not work

Nixon Girard vor 13 Jahren aktualisiert von Richard Hajdu vor 12 Jahren 2
Not work
+1

Matching bracket indicator does not follow wordwrap

Bailin vor 14 Jahren 0
Platform: win7 pro
version: build 2027, portable edition

See screenshot. The underline that indicates the matching bracket is not wordwrapped when the matching or matched bracket is wordwrapped.

To reproduce:Turn on wordwrap, put cursor on one of the matched pair of brackets, then slowly resize window width until the bracket is wordwrapped. Depending on the size and possibly character size, the "matching bracket indicator" shows up in the wrong location indicated

http://imgur.com/zgsMJ
+1

Double clicking to show the same tag with highlight

skidu vor 13 Jahren aktualisiert vor 13 Jahren 0

I think that if the Sublime Text 2 could show the same tag in text with double clicking would be better during our writting.

Any more,If i got a licenses for myself, can i use it again if i reinstalled my systemOS again?thanks a lot.

+1

Keep tabs the same size while closing them

Mark Fielbig vor 12 Jahren 0
When closing tabs keep all tabs the same size so that the x button for the next tab falls directly under the mouse cursor. You can then resize the tabs when the mouse exits the tab region. To see an example of an application that does this open Google Chrome. Open lots of tabs and then start closing them via the x button on the tab.
+1

Add option to draw only trailing whitespace

vor 11 Jahren 0
From the Sublime Text 3 default settings:

// Set to "none" to turn off drawing white space, "selection" to draw only the
// white space within the selection, and "all" to draw all white space

Why not trailing whitespace only?