Home Download Buy Blog Forum Support

TextMate Snippets - Completion not working

Re: TextMate Snippets - Completion not working

Postby aunderwo on Thu Sep 08, 2011 9:47 am

sublimator wrote:Someone mentioned, or showed code the other day that implied, that the <keyEquivalent> field in snippets now works in Sublime. This was never the case in S1. Can anyone confirm this?

I can't get this working. My snippet is as follows which is a direct copy of a TextMate Snippet. This aims for the # key to insert the charcaters #{} around text within a double quotes string. At the moment it does nothing. Any ideas??

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
        <string>Embedded Code — #{…}</string>
        <string>(string.quoted.double.ruby|string.interpolated.ruby) - string source</string>
Posts: 7
Joined: Thu Sep 08, 2011 9:40 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], nesbit and 16 guests