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

+1

I can't search for \r as a regex

Chiku hace 12 años actualizado hace 11 años 2

When I have regex enabled and I try to search for \r, no results turn up even if the file contains CRs (carriage returns)


I am using sublime text v2.0.1 build 2217 on Windows.

+1

Indent guides are drawn incorrectly

Gilbert B Garza hace 13 años 0
It seems that nested indentations deeper than two levels get double rendered. The first is in the correct spot, but the second is right next to the code, touching its left side.


It's distracting and looks kind of bad.
+1

Selecting row/column cuts in layouts

Daniel Papp hace 11 años 0

I'm writing a plugin with which has a somewhat similar purpose as the origami plugin. So you have the 'rows' and 'cols' keys in the layout which are arrays with floating point numbers in [0, 1] each of which defining a horizontal or vertical(respectively) line at the given percentage in the window. So the functionality in my plugin is splitting cells, merging cells, re-sizing cells and some other functions but these 3 are the important ones. What I could use if I could select the cuts or create new cuts with the mouse(inside a cell) or just select cuts and move them and by this define the cell merge, creation/split  and re-size. Also if touchscreen will be widespread this will be a pretty neat way to handle cells in sublime.

+1

HTML Comments within PHP Heredoc

Michael Dougherty hace 13 años actualizado hace 13 años 0
in a PHP file, ST properly switches to HTML syntax highlighting in the below Heredoc string:

$text = <<<HTML
<a href="whatever">blah</a>
<img src="yeah-right" />
HTML

However, if I try to comment a line with Cmd+/ it incorrectly adds PHP comments instead of HTML comments


+1

Save dialog not shown

Simon Bennett hace 13 años actualizado hace 13 años 0
When creating a new file where HTML is contained within the first line no save-as dialog box is shown and the file is not saved.  Console error is: Error showing save dialog: 12290

Changing the first line of the file to something simple rectifies the issue.
+1

Auto Complete of Tags

Wayne Barron hace 12 años actualizado por Adrien Dudouit hace 12 años 1

Hello All;
I have been using Dreamweaver for years, not for the coding, but the ease of use with the auto complete function they have in it.
I would LOVE to get away from Dreamweaver, and start using Sublime full time in my production environment, and also for my workers.

This is what I would love to have.

When you type in <tr><td>
Then you type in </
It will automatically complete the closing tags.
So you will have
<tr><td></td></tr>
Right now, you have to choose from the list, and sometimes the list does not appear.

Thanks and keep up the awesome work.
Maybe one day, this program will become my main one.

Wayne

+1

Add Grunt to default Build Systems

Nick Stakenburg hace 12 años 0

I'd love to see Grunt added to the default build systems.

There are custom build scripts and plugins for Grunt out there, but most of them don't work on all platforms without some modification. It would be nice to see it build in properly.

+1

Goto Definition not going to typedef

Olegs Jeremejevs hace 11 años 0

The C++ code I work with has a lot of typedefs and Goto Definition doesn't detect them. At all.

+1

alt+f3 should honor selection

karatedog hace 13 años actualizado hace 13 años 0
Selecting a string (let's name it "STR") and pressing Alt+F3 selects all occurrences in the document. Then I can edit all those STR in the document. Good.

Selecting a block of text, then using Ctrl+F to find STR selects all occurrences of STR inside the block of selection only.
I'd like to be able to edit ONLY those matches inside the block, and not all occurrences throughout the document.
+1

File Clone opens the new tab with the minimap open even when minimap is set to hidden

Daniel Azuma hace 14 años actualizado hace 14 años 1
Build 2036 on Mac OS X.

* Turn minimap off (View -> Hide Minimap)
* Open a file. The tab opens correctly with no Minimap.
* File -> Clone. The new tab opens with a Minimap. The minimap state (according to the menu bar) is still off.

Interestingly, this even seems to happen when using Goto File or Goto Anything to open the buffer a second time. While the Goto dialog is up, and the file previews are appearing behind it, whenever a buffer that is already open is previewed, the minimap appears, and whenever a buffer that is not already open is being previewed, the minimap is not present.