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 il y a 13 ans mis à jour il y a 13 ans 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 il y a 14 ans 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) il y a 11 ans 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
Corrigé

sublime text 2 freaks totally out if running svn up

Gi7mo! il y a 13 ans mis à jour par Jon Skinner il y a 13 ans 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
Solution
Jon Skinner il y a 13 ans
Fixed in 2181
+2

Autocomplete: snippets shadow variables with the same name

Patricio Palladino il y a 12 ans mis à jour par robertcollier4 il y a 11 ans 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 il y a 13 ans mis à jour il y a 13 ans 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 il y a 13 ans mis à jour par Dan Rogers il y a 13 ans 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 il y a 13 ans 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 il y a 14 ans mis à jour par Leon Zhang il y a 13 ans 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 il y a 13 ans mis à jour par Markus Peter il y a 13 ans 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"