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

+2

Paste and indent in the middle of a line

Sheldon Els 13 years ago updated 13 years ago 0
Paste and indent in the middle of a line tries to indent only the pasted text, and ends up inserting whitespace before the pasted text.

Normally I wouldn't be bothered, but I recently switched to using paste and indent as "default" and normal paste as the shift key binding instead. In textmate it was able to indent on paste, but realise that pastes in the middle of a line shouldn't insert whitespace before the paste, but rather before the whole line (if needed)
+2

Getting path to project directory when project file stored elsewhere

Rhys Evans 12 years ago 0

I want to use something like `$my_project_directory/public/index.html` in a build system file but as I store my project file in a different directory $project_path points to that directory instead. How do I get  arefernce to the correct directory?


project file


```

{
   "folders":
   [
     {
       "path": "/Users/wheresrhys/Sites/jigsnreels/dev"
     }
   ]
}
```


build system


```

{
  "cmd": ["open", "-a", "Google Chrome Canary", "$project_path/public/index.html"]
}

```

+2

Use the NSFindPboard on OS X.

William Taysom 13 years ago updated by Tim Lewis 7 years ago 5
OS X uses a NSGeneralPboard for cut-copy-and-paste.  OS X also has NSFindPboard for sharing searches between applications.  It would be great if Sublime Text supported the NSFindPboard.  Then, for example, we could select output from a printf in Terminal, use ⌘E to set the find pboard, switch to Sublime Text, and then use ⌘G to find the printed text.  It's just another way to make Sublime feel like a first class OS X citizen.
+2

Icons in File Browser

Shantanu Kumar 12 years ago 0

As of ST 2.0.1 the file and folder entries in the file browser are simple text. It would help a LOT if the filenames and folder-names are accompanied with icons of respective file/folder types.

+2

fix wrapping to work correctly

mike bayer 13 years ago updated 13 years ago 1
observe wrapping of standard python parameter specifications in textmate vs sublime2:



Image 127Image 126

+2

Flexible borders in grid

bentastic 13 years ago updated 13 years ago 0

Make borders in colums, rows or grid flexible to move right/left/up/down. For ex: in grid moving the top vertical border from group 1 and 2 (top) a bit to the left, but vertical border of group 3 and 4 (bottom) stays in the middle.


Nice too, to get one side 2 rows in a column and other side just one column (just thinking that)

+2

SQL missing functions

James Brooks 14 years ago updated by bizoo 14 years ago 1
The SQL language file (for at least the MySQL language) is missing several functions:
Else, When, End, Case, Then
+2

OS X: Option-Begin/End (jump to beginning or end of file) doesn't work, only Option-Page Up/Page Down

Dan McLaughlin 12 years ago 0

OS X: Option-Begin/End (jump to beginning or end of file) doesn't work, only Option-Page Up/Page Down. I use Option-Begin/End to quickly get to the beginning and end of a file to edit so it would be great if you could fix. Thanks.

+2

sql joins autocomplete based on database structure and foreign keys

Darius Val 11 years ago 0

Hello,


It would be really great feature to have this. Lets say I write such sql:


SELECT event_names.event_name, coefs.event_value FROM coefs

INNER JOIN event_names ON event_names.id = coefs.event_names_id


the part:

ON event_names.id = coefs.event_names_id


is always the same when I join this event_names table to coefs table. So it takes time to type that. And there are many situations like this.


So  think sublime could rread database structure and save it in a file.

WHen I type 


SELECT event_names.event_name, coefs.event_value FROM coefs

INNER JOIN event_names


it could automatically suggest "ON event_names.id = coefs.event_names_id"



+2

JavaScript Compiler

Tiago Duarte 13 years ago updated 13 years ago 5

Till this day I have not found an editor that will compile JavaScript code.
I'm left with jshint, http://www.jshint.com/.


I would be great to have this on Sublime Text.


Thanks.