Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
search/multiple selection/ indication in scrollbar like Chrome
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.
Thanks for the great editor by the way ;)
Feature Request: Drag Tab Into New Instance
The functionality exposed by Chromium / Google Chrome is the perfect example of what I've got in mind.
`Lock/unlock Window` from opening files in same window.
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.
Rectangular block selection capability (in addition to multiple cursors)
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).
ctrl+alt+p fuzzy matching should exclude '.sublime-project'
with some names that contain, let's say 'sub', the mathcing is less robust, this is a minor thing but nonetheless
@media queries don't seem to be indexed when using cmd+r
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")
The ability to expand sublime user setting in the .sublime-build, like the limited build variable expansion.
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.
Non indentation folding by custom %codes or phrases%
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
But when the code gets really big, indentation becomes so large, that it's starting to annoy.... some models here
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
Ruby API, pleeeeeeeease!!!
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.
Catch and deny key presses before they get into the view
Сервис поддержки клиентов работает на платформе UserEcho