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

+7

Instant feedback for code changes

Joe Lencioni 13 years ago updated 13 years ago 0
Bret Victor demonstrates in this video how instant feedback for code changes can revolutionize your process: https://vimeo.com/36579366

I would love to see this functionality in Sublime Text 2, whether it is built-in or as a plugin.
+7

Use Xcode-style highlighting with find and when highlighting opposite brackets

Aaron Harpole 12 years ago 0
When a grouping symbol (open parens and curly braces and such) is selected, Sublime will show you the opposite one by underlining it. This is hard to see. I am fond of how Xcode handles it, by highlighting it and making that highlight pop up a little bit in front of you (there's probably a word for what it does, but just try it out and see). Would be awesome if Sublime did this when using the find function and when I move the cursor onto those characters.
+7

Ignore whitespace in SEARCH

Jakub Novák 11 years ago 0
I miss a great functionality from Adobe Dreamveawer:
In search, there is option "Ignore whitespace" and if it's checked, then the search function ignores all spaces, like tabulators, new line breaks and classic spaces

It's super usefull in CSS search for example, because for now I have to rewrite spaces with some regex expression
+7

Implement text drag&drop on Linux

nniico 11 years ago updated by Hiccup 9 years ago 1

Dragging and dropping text works on Windows. When will it be implemented on Linux?

+7

highlight non-breaking space

Salz` 13 years ago updated by Floran Brutel 11 years ago 4
Would love to see an option to highlight all non-breaking spaces. It's to easy to "missplace" them behind []{}| on a i.e Germany Keyboard (where option/alt-key is needed for []{}|). 
+7

Add ability to go back and forward in cursor location history

Nicolas Ch. 13 years ago updated 13 years ago 0
Very often, I am navigating code, and while command-T allows me to simulate a one step back/forward, I'd like to do it accross the same file or muliple files.
+7

Include Python's select module on Windows

Geoff Greer 12 years ago 0

On Windows, the version of Python bundled with Sublime Text 2 lacks the select module. This makes it very difficult to keep persistent TCP connections open without blocking a thread.


I'm writing a plugin that uses a select() loop. I knew Python's select() could only be used on sockets on Windows. That was fine for my needs. Unfortunately, I didn't know the entire module was removed in Sublime Text 2's Python. I discovered this when a user reported a bug and gave me a traceback:


Reloading plugin C:\Users\<USERNAME>\AppData\Roaming\Sublime Text 2\Packages\Floobits\floobits.py
    Traceback (most recent call last):
      File ".\sublime_plugin.py", line 62, in reload_plugin
      File ".\floobits.py", line 15, in <module>
        from floo import api
      File ".\floo\__init__.py", line 2, in <module>
        from agent_connection import AgentConnection
      File ".\floo\agent_connection.py", line 6, in <module>
        import select
    ImportError: No module named select


Please fix this. It's hard enough to write plugins that work on OS X, Linux, and Windows without having to worry about missing modules.


I also ran into the ssl module missing on Linux, but that bug has already been reported.

+6

command_history does not help determine last command

colinta 13 years ago updated by Carlos Rodriguez 13 years ago 1
The plugin I'm trying to fix is MoveText.  When you drag text up or down, it stores the initial column location, so that if you move to a row that doesn't have enough columns, it can remember the original column and use that if you move up to a  row that does have enough columns in it.  The important thing here is that I need to find out what the previous command was.

The mechanism for this is View.command_history, but it is not giving me the command I want.  This is a recent bug.  The way undo history works has changed.  It now groups more commands into one history entry (and I for one wish it didn't!).  And there is no way to control this.  It would be great to say "this is a change that should not be grouped with other changes".

The extra special frustration is that the console does return the most recent command, even though in the plugin it reports something different.

One easy way to fix this, if people disagree that undo history should be more granular, is to add a command to View that tells you the last command that was run, but not based on undo history.
+6

Mac OS X doesn't trigger resize events when Sublime Text 2 is in fullscreen, and I unplug/plug-in my secondary monitor

Brad Gessler 13 years ago updated 13 years ago 1

Scenario: I'm using Sublime Text 2 on my big ass 30" Cinema Display in fullscreen. I get tired of sitting in my office so I unplug the monitor from my laptop and go into the living room. 


Problem: Sublime Text cuts off my editing window because it still thinks its plugged into a 30" screen. I exit fullscreen, the go back into it.


Fix: We've dealt with similar issues in one of our apps and this little API hook came to the rescue: http://www.cocoabuilder.com/archive/cocoa/1951-notification-of-resolution-arrangement-of-monitor-change.html


Could you wire up this hook so that it triggers a fullscreen resize when I unplug my monitor?

+6

Bug in osx 'look up in dictionary" behaviour

Matthew Raso-Barnett 13 years ago updated 13 years ago 1
Usually in OSX applications you can look up words in text by hovering the mosue cursor over the word and pressing 'cmd+crtl+D' which will highlight the word and show a drop down dictionary window with the definition of that word. Alternatively you can right click the word and there is often a menu item to "Look up...".

In build 2112 (and maybe before?) the keyboard shortcut behaviour triggers the dictionary lookup still, although it actually highlights and looks up the word after the one the cursor is hovering over. The contextual menu item doesn't appear so perhaps this feature isn't supposed to be supported.

Here is a picture, where my mouse cursor is actually over the word 'this' (although you cannot see it).Image 24  

Additionally the highlighting of the word is misaligned with the underlying text:
Image 25