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

+1

Unable to save

Vivi-Raa il y a 11 ans mis à jour par Alexander E Jones il y a 11 ans 1

Hi - im a first time user of sublime. I am learning to code via Treehouse. One of the first things I am required to do is create a file and save it as index.html. Once I try and save it, an error pops up "Unable to save/Index.html. Error: unable to create tmp file in..." - therefore I cannot save and continue on with the tutorial.. Is it because I have an "unregistered" copy? I downloaded a free version off your site.

+1

I can't search for \r as a regex

Chiku il y a 12 ans mis à jour il y a 11 ans 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 il y a 13 ans 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 il y a 11 ans 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 il y a 13 ans mis à jour il y a 13 ans 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 il y a 13 ans mis à jour il y a 13 ans 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 il y a 12 ans mis à jour par Adrien Dudouit il y a 12 ans 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 il y a 12 ans 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 il y a 11 ans 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 il y a 13 ans mis à jour il y a 13 ans 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.