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

+2

Holding Option and clicking the button should performa column select

Caleb Land vor 13 Jahren aktualisiert vor 13 Jahren 6
If I have a cursor, with no selection made, and I hold the option key and click somewhere else in the document, Sublime should column select from where the cursor was to where I clicked.
+2

Variable name edit (PHP)

David Čepelík vor 14 Jahren 0

When I double click variable name and paste a new one, including the dollar sign: (PHP, [...] = selection)


1. $varName = "value";

2. $[varName] = "value";

3. Paste [$newVarName] from Clipboard

4. $newVarName = "value";


the dollar sign isn't added again, which is very comfortable. However, when i paste an expression, like:


1. $varName

2. $[varName]

3. Paste [$newVarName = "value"] from Clipboard

4. $$newVarName = "value"


and it does not... It would be very nice if it worked in this case too :).

+2

kubuntu-ST3. not save in a samba share.

Fernando Figaroli (FerX) vor 11 Jahren 0
In kubuntu (13.10) I installed ST3.
I have a big problem when I open Dolphin in a samba share.
ST3 opens the file but can not save it. Continue processing but does not save.
If I try with another editor (Kira) works without problems.
I tried putting the setting "atomic_save": false, but nothing changes.
Has anyone had the same problem?
+2
Fixed

sublime text 2 freaks totally out if running svn up

Gi7mo! vor 13 Jahren aktualisiert von Jon Skinner vor 13 Jahren 1
if i run "svn up" in a folder which is loaded into sublime text 2 it ends up in 100% cpu load. there is no recovery, only quit sublime text 2 is a solution
happens on osx, with a large repository, only the repository folder is loaded into sublime text 2
Antwort
Jon Skinner vor 13 Jahren
Fixed in 2181
+2

Autocomplete: snippets shadow variables with the same name

Patricio Palladino vor 12 Jahren aktualisiert von robertcollier4 vor 11 Jahren 1
When you have a snippet and a variable with the same name, autocomplete only gives you the option of the snippet.

The variable should also be present, and IMO should have more priority.
+2

Duplicating a line shouldn't take selection into account, but whole lines

GarciaWebDev vor 13 Jahren aktualisiert vor 13 Jahren 2
It's very useful to select a bunch of lines by dragging the mouse cursor in the middle of those lines and then duplicating those. But line duplication currently only duplicates selection, it's tedious.It should work taking whole lines into account like Delete Line function (Ctrl+Shift+K) does.Also, after doing Duplicate Line command, newly duplicated lines should be placed on new line below last selected line, and not in the same last line of the selection. It's tedious.
+2

Is it possible to stop build system from showing output?

johtso vor 13 Jahren aktualisiert von Dan Rogers vor 13 Jahren 3
Is it possible to stop a build system from showing output if there weren't any error's raised or output produced?
+2

snippet to create a snippet

Jonathan King vor 13 Jahren 0
This is an idea straight from the top of my head, but the tools->New Snippet, to me, seems to defeat the purpose of the power of the snippet. Why not create a function that when you create a new snippet, you can tab through the new snippet like a regular one?

I threw this together as my first one (I'm new to sublime text, I'm still dealing with an escaping issue, but you get the just of my idea)

<snippet>
     <content>

<![CDATA[
<snippet>
    <content>
         <![CDATA[${1:Enter your snippet here}]]${2:>}
    </content>
         <!-- Optional: Tab to trigger to activate the snippet -->
              <tabTrigger>${3:Enter your trigger here}</tabTrigger>

         <!-- Optional: Scope the tab trigger will be active in -->
              <scope>${4:Enter Scope Here}</scope>

         <!-- Optional: Description to show in menu -->
              <description>${5:Enter your Snippet Description Here}</description>

</snippet>
]]>
     </content>

    <!-- Optional: Tab trigger to activate the snippet -->
    <tabTrigger>snippet</tabTrigger>
    <!-- Optional: Enter the scope the tag trigger will be active in -->
    <scope>text.xml</scope>

    <!-- Optional: Description to show in the menu -->
    <description>Auto-Snippet</description>

</snippet>

+2

Open as Sublime Project

funkjedi vor 14 Jahren aktualisiert von Leon Zhang vor 13 Jahren 1
Add "Open as Sublime Project" to the context menu in Windows Explorer when right clicking on a folder.
+2

Smart Caps for Find dialog

Nick Fisher vor 13 Jahren aktualisiert von Markus Peter vor 13 Jahren 1
In Komodo, there are three "caps" matching options for Find: case-insensitive, case-sensitive and Smart Caps. In Smart Caps mode, if there are any upper case letters in the search term, it is case-sensitive, if it is all lower case, it is case-insensitive.

eg:
"foo" finds "foo", "Foo" and "FoO"
"Foo" only finds "Foo"