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

+2

snippet to create a snippet

Jonathan King 13 år siden 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 år siden opdateret af Leon Zhang 13 år siden 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 13 år siden opdateret af Markus Peter 13 år siden 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 år siden opdateret af jan otte 12 år siden 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
Færdig

Column Selection

Brent Dillingham 14 år siden opdateret af Jon Skinner 14 år siden 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.
Svar
Jon Skinner 14 år siden
+2

Support Arbitrary Pane Layouts

Chad Ostrowski 13 år siden opdateret 13 år siden 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 13 år siden opdateret 13 år siden 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*%.*)?$))
+2

Ability to right click tab and rename/alias the tab

Nathan Young 12 år siden 0
I use Sublime Text 2 for editing config files on my Minecraft server, and I have many files that are named "config.yml". With the current feature set, these identically named files end up being displayed as "config.yml", "config 2.yml", "config 3.yml" etc. It'd be wonderful if I had the ability to right click on the tab and rename the tab, just within the context of Sublime. This would allow me to see "Server Config" and "Mod Config" instead of just the file name with some extra numbers.
+2

libpng15

Jan Pipek 13 år siden opdateret 13 år siden 0
I can't run Sublime Text 2 (build 2165) in 64bit linux due to newer libpng in my system. Could the executable be version-unspecific and tested against libpng14&15? 
Thank you,
Jan
+2

Shortcut icon disappeared

Marco Kellershoff 12 år siden 0

My icon of the shortcut for sublime text 2 acciedentially disappeared after registering. At least I think so. Weird thing is, that I am using it at 2 different computers, both running Win 7 and at my desktop it works and on my laptop it just disappeared.

Kundesupport af UserEcho