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

+2

Highlight the term (after opening a search result) instead of marking the line number

mpet 13 jaar geleden bijgewerkt 13 jaar geleden 0
Currently, if one searches for a term, then clicks on an item among results, he gets line number marked in a destination file, then he needs too look throughout the line to find the term he searched for.
+2

search/multiple selection/ indication in scrollbar like Chrome

Kroum Tzanev 12 jaar geleden bijgewerkt door Joel Thornton 12 jaar geleden 4

I thing that the seach indication in the scrollbar of Crome is great feature.

It will be nice to see it in ST2. 

For example after Ctrl+D, Alt+F3, it will be nice to know where are my multiple selection positions. 


Image 201


Thanks for the great editor by the way ;)

+2

Feature Request: Drag Tab Into New Instance

Jesse Squire 14 jaar geleden bijgewerkt door Aaron Holbrook 12 jaar geleden 3
I would find it incredibly helpful to be able to grab a document tab and drag it out of its instance of Sublime Text into either a new or existing second instance.

The functionality exposed by Chromium / Google Chrome is the perfect example of what I've got in mind.
+2

`Lock/unlock Window` from opening files in same window.

Vítězslav Ferko 11 jaar geleden 0

Easily turned on and off from the menu.
This option, when `unlocked`, will open a file (from outside the editor, eg. explorer, cmd.., double LMB or RMB->Open with...) in last focused ST window. When `locked`, new window will open for next* file.

*next or each: The newly opened window will not be locked. Or the option can be global, meaning every file will be opened in new windows.

Drag and drop will still open a file in the desired window.

This is usefull when some plain text files (*.txt, *.rtf, *.md,..) are registered to ST and you want to open them temporarily while developing your project, but you don't want them to switch view from current working file.

+2

Rectangular block selection capability (in addition to multiple cursors)

William Payne 12 jaar geleden 0

Whilst the ST2 multiple cursors feature is excellent in it's own right, (and indeed superior in many respects) I still find myself missing the 'feel' of the rectangular selection tool that I used to use (frequently) in Textpad back when I used a Win32 development machine.


When I started using ST2, I was not sure if I was simply not used to multiple cursors, but I have been using ST2 for over 6 months now, and I still miss the old rectangular selection mode, so I have now come to the conclusion that it actually offers something that multiple cursors do not.


I do love multiple cursors; but a rectangular selection mode a-la-Textpad would be a welcome addition.


(I used it to help edit and vertically align code, parameter blocks, and CSV data files).

+2

ctrl+alt+p fuzzy matching should exclude '.sublime-project'

Bartek Bartek 12 jaar geleden 0

 with some names that contain, let's say 'sub', the mathcing is less robust, this is a minor thing but nonetheless

+2

@media queries don't seem to be indexed when using cmd+r

Robdev Cambridge 11 jaar geleden 0

To reproduce:

- Open a CSS file with @media{} queries

- Hold cmd and tap R to invoke the in-file fuzzy finder

OR

- Hold cmd and tap T, then type @

Attempt to find a media query by typing "media"


Expected result:

A list of available media queries to jump to


Actual result:

An empty list (or a list of rules which happen to contain "media")

+2

The ability to expand sublime user setting in the .sublime-build, like the limited build variable expansion.

Mike Chilton 12 jaar geleden bijgewerkt door Emanuele D'Osualdo 12 jaar geleden 1
For example:-
In  makefile.sublime-build I could do the following set up
"cmd": ["make","${settings:buildtype}"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${project_path:${folder:${file_path}}}",
"selector": "source.makefile", 
So as a user I could define a user setting "buildtype:"release" which I could change to "buildtype:"debug" to quickly change between build types, this would also allow me to easily create new ones, like "master", by simple editing my my build system (which is different to make) and changing the user settings, without having to create variants or edit the .sublime-build file etc.  Would be most useful for such things as multi-platform builds, as I could also define multiple user settings, for example settings for a  buildtype and buildplatform in so doing create multiple platform builds with "cmd": ["make","${settings:buildtype}_${settings:buildplatform}"]. I think this would be a simple but powerful addition to the sublime-build implementation.
+2

Non indentation folding by custom %codes or phrases%

Denis Abramov 11 jaar geleden 0

Currently if I have a large code. I'm separating it by comments and indentations to fold them later.


For example:


// Views

... some views code here ...


// Models

... some models here


But when the code gets really big, indentation becomes so large, that it's starting to annoy.


Would be better if there would be some codes for folding, to avoid indentation at some point of hierarchy.


For example:


// Views fold_start_1

... some views code here without indentation at all ...

// fold_end_1


Now you can fold all the code between fold_start_1 and fold_end_1.


Ofc folding codes could be shorter, it's just as an example

+2

Ruby API, pleeeeeeeease!!!

Juan Falgueras 12 jaar geleden 0

I have been programming in Tcl for Alpha on Macs for many years.  It had very complete API, similar to the ST2 one.  TextMate came with this very short API based only in environmental variables, but with those genial ideas. In that case the programming language was totally free, since TM is based in external scripting.  And now ST2.  It obliges you to script in Python.  I didn't know Python, although read a lot about and programmed a bit on it.  But each time I dig into the ST2 API to program on Python… I miss Ruby so much!  Please, try Ruby!  Give it an opportunity.