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

+1

Pressing escape in the Find Dialogue should take you back to where you were

Greenwich 14 years ago 0
Much like pressing escape when you've Cmd + T'd or Cmd + R'd will take you back to your current cursor position, so should pressing escape for Cmd + F.

I consider this an inconsistency and therefore a UI bug.
+1

Add a "match_quotes_single" option to the preferences

Mike Butcher 13 years ago updated 13 years ago 0
I often find myself changing a "smart" apostrophe to a "single quote" style from something I've copied and pasted, but this causes the smart quote to be wrapped in single quotes. Bleh. Adding a "match_quotes_single" option to the prefs would be perfect for disabling this feature that just happens to go against what I have done for years.
+1

Some potential improvements to the explorer-system within the editor

P Meijer 12 years ago 0

The thing that i miss compared to my old editor(Aptana) is moving files and folders(into each other). I can only do this within windows explorer. It's also not possible to start a new project(without placing it into an existing folder), or to create a new folder without doing this in windows explorer. So I would really suggest that you guys do some improvements at the project explorer. 

+1

highlight multiple occurrences

Lee Connell 13 years ago updated by adzenith 13 years ago 1
You can use Ctrl + D to highlight the next occurrence of a word, but how bout an option to do that automatically like notepad++ or pydev does.  It highlights all occurrences of the word at the cursor automatically.
+1
Completed

Add a fast open feature

Henrique Boaventura 13 years ago updated by Jon Skinner 12 years ago 1
It would be much easier and faster to open files if Sublime Text 2 had the feature of fast open files (gedit, textmate and other editors already have this). 
Somehow, sublime text could read the project tree and use it on to fast open those files. Hit a  keybind and open a prompt, when you begin to type, it already search in the project files for the pattern
Answer
Jon Skinner 13 years ago
Press Ctrl+P (Command+P on OS X), or choose Find/Goto Anything from the menu
+1

Use correct $PATH on OS X

eproxus 12 years ago updated 12 years ago 2

Sublime Text 2 does not pickup the correct $PATH variable on OS X. It's configurable in ~/.MacOSX/environment.plist and most GUI programs use it. Sublime Text 2 should use this as wel.

+1

Slow keyboard repeat

Fredrik Fostvedt 11 years ago updated by Gatovadio Do Telhado 11 years ago 1

I have my key repeat speed set to max. When I delete characters in an unsaved document, the repeat is slower than usual. Running 2.0.1 2217 on mac osx

+1

JavaScript completion

alpha logic 11 years ago 0

JavaScript Completion should include:


Statement completion:

if...else if...else

switch()

for...in

while()

do...while

break

continue

with()


popup Boxes completion:

alert('message')

prompt('message', 'default value')

confirm('message')


Function completion:

return


###


Array Object Properties completion

Array Object Methods completion

Boolean Object Properties completion

Boolean Object Methods completion

toString()

valueOf()

Date Object Properties completion

Date Object Methods completion

Math Object Properties completion

Math Object Methods completion

Number Object Properties completion

Number Object Methods completion

String Object Properties completion

String Object Methods completion

RegExp Object Properties completion

RegExp Object Methods completion


###


Global Object Properties completion

Global Object Methods completion:

decodeURI()

decodeURIComponent()

encodeURI()

encodeURIComponent()

escape(string)

eval()

isFinite()

isNaN(value)

Number()

parseFloat()

parseInt()

String()

unescape()


###


Window Object Properties completion

Window Object Methods completion

Navigator Object Properties completion

Navigator Object Methods completion

Screen Object Properties completion

Location Object Properties completion

Location Object Methods completion

History Object Properties completion

History Object Methods completion

Document Object Properties completion

Document Object Methods completion


###


HTML DOM Objects Properties completion

HTML DOM Objects Methods completion

HTML DOM Objects Events completion

+1

Ctrl+w, Ctrl+w in vintage mode

Ben McRedmond 12 years ago 0
Ctrl+w, Ctrl+w in vintage mode would be a great addition for switching between split panes.
+1

Save on view leave dirty marker even if is_dirty is false

Rodrigue Cloutier 12 years ago 0

The following plugin will create a new file, open the new file, write to it and then save. Even though the file is marked as not dirty, the tab indicate that it is dirty and trying to close the file prompt the save dialog.


import sublime, sublime_plugin
target = None
def insert_world(view):
    edit = view.begin_edit()
    view.insert(edit, 0, "Hello world!")
    view.end_edit(edit)
    view.run_command('save')
    print view.is_dirty() # print False
class SaveStillDirtyBugListener(sublime_plugin.EventListener):
    def on_load(self, view):
        global target
        if target is None:
            return
        if view.file_name() == target.file_name():
            insert_world(view)
            target = None
class SaveStillDirtyBugCommand(sublime_plugin.TextCommand):
    def run(self, edit):
        with open('test', 'w+') as test:
            test.close()
        view = self.view.window().open_file('test')
        if view.is_loading():
            global target
            target = view
        else:
            insert_world(view)