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

+2

Allow me to type ”mode:42" instead of "models.py:42" for first result

Dan Abramov 14 lat temu Ostatnio zmodyfikowane przez adzenith 14 lat temu 1
A typical usecase: I see I have an error at line 42 of models.py.
I press Cmd+T, start typing “mo” and “models.py” is already the first option.

Currently, to go to line 42 I either have to type the whole file name, followed by “:42”, or just press Enter, Ctrl+G, 42, Enter.

It would be *so* much better if “xxx:NN” would open first result at NN.
+2

Bug in settings.has

Fredrik Ehnbom 13 lat temu zaktualizowano 13 lat temu 0
For the SublimeClang plugin I had a list in the settings. If the list only exists in SublimeClang/SublimeClang.sublime-settings, the plugin api Settings.has returns false, but Settings.get still returns the list as specified in that path.

If the list is in the user settings, has returns true as expected.
+2

Find in files: set default "Where" to "<project>"

Leo Gallucci 11 lat temu 0
Within find_in_files panel, I would like to set the default `Where` field always to `` because sometimes when switching from one ST3 window to another i get that field value with another project directory and i have to manually replace it.
+2

Search and Replace Optimization

keelzebub 13 lat temu Ostatnio zmodyfikowane przez Bob Lounsbury 12 lat temu 1

The Search and Replace function needs to be optimized. If my Search has a large number of results to be replaced, ST2 just freezes up on me, whereas Notepad++ gets the job done in a couple seconds.

+2

Arrow keys messed up with line padding

Matt Brennan 14 lat temu zaktualizowano 14 lat temu 1
When the bottom line padding is negative and the top line padding is positive (with a smaller absolute value) the arrow keys don't work as expected; up moves up two lines, and down doesn't work.

Steps to reproduce:
1. Set line_padding_bottom to -2
2. Set line_padding_top to 1
3. Press the up key
 a. Observe number of lines travelled
4. Press down key
 a. Observe nothing

Setting the padding like this was necessary as for some reason the font I used (TheMixMono, by LukasFonts) was offset from the baseline.
+2

Language extension (better than TextMate)

Luke Scott 14 lat temu 0
With a TextMate bundle you could include patterns from another language into another. This was very limiting.

It would be nice if you had a "extended language" type that would use a specified language but recursively override elements in that language. So this would go beyond simply including the patterns. A big reason for this is template systems... Smarty is built into TextMate's HTML bundle and it shouldn't be. Ruby includes the HTML bundle, but has to re-specify certain things. With a language extension you could have a pattern added before or after a languages pattern based on its name.

Also with embedding languages make this work a little better than importing patterns. If I'm working in an HTML file and have script tags it should be the Javascript language while inside those tags (not just including the patterns, if that makes sense).
+2

crash on search

matrushka 14 lat temu 0
i searched "const" in a PHP symfony project and app crashed after few seconds. i tried it for few more times and it happened again. I am using 2050 on Mac OS X 10.6.7. I can provide the OS X error report if needed.
+2

Ubuntu PPA/.deb

Nathan Cox 13 lat temu 0

I would love it if I could get a .deb package created for Sublime Text 2, either in the official sources or just on a private PPA. I would be willing to help with this process if needed.

+2

Copy, paste with nothing selected (i.e. a whole line) shouldn't break up current line

codex 14 lat temu Ostatnio zmodyfikowane przez Danny Fritz 14 lat temu 2
When I copy with nothing selected, I expect to the paste to paste an entire line, not break up the current line at the cursor.  Example:

foo bar<copy this line using zero-selection method>
ba<paste with cursor here>z

I want the result to be:
foo bar
baz
foo bar

And not:
foo bar
bafoo barz