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

+2

Quotation autocomplete should not be on by default

uid il y a 11 ans 0

In most languages, it is hard enough to properly escape strings as it is. It rarely helps for a text editor to insert extra quotes. 


If I place my cursor at the end of this string and tap a single quote:


"did he fire six shots\"or'only five'\""


...it is aggravating to suddenly see:


"did he fire six shots\"or'only five'\""''


It is a severe enough issue that I often edit complex strings outside of Sublime, because this "help" of throwing in single or double-quotes just means "now I have two problems" When you're starting at a line with a dozen quotation marks it's not so easy to discern whether Sublime added one of them.


To be clear, I'm not referring to the behaviour where start and end quotes are added to currently selected text - *that* feature makes much more sense than deleting the selected string. What does not make sense is to add two quotes to the *end of a line* when I only typed one - that has helped me exactly *never* times.


Like a doctor, Sublime should "do no evil" and quietly slipping in a quotation mark when I'm not looking just makes my code buggy. It's frustrating behaviour for an otherwise excellently designed program :)

+2

Lookup documentation for class, method, or other symbol definition

João Pereira il y a 13 ans 0

 It would be great to have such a feature, specially if it could be presented to us from a pretty popup window or something else (like in many textmate bundles), at least for the most used languages used by text editor's fans (python, ruby, c, perl, php ...)

+2

Make Sublime Text run in X11 without a window manager (kiosk mode)

ChromeOS Guy il y a 12 ans mis à jour il y a 12 ans 1

I have a Chromebook Pixel that I'd like to use for development.  I'm interested in trying Sublime, but don't want to futz with a separate window manager.  Instead,  I'd like to have Sublime open in its own fullscreen X-window session. I can do everything else in ChromeOS.


I tried:


    exec subl


in ~/.xinitrc, which almost worked, except the window was the wrong size.  It looked like it was only taking up the first 640x480 of my display.  (Sorry I can't provide more accurate measurements.)


Is there a command line option to tell Sublime how big to draw itself?  I know this sounds like an obscure use case, but non of the Linux window managers look very good at high resolution, and the only thing I even need a separate Linux environment for is running Sublime.

+2

Projet Files Activity Heat Indicator

Jeff Vogt il y a 13 ans 0
I have a short attention span and a lot of files in the open / project file view.  It would be great if the files I have recently been active in would be indicated either by color, or highlight.  Even if they are saved, even if I just peeked into them.  Perhaps another iteration can bring actual heat - like if I have been in and out of two files all day long, those are easily differentiated from the ones I looked at once.
+2

self.view.add_regions in TextCommand triggers on_selection_modified Event

Oktay Acikalin il y a 14 ans 0
Why is it that the self.view.add_regions method triggers the on_selection_modified event?
+2

OSX: Full screen dock reflection bug.

Nick il y a 13 ans 0
Hello,

I've found a bug whereby sometimes, in full screen mode, the dock doesn't hide and you get an odd reflection.  (The Icons are gone, but the bar is still there.)

I noticed it most buy running
git diff | subl
but it can be reproduced with
echo "hello" | subl 

I have highlighted the issue with a skitch screen shot (the original is here), you can see at the bottom of the page the text has gone "funny".

Kind Regards,
Nick

Build 2181, OSX 10.6.8
+2

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

mpet il y a 13 ans mis à jour il y a 13 ans 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 il y a 12 ans mis à jour par Joel Thornton il y a 12 ans 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 il y a 14 ans mis à jour par Aaron Holbrook il y a 12 ans 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 il y a 12 ans 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.