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

+2

Autocomplete: snippets shadow variables with the same name

Patricio Palladino 13 jaar geleden bijgewerkt door robertcollier4 11 jaar geleden 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 13 jaar geleden bijgewerkt 13 jaar geleden 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 14 jaar geleden bijgewerkt door Dan Rogers 14 jaar geleden 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 13 jaar geleden 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 14 jaar geleden bijgewerkt door Leon Zhang 14 jaar geleden 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 14 jaar geleden bijgewerkt door Markus Peter 14 jaar geleden 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"
+2

More relevant and informative code hints!

Erlend. 12 jaar geleden bijgewerkt door jan otte 12 jaar geleden 0

Sublime Text 2 needs more relevant and informative code hints! This is especially needed for object-oriented languages! This may come naturally if you implement build paths for some languages, like Java. Related: http://www.sublimetext.com/forum/viewtopic.php?f=4&t=11543

+2
Voltooid

Column Selection

Brent Dillingham 14 jaar geleden bijgewerkt door Jon Skinner 14 jaar geleden 0
TextMate allows you to do "column selection", by holding option while making a selection, or by making a normal selection and tapping option once.
Antwoord
Jon Skinner 14 jaar geleden
+2

Support Arbitrary Pane Layouts

Chad Ostrowski 14 jaar geleden bijgewerkt 14 jaar geleden 4
|__|__|
|_____|
|_|_|_|

^ I should be able to do that. Like in vim. :-)

And then Cmd-T can support opening in a split pane by pressing <C-V> (new vertical pane) or simply <C-CR> (new horizontal pane).

And also, Vintage mode could support `:sp` and `:vs`.
+2

Fix increaseIndentPattern for Erlang

kutu 14 jaar geleden bijgewerkt 14 jaar geleden 1
no auto-indent after "->\n"

pattern should be:

^[^%]*((\b(if|case|receive|after|fun|try|catch|begin|query)\b(?!.*\b(end)\b.*))|(-&gt;(\s*%.*)?$))