Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 40 lines (36 sloc) 1.274 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
<?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">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>bundleUUID</key>
<string>467B298F-6227-11D9-BFB1-000D93589AF6</string>
<key>command</key>
<string>#!/usr/bin/env ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
preference = 'Property Value Completions'
choices = []

parsed_choices = TextmateCompletionsParser.new(nil, :scope =&gt; :css_values).to_ary
choices += parsed_choices if parsed_choices

choices += ['--']

plist_choices = TextmateCompletionsPlist.new( "#{ENV['TM_BUNDLE_PATH']}/Preferences/#{preference}.tmPreferences" ).to_ary
choices += plist_choices if plist_choices

print TextmateCodeCompletion.new(choices,STDIN.read).to_snippet
</string>
<key>fallbackInput</key>
<string>line</string>
<key>input</key>
<string>selection</string>
<key>keyEquivalent</key>
<string>~</string>
<key>name</key>
<string>CodeCompletion CSS Property Values</string>
<key>output</key>
<string>insertAsSnippet</string>
<key>scope</key>
<string>source.sass meta.property-value</string>
<key>uuid</key>
<string>4730374F-6919-416A-9042-64E026DED100</string>
</dict>
</plist>
Something went wrong with that request. Please try again.