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

0

Events on_new and on_deactivated in wrong order when creating a new file

Oktay Acikalin 14 år siden opdateret 14 år siden 4
When having an existing file open and hitting command+n (OSX with build 2038) the events get fired in the wrong order:
1. on_new for the new buffer
2. on_deactivated for the old buffer
3. on_activated for the new buffer

I think that it should fire them in this order:
1. on_deactivated for the old buffer
2. on_new for the new buffer
3. on_activated for the new buffer

As far as I can guess, the on_new event is being triggered from a routine which then modifies the buffers and tabs. So my question is: Can/will you change/fix this order (soon)?
0

A setting so that when saving, st2 only writes to disk if file is "dirty".

Chris Guilbeau 13 år siden 0
Would be nice so that if you hit command+s three times it only writes the file once.
0

EventListener event for external file changes.

Aleksandar Prokopec 12 år siden 0

I am writing a plugin which parses Java classfiles and shows their contents in a view. Every time a file is loaded, if it is a classfile, it gets parsed by `javap`.


However, if the classfile is recompiled and externally modified, then the view reloads the binary contents of the file. It would be really good and super-useful if the EventListener would have an event that gets triggered when the file is externally modified on disk.

0

Snippet window suggestions

Andrew 0204 12 år siden 0

Some suggestion for the pop-up snippet window (Win 7) that would be very useful:

1. make the window resizeable

2. make the window pinnable/dockable

3. order the columns, i.e. trigger first, description second

4. add columns through the snipet xml, though this may make it incompatible with textmate format

4. able to sort the snippet list alphabetically by description

Thanks

0

x64 portable version crashes during startup

noneedforreply@mailinator com 12 år siden opdateret 12 år siden 1
Windows x64 portable version crashes during startup on windiws 8 consumer preview. Huge fail.

---------------------------
Sublime Text 2
---------------------------
Error loading syntax file "Packages/Text/Plain text.tmLanguage": Error parsing plist xml: Failed to open file In file "Packages/Text/Plain text.tmLanguage"
---------------------------
OK   
---------------------------
 
0

allow descriptions in sublime-completions triggers

Pier Bover 12 år siden 0

That sums it up:


{ "trigger": "yeah" , "contents": "Yeah($1);" , "description" : "This is a great snippet" },


0

Support ^W shortcut out of the box

pazsxn 13 år siden opdateret af Joel Thornton 13 år siden 2
It's readline standard for deleting last word. In TextMate it highlights last word, which is good enough as well.
0

Plug-in menu

Vivian Wong 11 år siden 0

Hello,

 I'm a new Sublime Text 3 user from China, when the first time I saw ST, I've like it very much,beacuse it's very beautiful.

 but ,like most chinese user, i'd like to localize the language to chinese,so I download the zh language sublime package from internet,

 It work fine,and all default menu has changed into chinese, that makes me understand easyer and work faster.

 but for further, I need more plug-in to make ST more Convenient(sorry, translate by google).

 so I use package control and install plug-in which i needed.but, these plug-in(s) place in diffrent sub-menu, and also not write with a chinese menu name.

 so, these make my ST like this


[picture]Image 255

so, I suggesst that if you can make an agreement with DEVELOPERS make all plug-in in one sub-menu, just like Notepad++.

so ,the users can change the menu to there mother tongue,and it will make less trouble to find a packages from diffrent menu

we may take the advantage things from other design.

By the way, I've almost abandoned Notepad++,Only when I need to open a file very large(over 50MB).

Wish you make ST better


Piscesvivian


0

Cursor doesn't change properly when clicking inside previously marked text.

Alexander Rechsteiner 11 år siden 0

OS: Windows 8 (can someone test this on OS X/Linux?)


To reconstruct:

- Switch to two-column layout (View -> Layout -> Columns:2)
- Open two files, one in each column
- Mark some text in file on the left
- Click into the file on the right, type some stuff
- Click back into the file on the left, inside the previously marked text
- Type some more stuff

In my case, it is wrongly typed in the right file, instead of the left. The cursor never switched back properly. This also happens for example when I use Find, and the results get highlighted in the File. When I click within the highlight, the cursor stays in the search box.
0

Multiple edition mode from search result

Kevin D'ORANGE 12 år siden opdateret 12 år siden 2
I am truly sorry if the feature already exists, but in that cas I was not able not find it.

When I obtain a set of search result using CTRL+F, I would like to have the possibility to enter the "multiple edition mode" using the beggining of every matches of my search.
It comes to be useful when searches imply wildcards and then CTRL+D does not fully satisfied this need.

Of course I use the Remplace (CTRL+H) function, but I don't have the comfort of multiple edition mode.

Kundesupport af UserEcho