mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 23:48:05 +03:00
Remove TextMate bundles from Atom source
Bundles are now cloned into ~/.atom/bundles using `rake clone-default-bundles`
This commit is contained in:
parent
9f686f95f8
commit
bd6313372e
37
Rakefile
37
Rakefile
@ -1,6 +1,7 @@
|
||||
require 'timeout'
|
||||
|
||||
ATOM_SRC_PATH = File.dirname(__FILE__)
|
||||
DOT_ATOM_PATH = ENV['HOME'] + "/.atom"
|
||||
BUILD_DIR = 'atom-build'
|
||||
|
||||
desc "Create xcode project from gpy file"
|
||||
@ -48,25 +49,47 @@ task :install => :build do
|
||||
`echo '#!/bin/sh\nopen #{dest} -n --args --resource-path="#{ATOM_SRC_PATH}" --executed-from="$(pwd)" $@' > #{cli_path} && chmod 755 #{cli_path}`
|
||||
|
||||
Rake::Task["create-dot-atom"].invoke()
|
||||
Rake::Task["clone-default-bundles"].invoke()
|
||||
|
||||
puts "\033[32mType `atom` to start Atom! In Atom press `cmd-,` to edit your `.atom` directory\033[0m"
|
||||
end
|
||||
|
||||
desc "Creates .atom file if non exists"
|
||||
task "create-dot-atom" do
|
||||
dot_atom_path = ENV['HOME'] + "/.atom"
|
||||
dot_atom_template_path = ATOM_SRC_PATH + "/.atom"
|
||||
replace_dot_atom = false
|
||||
return if Dir.exists?(dot_atom_path)
|
||||
next if Dir.exists?(DOT_ATOM_PATH)
|
||||
|
||||
`rm -rf "#{dot_atom_path}"`
|
||||
`mkdir "#{dot_atom_path}"`
|
||||
`cp "#{dot_atom_template_path}/atom.coffee" "#{dot_atom_path}"`
|
||||
`rm -rf "#{DOT_ATOM_PATH}"`
|
||||
`mkdir "#{DOT_ATOM_PATH}"`
|
||||
`cp "#{dot_atom_template_path}/atom.coffee" "#{DOT_ATOM_PATH}"`
|
||||
|
||||
for path in Dir.entries(dot_atom_template_path)
|
||||
next if ["..", ".", "atom.coffee"].include? path
|
||||
`ln -s "#{dot_atom_template_path}/#{path}" "#{dot_atom_path}"`
|
||||
`ln -s "#{dot_atom_template_path}/#{path}" "#{DOT_ATOM_PATH}"`
|
||||
end
|
||||
end
|
||||
|
||||
desc "Clone default bundles into .atom directory"
|
||||
task "clone-default-bundles" => "create-dot-atom" do
|
||||
bundle_urls = [
|
||||
"https://github.com/textmate/css.tmbundle.git",
|
||||
"https://github.com/textmate/html.tmbundle.git",
|
||||
"https://github.com/textmate/javascript.tmbundle.git",
|
||||
"https://github.com/textmate/ruby-on-rails.tmbundle.git",
|
||||
"https://github.com/textmate/ruby.tmbundle.git",
|
||||
"https://github.com/textmate/text.tmbundle.git",
|
||||
"https://github.com/jashkenas/coffee-script-tmbundle.git",
|
||||
"https://github.com/cburyta/puppet-textmate.tmbundle.git",
|
||||
]
|
||||
|
||||
for bundle_url in bundle_urls
|
||||
bundle_dir = bundle_url[/([^\/]+?)(\.git)?$/, 1]
|
||||
dest_path = File.join(DOT_ATOM_PATH, "bundles", bundle_dir)
|
||||
next if Dir.exists? dest_path
|
||||
`git clone --quiet #{bundle_url} #{dest_path}`
|
||||
end
|
||||
end
|
||||
|
||||
desc "Clean build Atom via `xcodebuild`"
|
||||
task :clean do
|
||||
@ -85,7 +108,7 @@ task :run, [:atom_arg] => :build do |name, args|
|
||||
end
|
||||
|
||||
desc "Run the specs"
|
||||
task :test => :clean do
|
||||
task :test => ["clean", "create-dot-atom"] do
|
||||
Rake::Task["run"].invoke("--test")
|
||||
end
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
*.cache
|
@ -1,159 +0,0 @@
|
||||
<?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>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
#
|
||||
# Based on (from Source.tmbundle):
|
||||
#
|
||||
# Assignment block tidier, version 0.1.
|
||||
#
|
||||
# Copyright Chris Poirier 2006.
|
||||
# Licensed under the Academic Free License version 3.0.
|
||||
#
|
||||
# This script can be used as a command for TextMate to align all
|
||||
# of the assignment signs within a block of text. When using it with
|
||||
# TextMate, set the command input to "Selected Text" or "Document",
|
||||
# and the output to "Replace Selected Text". Map it to a key
|
||||
# equivalent, and any time you want to tidy up a block, either
|
||||
# select it, or put your cursor somewhere within it; then hit the
|
||||
# key equivalent. Voila.
|
||||
#
|
||||
# Note that this is the first version of the script, and it hasn't
|
||||
# been heavily tested. You might encounter a bug or two.
|
||||
#
|
||||
# Note (by Dr Nic) - the "first version" seems to have worked for years.
|
||||
# I hope the CoffeeScript version is as successful.
|
||||
#
|
||||
# Per the license, use of this script is ENTIRELY at your own risk.
|
||||
# See the license for full details (they override anything I've
|
||||
# said here).
|
||||
|
||||
lines = STDIN.readlines()
|
||||
selected_text = ENV.member?("TM_SELECTED_TEXT")
|
||||
|
||||
relevant_line_pattern = /^[^:]+:/
|
||||
column_search_pattern = /[\t ]*:/
|
||||
|
||||
comments = []
|
||||
|
||||
begin
|
||||
#
|
||||
# If called on a selection, every assignment statement
|
||||
# is in the block. If called on the document, we start on the
|
||||
# current line and look up and down for the start and end of the
|
||||
# block.
|
||||
|
||||
if selected_text then
|
||||
block_top = 1
|
||||
block_bottom = lines.length
|
||||
else
|
||||
|
||||
#
|
||||
# We start looking on the current line. However, if the
|
||||
# current line doesn't match the pattern, we may be just
|
||||
# after or just before a block, and we should check. If
|
||||
# neither, we are done.
|
||||
|
||||
start_on = ENV["TM_LINE_NUMBER"].to_i
|
||||
block_top = lines.length + 1
|
||||
block_bottom = 0
|
||||
search_top = 1
|
||||
search_bottom = lines.length
|
||||
search_failed = false
|
||||
|
||||
if lines[start_on - 1] !~ relevant_line_pattern then
|
||||
if lines[start_on - 2] =~ relevant_line_pattern then
|
||||
search_bottom = start_on = start_on - 1
|
||||
elsif lines[start_on] =~ relevant_line_pattern then
|
||||
search_top = start_on = start_on
|
||||
else
|
||||
search_failed = true
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
# Now with the search boundaries set, start looking for
|
||||
# the block top and bottom.
|
||||
|
||||
unless search_failed
|
||||
start_on.downto(search_top) do |number|
|
||||
if lines[number-1] =~ relevant_line_pattern then
|
||||
block_top = number
|
||||
else
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
start_on.upto(search_bottom) do |number|
|
||||
if lines[number-1] =~ relevant_line_pattern then
|
||||
block_bottom = number
|
||||
else
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
# Now, iterate over the block and find the best column number
|
||||
# for the = sign. The pattern will tell us the position of the
|
||||
# first bit of whitespace before the equal sign. We put the
|
||||
# equals sign to the right of the furthest-right one. Note that
|
||||
# we cannot assume every line in the block is relevant.
|
||||
|
||||
best_column = 0
|
||||
block_top.upto(block_bottom) do |number|
|
||||
line = lines[number - 1]
|
||||
if line =~ relevant_line_pattern then
|
||||
m = column_search_pattern.match(line)
|
||||
best_column = m.begin(0) if m.begin(0) > best_column
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
#
|
||||
# Reformat the block. Again, we cannot assume all lines in the
|
||||
# block are relevant.
|
||||
|
||||
block_top.upto(block_bottom) do |number|
|
||||
if lines[number-1] =~ relevant_line_pattern then
|
||||
before, after = lines[number-1].split(/[\t ]*:[\t ]*/, 2)
|
||||
# lines[number-1] = [before.ljust(best_column), after].join(after[0,1] == '>' ? ":" : ": ")
|
||||
lines[number-1] = ["#{before}:".ljust(best_column + 2), after].join
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
rescue => e
|
||||
comments << "Error: #{e.inspect}"
|
||||
comments << e.backtrace
|
||||
end
|
||||
|
||||
#
|
||||
# Output the replacement text
|
||||
|
||||
lines.each do |line|
|
||||
puts line
|
||||
end
|
||||
|
||||
comments.flatten.each { |c| puts "# #{c}" }
|
||||
|
||||
</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>~@]</string>
|
||||
<key>name</key>
|
||||
<string>Align Assignments</string>
|
||||
<key>output</key>
|
||||
<string>replaceSelectedText</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>uuid</key>
|
||||
<string>EE3293A5-3761-40BD-9CA8-DAAA176AA19E</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"path": "$HOME/bin:/usr/local/bin:$PATH",
|
||||
"cmd": ["coffee","-c","$file"],
|
||||
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
|
||||
"selector": "source.coffee"
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
<?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>command</key>
|
||||
<string>#!/bin/bash
|
||||
|
||||
function pre {
|
||||
echo -n '<pre style="word-wrap: break-word;">'
|
||||
perl -pe '$| = 1; s/&/&amp;/g; s/</&lt;/g; s/>/&gt;/g; s/$\\n/<br>/'
|
||||
echo '</pre>'
|
||||
}
|
||||
|
||||
${TM_COFFEE:=coffee} -scp --bare | pre
|
||||
</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>document</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>@b</string>
|
||||
<key>name</key>
|
||||
<string>Compile and Display JS</string>
|
||||
<key>output</key>
|
||||
<string>showAsHTML</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>uuid</key>
|
||||
<string>D749F761-1740-4918-9490-90DF376BA72E</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,34 +0,0 @@
|
||||
<?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>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
|
||||
column_number = ENV['TM_COLUMN_NUMBER']
|
||||
whitespace = " " * (column_number.to_i - 1)
|
||||
|
||||
print <<-EOS
|
||||
###
|
||||
#{whitespace}$0
|
||||
#{whitespace}###
|
||||
EOS
|
||||
</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>line</string>
|
||||
<key>input</key>
|
||||
<string>none</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^#</string>
|
||||
<key>name</key>
|
||||
<string>Insert Heredoc """ comment</string>
|
||||
<key>output</key>
|
||||
<string>insertAsSnippet</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>uuid</key>
|
||||
<string>68A86250-0280-11E0-A976-0800200C9A66</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,34 +0,0 @@
|
||||
<?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>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
|
||||
column_number = ENV['TM_COLUMN_NUMBER']
|
||||
whitespace = " " * (column_number.to_i - 1)
|
||||
|
||||
print <<-EOS
|
||||
"""
|
||||
#{whitespace}$0
|
||||
#{whitespace}"""
|
||||
EOS
|
||||
</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>line</string>
|
||||
<key>input</key>
|
||||
<string>none</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>@"</string>
|
||||
<key>name</key>
|
||||
<string>Insert Heredoc """ quotes</string>
|
||||
<key>output</key>
|
||||
<string>insertAsSnippet</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>uuid</key>
|
||||
<string>F08537AF-4F02-4040-999D-F0785CF64C02</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,34 +0,0 @@
|
||||
<?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>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
|
||||
column_number = ENV['TM_COLUMN_NUMBER']
|
||||
whitespace = " " * (column_number.to_i - 1)
|
||||
|
||||
print <<-EOS
|
||||
'''
|
||||
#{whitespace}$0
|
||||
#{whitespace}'''
|
||||
EOS
|
||||
</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>line</string>
|
||||
<key>input</key>
|
||||
<string>none</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>@'</string>
|
||||
<key>name</key>
|
||||
<string>Insert Heredoc ''' quotes</string>
|
||||
<key>output</key>
|
||||
<string>insertAsSnippet</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>uuid</key>
|
||||
<string>C4F99E3D-1540-4BC1-8038-0A19D65BABC8</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,27 +0,0 @@
|
||||
<?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>command</key>
|
||||
<string>cat <<SNIPPET
|
||||
${TM_SELECTED_TEXT:-$TM_CURRENT_WORD} = (\${1:args}) ->
|
||||
\$0
|
||||
SNIPPET</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>word</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>$
</string>
|
||||
<key>name</key>
|
||||
<string>New Function</string>
|
||||
<key>output</key>
|
||||
<string>insertAsSnippet</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>uuid</key>
|
||||
<string>192428A1-8684-4172-8728-225B4C9E532F</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,25 +0,0 @@
|
||||
<?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>command</key>
|
||||
<string>#!/bin/bash
|
||||
|
||||
${TM_COFFEE:=coffee} -s
|
||||
</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>@R</string>
|
||||
<key>name</key>
|
||||
<string>Run selected text</string>
|
||||
<key>output</key>
|
||||
<string>showAsTooltip</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>uuid</key>
|
||||
<string>90424631-D00B-448C-B157-DAC92DFB2858</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,32 +0,0 @@
|
||||
<?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>command</key>
|
||||
<string>#!/bin/bash
|
||||
|
||||
function pre {
|
||||
echo -n '<pre style="word-wrap: break-word;">'
|
||||
perl -pe '$| = 1; s/&/&amp;/g; s/</&lt;/g; s/>/&gt;/g; s/$\\n/<br>/'
|
||||
echo '</pre>'
|
||||
}
|
||||
|
||||
|
||||
${TM_COFFEE:=coffee} -s | pre
|
||||
</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>@r</string>
|
||||
<key>name</key>
|
||||
<string>Run</string>
|
||||
<key>output</key>
|
||||
<string>showAsHTML</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>uuid</key>
|
||||
<string>30395DAB-44A6-44F7-99E1-02D64621303A</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,36 +0,0 @@
|
||||
<?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>name</key>
|
||||
<string>Comments</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>shellVariables</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>TM_COMMENT_START</string>
|
||||
<key>value</key>
|
||||
<string># </string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>TM_COMMENT_START_2</string>
|
||||
<key>value</key>
|
||||
<string>###</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>TM_COMMENT_END_2</string>
|
||||
<key>value</key>
|
||||
<string>###</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>0A92C6F6-4D73-4859-B38C-4CC19CBC191F</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,17 +0,0 @@
|
||||
<?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>name</key>
|
||||
<string>Disable Indent Corrections</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>disableIndentCorrections</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>5E57C0C3-77D5-4809-A131-F777EE264908</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,27 +0,0 @@
|
||||
<?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>name</key>
|
||||
<string>Indent</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>decreaseIndentPattern</key>
|
||||
<string>^\s*(\}|\]|else|catch|finally)$</string>
|
||||
<key>increaseIndentPattern</key>
|
||||
<string>(?x)
|
||||
^\s*
|
||||
(.*class\s+
|
||||
|[a-zA-Z\$_](\w|\$|:|\.)*\s*(?=\:(\s*\(.*\))?\s*((=|-)>\s*$)) # function that is not one line
|
||||
|[a-zA-Z\$_](\w|\$|\.)*\s*(:|=)\s*((if|while)(?!.*?then)|for|$) # assignment using multiline if/while/for
|
||||
|(if|while)\b(?!.*?then)|for\b
|
||||
|(try|finally|catch\s+\S.*)\s*$
|
||||
|.*[-=]>$
|
||||
|.*[\{\[]$)</string>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>C5D6C716-12FE-4CE8-A916-6CABEDE8AFE7</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,19 +0,0 @@
|
||||
<?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>name</key>
|
||||
<string>Symbol List: Method</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee meta.function.coffee</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>showInSymbolList</key>
|
||||
<integer>1</integer>
|
||||
<key>symbolTransformation</key>
|
||||
<string>s/^\s*([a-zA-Z\$_]+)\s*=/$2/</string>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>419D24D8-0DD6-4D9A-8CA0-6D9CD740BEEC</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,17 +0,0 @@
|
||||
<?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>name</key>
|
||||
<string>Symbol List: Method Instance</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee entity.name.type.instance</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>showInSymbolList</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>B087AF2F-8946-4EA9-8409-49E7C4A2EEF0</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,21 +0,0 @@
|
||||
CoffeeScript.tmbundle
|
||||
---------------------
|
||||
|
||||
A **TextMate Bundle** for the **CoffeeScript** programming language.
|
||||
|
||||
Installation:
|
||||
-------------
|
||||
|
||||
cd ~/Library/Application\ Support/TextMate/Bundles (Textmate 1)
|
||||
cd /Applications/TextMate.app/Contents/SharedSupport/Bundles (Textmate 1.5.10 & 2)
|
||||
git clone git://github.com/jashkenas/coffee-script-tmbundle CoffeeScriptBundle.tmbundle
|
||||
|
||||
The bundle includes syntax highlighting, the ability to compile or evaluate CoffeeScript inline, convenient symbol listing for functions, and a number of expando snippets.
|
||||
|
||||
Patches for additions are always welcome.
|
||||
|
||||
![screenshot](http://jashkenas.s3.amazonaws.com/images/coffeescript/textmate-highlighting.png)
|
||||
|
||||
If your TextMate.app is having trouble finding the `coffee` command, remember that [TextMate doesn't inherit your regular PATH](http://wiki.macromates.com/Troubleshooting/TextMateAndThePath).
|
||||
|
||||
|
@ -1,17 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>for ${1:name} in ${2:array}
|
||||
${0:# body...}</string>
|
||||
<key>name</key>
|
||||
<string>Array Comprehension</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>fora</string>
|
||||
<key>uuid</key>
|
||||
<string>2D4AC0B4-47AA-4E38-9A11-09A48C2A9439</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,17 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>(${1:args}) =>
|
||||
${0:# body...}</string>
|
||||
<key>name</key>
|
||||
<string>Function (bound)</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>bfun</string>
|
||||
<key>uuid</key>
|
||||
<string>20BDC055-ED67-4D0E-A47F-ADAA828EFF2B</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,20 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>class ${1:ClassName}${2: extends ${3:Ancestor}}
|
||||
|
||||
${4:constructor: (${5:args}) ->
|
||||
${6:# body...}}
|
||||
$7</string>
|
||||
<key>name</key>
|
||||
<string>Class</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>cla</string>
|
||||
<key>uuid</key>
|
||||
<string>765ACBD3-380A-4CF8-9111-345A36A0DAE7</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,17 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>else if ${1:condition}
|
||||
${0:# body...}</string>
|
||||
<key>name</key>
|
||||
<string>Else if</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>elif</string>
|
||||
<key>uuid</key>
|
||||
<string>EA8F5EDB-6E1E-4C36-9CA5-12B108F1A7C9</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,19 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>(${1:args}) ->
|
||||
${0:# body...}
|
||||
|
||||
</string>
|
||||
<key>name</key>
|
||||
<string>Function</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>fun</string>
|
||||
<key>uuid</key>
|
||||
<string>F2E2E79A-A85D-471D-9847-72AE40205942</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,19 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>if ${1:condition}
|
||||
${2:# body...}
|
||||
else
|
||||
${3:# body...}</string>
|
||||
<key>name</key>
|
||||
<string>If .. Else</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>ife</string>
|
||||
<key>uuid</key>
|
||||
<string>2AD19F12-E499-4715-9A47-FC8D594BC550</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,17 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>if ${1:condition}
|
||||
${0:# body...}</string>
|
||||
<key>name</key>
|
||||
<string>If</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>if</string>
|
||||
<key>uuid</key>
|
||||
<string>F4FDFB3A-71EF-48A4-93F4-178B949546B1</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,18 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>#{${1:$TM_SELECTED_TEXT}}</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>#</string>
|
||||
<key>name</key>
|
||||
<string>Interpolated Code</string>
|
||||
<key>scope</key>
|
||||
<string>(string.quoted.double.coffee) - string source, (string.quoted.double.heredoc.coffee) - string source</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>#</string>
|
||||
<key>uuid</key>
|
||||
<string>C04ED189-6ACB-44E6-AD5B-911B760AD1CC</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,17 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>for ${1:key}, ${2:value} of ${3:Object}
|
||||
${0:# body...}</string>
|
||||
<key>name</key>
|
||||
<string>Object comprehension</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>foro</string>
|
||||
<key>uuid</key>
|
||||
<string>9D126CC5-EA14-4A40-B6D3-6A5FC1AC1420</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,17 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>for ${1:name} in [${2:start}...${3:finish}]${4: by ${5:step}}
|
||||
${0:# body...}</string>
|
||||
<key>name</key>
|
||||
<string>Range comprehension (exclusive)</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>forrex</string>
|
||||
<key>uuid</key>
|
||||
<string>FA6AB9BF-3444-4A8C-B010-C95C2CF5BAB3</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,17 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>for ${1:name} in [${2:start}..${3:finish}]${4: by ${5:step}}
|
||||
${0:# body...}</string>
|
||||
<key>name</key>
|
||||
<string>Range comprehension (inclusive)</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>forr</string>
|
||||
<key>uuid</key>
|
||||
<string>E0F8E45A-9262-4DD6-ADFF-B5B9D6CE99C2</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>\`${1:`pbpaste`}\`</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^j</string>
|
||||
<key>name</key>
|
||||
<string>Raw javascript</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>uuid</key>
|
||||
<string>422A59E7-FC36-4E99-B01C-6353515BB544</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,18 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>switch ${1:object}
|
||||
when ${2:value}
|
||||
${0:# body...}</string>
|
||||
<key>name</key>
|
||||
<string>Switch</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>swi</string>
|
||||
<key>uuid</key>
|
||||
<string>3931A7C6-F1FB-484F-82D1-26F5A8F779D0</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>if ${1:condition} then ${2:value} else ${3:other}</string>
|
||||
<key>name</key>
|
||||
<string>Ternary If</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>ifte</string>
|
||||
<key>uuid</key>
|
||||
<string>CF0B4684-E4CB-4E10-8C25-4D15400C3385</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,19 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>try
|
||||
$1
|
||||
catch ${2:error}
|
||||
$3</string>
|
||||
<key>name</key>
|
||||
<string>Try .. Catch</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>try</string>
|
||||
<key>uuid</key>
|
||||
<string>CAFB0DED-5E23-4A84-AC20-87FBAF22DBAC</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>${1:action} unless ${2:condition}</string>
|
||||
<key>name</key>
|
||||
<string>Unless</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>unl</string>
|
||||
<key>uuid</key>
|
||||
<string>E561AECD-5933-4F59-A6F7-FA96E1203606</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string># $1
|
||||
# ==============================================================================
|
||||
$0</string>
|
||||
<key>name</key>
|
||||
<string>Subheader</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>/1</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string># $1
|
||||
# ----------------------------------------------------------------------
|
||||
$0</string>
|
||||
<key>name</key>
|
||||
<string>Subheader</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>/2</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string># $1
|
||||
# -------------------------
|
||||
$0</string>
|
||||
<key>name</key>
|
||||
<string>Subheader</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>/3</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>console.log $0</string>
|
||||
<key>name</key>
|
||||
<string>log</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>log</string>
|
||||
<key>uuid</key>
|
||||
<string>FBC44B18-323A-4C00-A35B-15E41830C5AD</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?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>content</key>
|
||||
<string>${2/^.*?([\w_]+).*$/\L$1/} = require ${2:'${1:sys}'}$3</string>
|
||||
<key>name</key>
|
||||
<string>require</string>
|
||||
<key>scope</key>
|
||||
<string>source.coffee</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>req</string>
|
||||
<key>uuid</key>
|
||||
<string>8A65E175-18F2-428F-A695-73E01139E41A</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,736 +0,0 @@
|
||||
<?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>comment</key>
|
||||
<string>CoffeeScript Syntax: version 1</string>
|
||||
<key>fileTypes</key>
|
||||
<array>
|
||||
<string>coffee</string>
|
||||
<string>Cakefile</string>
|
||||
<string>coffee.erb</string>
|
||||
</array>
|
||||
<key>firstLineMatch</key>
|
||||
<string>^#!.*\bcoffee</string>
|
||||
<key>foldingStartMarker</key>
|
||||
<string>^\s*class\s+\S.*$|.*(->|=>)\s*$|.*[\[{]\s*$</string>
|
||||
<key>foldingStopMarker</key>
|
||||
<string>^\s*$|^\s*[}\]]\s*$</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^~C</string>
|
||||
<key>name</key>
|
||||
<string>CoffeeScript</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>captures</key>
|
||||
<dict>
|
||||
<key>1</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>variable.parameter.function.coffee</string>
|
||||
</dict>
|
||||
<key>2</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>storage.type.function.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>comment</key>
|
||||
<string>match stuff like: a -> … </string>
|
||||
<key>match</key>
|
||||
<string>(\([^()]*?\))\s*([=-]>)</string>
|
||||
<key>name</key>
|
||||
<string>meta.inline.function.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>captures</key>
|
||||
<dict>
|
||||
<key>1</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>keyword.operator.new.coffee</string>
|
||||
</dict>
|
||||
<key>2</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>entity.name.type.instance.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>match</key>
|
||||
<string>(new)\s+(\w+(?:\.\w*)*)</string>
|
||||
<key>name</key>
|
||||
<string>meta.class.instance.constructor</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>'''</string>
|
||||
<key>beginCaptures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.definition.string.begin.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>end</key>
|
||||
<string>'''</string>
|
||||
<key>endCaptures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.definition.string.end.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>name</key>
|
||||
<string>string.quoted.heredoc.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>"""</string>
|
||||
<key>beginCaptures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.definition.string.begin.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>end</key>
|
||||
<string>"""</string>
|
||||
<key>endCaptures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.definition.string.end.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>name</key>
|
||||
<string>string.quoted.double.heredoc.coffee</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\\.</string>
|
||||
<key>name</key>
|
||||
<string>constant.character.escape.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#interpolated_coffee</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>`</string>
|
||||
<key>beginCaptures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.definition.string.begin.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>end</key>
|
||||
<string>`</string>
|
||||
<key>endCaptures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.definition.string.end.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>name</key>
|
||||
<string>string.quoted.script.coffee</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\\(x\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)</string>
|
||||
<key>name</key>
|
||||
<string>constant.character.escape.coffee</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>(?<!#)###(?!#)</string>
|
||||
<key>captures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.definition.comment.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>end</key>
|
||||
<string>###(?:[ \t]*\n)</string>
|
||||
<key>name</key>
|
||||
<string>comment.block.coffee</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>@\w*</string>
|
||||
<key>name</key>
|
||||
<string>storage.type.annotation.coffeescript</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>captures</key>
|
||||
<dict>
|
||||
<key>1</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.definition.comment.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>match</key>
|
||||
<string>(#)(?!\{).*$\n?</string>
|
||||
<key>name</key>
|
||||
<string>comment.line.number-sign.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>/{3}</string>
|
||||
<key>end</key>
|
||||
<string>/{3}[imgy]{0,4}</string>
|
||||
<key>name</key>
|
||||
<string>string.regexp.coffee</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#interpolated_coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#embedded_comment</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>/(?![\s=/*+{}?]).*?[^\\]/[igmy]{0,4}(?![a-zA-Z0-9])</string>
|
||||
<key>name</key>
|
||||
<string>string.regexp.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(?x)
|
||||
\b(?<![\.\$])(
|
||||
break|by|catch|continue|else|finally|for|in|of|if|return|switch|
|
||||
then|throw|try|unless|when|while|until|loop|do|(?<=for)\s+own
|
||||
)(?!\s*:)\b
|
||||
</string>
|
||||
<key>name</key>
|
||||
<string>keyword.control.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(?x)
|
||||
and=|or=|!|%|&|\^|\*|\/|(\-)?\-(?!>)|\+\+|\+|~|==|=(?!>)|!=|<=|>=|<<=|>>=|
|
||||
>>>=|<>|<|>|!|&&|\.\.(\.)?|\?|\||\|\||\:|\*=|(?<!\()/=|%=|\+=|\-=|&=|
|
||||
\^=|\b(?<![\.\$])(instanceof|new|delete|typeof|and|or|is|isnt|not)\b
|
||||
</string>
|
||||
<key>name</key>
|
||||
<string>keyword.operator.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>captures</key>
|
||||
<dict>
|
||||
<key>1</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>variable.assignment.coffee</string>
|
||||
</dict>
|
||||
<key>4</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.separator.key-value</string>
|
||||
</dict>
|
||||
<key>5</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>keyword.operator.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>match</key>
|
||||
<string>([a-zA-Z\$_](\w|\$|\.)*\s*(?!\::)((:)|(=))(?!(\s*\(.*\))?\s*((=|-)>)))</string>
|
||||
<key>name</key>
|
||||
<string>variable.assignment.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>(?<=\s|^)([\[\{])(?=.*?[\]\}]\s+[:=])</string>
|
||||
<key>beginCaptures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>keyword.operator.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>end</key>
|
||||
<string>([\]\}]\s*[:=])</string>
|
||||
<key>endCaptures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>keyword.operator.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>name</key>
|
||||
<string>meta.variable.assignment.destructured.coffee</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#variable_name</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#instance_variable</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#single_quoted_string</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#double_quoted_string</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#numeric</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>captures</key>
|
||||
<dict>
|
||||
<key>2</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>entity.name.function.coffee</string>
|
||||
</dict>
|
||||
<key>3</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>entity.name.function.coffee</string>
|
||||
</dict>
|
||||
<key>4</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>variable.parameter.function.coffee</string>
|
||||
</dict>
|
||||
<key>5</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>storage.type.function.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>match</key>
|
||||
<string>(?x)
|
||||
(\s*)
|
||||
(?=[a-zA-Z\$_])
|
||||
(
|
||||
[a-zA-Z\$_](\w|\$|:|\.)*\s*
|
||||
(?=[:=](\s*\(.*\))?\s*([=-]>))
|
||||
)
|
||||
</string>
|
||||
<key>name</key>
|
||||
<string>meta.function.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>[=-]></string>
|
||||
<key>name</key>
|
||||
<string>storage.type.function.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\b(?<!\.)(true|on|yes)(?!\s*[:=])\b</string>
|
||||
<key>name</key>
|
||||
<string>constant.language.boolean.true.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\b(?<!\.)(false|off|no)(?!\s*[:=])\b</string>
|
||||
<key>name</key>
|
||||
<string>constant.language.boolean.false.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\b(?<!\.)null(?!\s*[:=])\b</string>
|
||||
<key>name</key>
|
||||
<string>constant.language.null.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\b(?<!\.)(super|this|extends)(?!\s*[:=])\b</string>
|
||||
<key>name</key>
|
||||
<string>variable.language.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>captures</key>
|
||||
<dict>
|
||||
<key>1</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>storage.type.class.coffee</string>
|
||||
</dict>
|
||||
<key>2</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>entity.name.type.class.coffee</string>
|
||||
</dict>
|
||||
<key>3</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>keyword.control.inheritance.coffee</string>
|
||||
</dict>
|
||||
<key>4</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>entity.other.inherited-class.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>match</key>
|
||||
<string>(class\b)\s+(@?[a-zA-Z\$_][\w\.]*)?(?:\s+(extends)\s+(@?[a-zA-Z\$\._][\w\.]*))?</string>
|
||||
<key>name</key>
|
||||
<string>meta.class.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\b(debugger|\\)\b</string>
|
||||
<key>name</key>
|
||||
<string>keyword.other.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(?x)\b(
|
||||
Array|ArrayBuffer|Blob|Boolean|Date|document|event|Function|
|
||||
Int(8|16|32|64)Array|Math|Map|Number|
|
||||
Object|Proxy|RegExp|Set|String|WeakMap|
|
||||
window|Uint(8|16|32|64)Array|XMLHttpRequest
|
||||
)\b</string>
|
||||
<key>name</key>
|
||||
<string>support.class.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\b(console)\b</string>
|
||||
<key>name</key>
|
||||
<string>entity.name.type.object.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>((?<=console\.)(debug|warn|info|log|error|time|timeEnd|assert))\b</string>
|
||||
<key>name</key>
|
||||
<string>support.function.console.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(?x)\b(
|
||||
decodeURI(Component)?|encodeURI(Component)?|eval|parse(Float|Int)|require
|
||||
)\b</string>
|
||||
<key>name</key>
|
||||
<string>support.function.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(?x)((?<=\.)(
|
||||
apply|call|concat|every|filter|forEach|from|hasOwnProperty|indexOf|
|
||||
isPrototypeOf|join|lastIndexOf|map|of|pop|propertyIsEnumerable|push|
|
||||
reduce(Right)?|reverse|shift|slice|some|sort|splice|to(Locale)?String|
|
||||
unshift|valueOf
|
||||
))\b</string>
|
||||
<key>name</key>
|
||||
<string>support.function.method.array.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(?x)((?<=Array\.)(
|
||||
isArray
|
||||
))\b</string>
|
||||
<key>name</key>
|
||||
<string>support.function.static.array.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(?x)((?<=Object\.)(
|
||||
create|definePropert(ies|y)|freeze|getOwnProperty(Descriptors?|Names)|
|
||||
getProperty(Descriptor|Names)|getPrototypeOf|is(Extensible|Frozen|Sealed)?|
|
||||
isnt|keys|preventExtensions|seal
|
||||
))\b</string>
|
||||
<key>name</key>
|
||||
<string>support.function.static.object.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(?x)((?<=Math\.)(
|
||||
abs|acos|acosh|asin|asinh|atan|atan2|atanh|ceil|cos|cosh|exp|expm1|floor|
|
||||
hypot|log|log10|log1p|log2|max|min|pow|random|round|sign|sin|sinh|sqrt|
|
||||
tan|tanh|trunc
|
||||
))\b</string>
|
||||
<key>name</key>
|
||||
<string>support.function.static.math.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(?x)((?<=Number\.)(
|
||||
is(Finite|Integer|NaN)|toInteger
|
||||
))\b</string>
|
||||
<key>name</key>
|
||||
<string>support.function.static.number.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\b(Infinity|NaN|undefined)\b</string>
|
||||
<key>name</key>
|
||||
<string>constant.language.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\;</string>
|
||||
<key>name</key>
|
||||
<string>punctuation.terminator.statement.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>,[ |\t]*</string>
|
||||
<key>name</key>
|
||||
<string>meta.delimiter.object.comma.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\.</string>
|
||||
<key>name</key>
|
||||
<string>meta.delimiter.method.period.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\{|\}</string>
|
||||
<key>name</key>
|
||||
<string>meta.brace.curly.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\(|\)</string>
|
||||
<key>name</key>
|
||||
<string>meta.brace.round.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\[|\]\s*</string>
|
||||
<key>name</key>
|
||||
<string>meta.brace.square.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#instance_variable</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#single_quoted_string</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#double_quoted_string</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#numeric</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>repository</key>
|
||||
<dict>
|
||||
<key>double_quoted_string</key>
|
||||
<dict>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>"</string>
|
||||
<key>beginCaptures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.definition.string.begin.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>end</key>
|
||||
<string>"</string>
|
||||
<key>endCaptures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.definition.string.end.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>name</key>
|
||||
<string>string.quoted.double.coffee</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\\(x\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)</string>
|
||||
<key>name</key>
|
||||
<string>constant.character.escape.coffee</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>#interpolated_coffee</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<key>embedded_comment</key>
|
||||
<dict>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>captures</key>
|
||||
<dict>
|
||||
<key>1</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.definition.comment.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>match</key>
|
||||
<string>(?<!\\)(#).*$\n?</string>
|
||||
<key>name</key>
|
||||
<string>comment.line.number-sign.coffee</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<key>instance_variable</key>
|
||||
<dict>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(@)([a-zA-Z_\$]\w*)?</string>
|
||||
<key>name</key>
|
||||
<string>variable.other.readwrite.instance.coffee</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<key>interpolated_coffee</key>
|
||||
<dict>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>\#\{</string>
|
||||
<key>captures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.section.embedded.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>end</key>
|
||||
<string>\}</string>
|
||||
<key>name</key>
|
||||
<string>source.coffee.embedded.source</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>include</key>
|
||||
<string>$self</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<key>numeric</key>
|
||||
<dict>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>(?<!\$)\b((0([box])[0-9a-fA-F]+)|([0-9]+(\.[0-9]+)?(e[+\-]?[0-9]+)?))\b</string>
|
||||
<key>name</key>
|
||||
<string>constant.numeric.coffee</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<key>single_quoted_string</key>
|
||||
<dict>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>'</string>
|
||||
<key>beginCaptures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.definition.string.begin.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>end</key>
|
||||
<string>'</string>
|
||||
<key>endCaptures</key>
|
||||
<dict>
|
||||
<key>0</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>punctuation.definition.string.end.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>name</key>
|
||||
<string>string.quoted.single.coffee</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\\(x\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)</string>
|
||||
<key>name</key>
|
||||
<string>constant.character.escape.coffee</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<key>variable_name</key>
|
||||
<dict>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>captures</key>
|
||||
<dict>
|
||||
<key>1</key>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>variable.assignment.coffee</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>match</key>
|
||||
<string>([a-zA-Z\$_]\w*(\.\w+)*)</string>
|
||||
<key>name</key>
|
||||
<string>variable.assignment.coffee</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>scopeName</key>
|
||||
<string>source.coffee</string>
|
||||
<key>uuid</key>
|
||||
<string>5B520980-A7D5-4E10-8582-1A4C889A8DE5</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,114 +0,0 @@
|
||||
<?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>mainMenu</key>
|
||||
<dict>
|
||||
<key>items</key>
|
||||
<array>
|
||||
<string>D77D67C9-7BA6-4B42-A563-2E2416DEEB53</string>
|
||||
<string>E11D7545-67B4-4191-8012-756E2C9AD382</string>
|
||||
<string>5786C9CC-C7ED-46FA-9D0B-069E52DAF268</string>
|
||||
<string>1C7FD768-1DEA-4825-8220-FACA8D507E80</string>
|
||||
</array>
|
||||
<key>submenus</key>
|
||||
<dict>
|
||||
<key>1C7FD768-1DEA-4825-8220-FACA8D507E80</key>
|
||||
<dict>
|
||||
<key>items</key>
|
||||
<array>
|
||||
<string>F08537AF-4F02-4040-999D-F0785CF64C02</string>
|
||||
<string>C4F99E3D-1540-4BC1-8038-0A19D65BABC8</string>
|
||||
<string>68A86250-0280-11E0-A976-0800200C9A66</string>
|
||||
<string>EE3293A5-3761-40BD-9CA8-DAAA176AA19E</string>
|
||||
<string>422A59E7-FC36-4E99-B01C-6353515BB544</string>
|
||||
<string>8A65E175-18F2-428F-A695-73E01139E41A</string>
|
||||
<string>C04ED189-6ACB-44E6-AD5B-911B760AD1CC</string>
|
||||
<string>FBC44B18-323A-4C00-A35B-15E41830C5AD</string>
|
||||
</array>
|
||||
<key>name</key>
|
||||
<string>Other</string>
|
||||
</dict>
|
||||
<key>5786C9CC-C7ED-46FA-9D0B-069E52DAF268</key>
|
||||
<dict>
|
||||
<key>items</key>
|
||||
<array>
|
||||
<string>192428A1-8684-4172-8728-225B4C9E532F</string>
|
||||
<string>F2E2E79A-A85D-471D-9847-72AE40205942</string>
|
||||
<string>20BDC055-ED67-4D0E-A47F-ADAA828EFF2B</string>
|
||||
<string>2D4AC0B4-47AA-4E38-9A11-09A48C2A9439</string>
|
||||
<string>9D126CC5-EA14-4A40-B6D3-6A5FC1AC1420</string>
|
||||
<string>FA6AB9BF-3444-4A8C-B010-C95C2CF5BAB3</string>
|
||||
<string>E0F8E45A-9262-4DD6-ADFF-B5B9D6CE99C2</string>
|
||||
<string>3931A7C6-F1FB-484F-82D1-26F5A8F779D0</string>
|
||||
<string>765ACBD3-380A-4CF8-9111-345A36A0DAE7</string>
|
||||
<string>CAFB0DED-5E23-4A84-AC20-87FBAF22DBAC</string>
|
||||
</array>
|
||||
<key>name</key>
|
||||
<string>Constructs</string>
|
||||
</dict>
|
||||
<key>D77D67C9-7BA6-4B42-A563-2E2416DEEB53</key>
|
||||
<dict>
|
||||
<key>items</key>
|
||||
<array>
|
||||
<string>30395DAB-44A6-44F7-99E1-02D64621303A</string>
|
||||
<string>D749F761-1740-4918-9490-90DF376BA72E</string>
|
||||
<string>90424631-D00B-448C-B157-DAC92DFB2858</string>
|
||||
</array>
|
||||
<key>name</key>
|
||||
<string>Run</string>
|
||||
</dict>
|
||||
<key>E11D7545-67B4-4191-8012-756E2C9AD382</key>
|
||||
<dict>
|
||||
<key>items</key>
|
||||
<array>
|
||||
<string>F4FDFB3A-71EF-48A4-93F4-178B949546B1</string>
|
||||
<string>2AD19F12-E499-4715-9A47-FC8D594BC550</string>
|
||||
<string>EA8F5EDB-6E1E-4C36-9CA5-12B108F1A7C9</string>
|
||||
<string>CF0B4684-E4CB-4E10-8C25-4D15400C3385</string>
|
||||
<string>E561AECD-5933-4F59-A6F7-FA96E1203606</string>
|
||||
</array>
|
||||
<key>name</key>
|
||||
<string>Control</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>name</key>
|
||||
<string>CoffeeScript</string>
|
||||
<key>ordering</key>
|
||||
<array>
|
||||
<string>5B520980-A7D5-4E10-8582-1A4C889A8DE5</string>
|
||||
<string>0A92C6F6-4D73-4859-B38C-4CC19CBC191F</string>
|
||||
<string>419D24D8-0DD6-4D9A-8CA0-6D9CD740BEEC</string>
|
||||
<string>B087AF2F-8946-4EA9-8409-49E7C4A2EEF0</string>
|
||||
<string>C5D6C716-12FE-4CE8-A916-6CABEDE8AFE7</string>
|
||||
<string>EE3293A5-3761-40BD-9CA8-DAAA176AA19E</string>
|
||||
<string>192428A1-8684-4172-8728-225B4C9E532F</string>
|
||||
<string>30395DAB-44A6-44F7-99E1-02D64621303A</string>
|
||||
<string>D749F761-1740-4918-9490-90DF376BA72E</string>
|
||||
<string>90424631-D00B-448C-B157-DAC92DFB2858</string>
|
||||
<string>F08537AF-4F02-4040-999D-F0785CF64C02</string>
|
||||
<string>C4F99E3D-1540-4BC1-8038-0A19D65BABC8</string>
|
||||
<string>F2E2E79A-A85D-471D-9847-72AE40205942</string>
|
||||
<string>20BDC055-ED67-4D0E-A47F-ADAA828EFF2B</string>
|
||||
<string>F4FDFB3A-71EF-48A4-93F4-178B949546B1</string>
|
||||
<string>2AD19F12-E499-4715-9A47-FC8D594BC550</string>
|
||||
<string>EA8F5EDB-6E1E-4C36-9CA5-12B108F1A7C9</string>
|
||||
<string>CF0B4684-E4CB-4E10-8C25-4D15400C3385</string>
|
||||
<string>E561AECD-5933-4F59-A6F7-FA96E1203606</string>
|
||||
<string>2D4AC0B4-47AA-4E38-9A11-09A48C2A9439</string>
|
||||
<string>9D126CC5-EA14-4A40-B6D3-6A5FC1AC1420</string>
|
||||
<string>FA6AB9BF-3444-4A8C-B010-C95C2CF5BAB3</string>
|
||||
<string>E0F8E45A-9262-4DD6-ADFF-B5B9D6CE99C2</string>
|
||||
<string>3931A7C6-F1FB-484F-82D1-26F5A8F779D0</string>
|
||||
<string>765ACBD3-380A-4CF8-9111-345A36A0DAE7</string>
|
||||
<string>CAFB0DED-5E23-4A84-AC20-87FBAF22DBAC</string>
|
||||
<string>422A59E7-FC36-4E99-B01C-6353515BB544</string>
|
||||
<string>8A65E175-18F2-428F-A695-73E01139E41A</string>
|
||||
<string>C04ED189-6ACB-44E6-AD5B-911B760AD1CC</string>
|
||||
<string>FBC44B18-323A-4C00-A35B-15E41830C5AD</string>
|
||||
</array>
|
||||
<key>uuid</key>
|
||||
<string>A46E4382-F1AC-405B-8F22-65FF470F34D7</string>
|
||||
</dict>
|
||||
</plist>
|
1
bundles/Readme.md
Normal file
1
bundles/Readme.md
Normal file
@ -0,0 +1 @@
|
||||
For best results use bundles from https://github.com/textmate
|
@ -1,40 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//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 = 'Completions'
|
||||
choices = []
|
||||
|
||||
parsed_choices = TextmateCompletionsParser.new(nil, :scope => :css).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, :scope => :css).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</string>
|
||||
<key>output</key>
|
||||
<string>insertAsSnippet</string>
|
||||
<key>scope</key>
|
||||
<string>source.css -meta.property-list</string>
|
||||
<key>uuid</key>
|
||||
<string>E6FB4209-818E-40F5-9AFF-96E204F52A11</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,40 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//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 => :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.css meta.property-value</string>
|
||||
<key>uuid</key>
|
||||
<string>35DFB6D6-E48B-4907-9030-019904DA0C5B</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,29 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//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"
|
||||
TextmateCodeCompletion.plist('Property Completions')
|
||||
</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>line</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>~</string>
|
||||
<key>name</key>
|
||||
<string>CodeCompletion CSS Properties</string>
|
||||
<key>output</key>
|
||||
<string>insertAsSnippet</string>
|
||||
<key>scope</key>
|
||||
<string>source.css meta.property-list -meta.property-value, source.css meta.property-value punctuation.separator.key-value</string>
|
||||
<key>uuid</key>
|
||||
<string>42E26C97-72AB-4953-807F-645AF7EDF59F</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,182 +0,0 @@
|
||||
<?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>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
#
|
||||
# Lookup current word as a CSS property on w3c.org
|
||||
#
|
||||
# The mapping below was generated using:
|
||||
# echo '$props = {'; curl -s http://www.w3.org/TR/CSS2/propidx.html|egrep "(^|<tr><td>)<a href=\".*\" class=\"noxref\"><span class=\".*\">'.*'</span></a>"|perl -pe "s|(?:<tr><td>)?<a href=\"(.*)\" class=\"noxref\"><span class=\".*\">'(.*)'</span></a>|\t\"\$2\"\t=> \"\$1\",|"; echo '}'
|
||||
|
||||
$props = {
|
||||
"azimuth" => "aural.html#propdef-azimuth",
|
||||
"background" => "colors.html#propdef-background",
|
||||
"background-attachment" => "colors.html#propdef-background-attachment",
|
||||
"background-color" => "colors.html#propdef-background-color",
|
||||
"background-image" => "colors.html#propdef-background-image",
|
||||
"background-position" => "colors.html#propdef-background-position",
|
||||
"background-repeat" => "colors.html#propdef-background-repeat",
|
||||
"border" => "box.html#propdef-border",
|
||||
"border-collapse" => "tables.html#propdef-border-collapse",
|
||||
"border-color" => "box.html#propdef-border-color",
|
||||
"border-spacing" => "tables.html#propdef-border-spacing",
|
||||
"border-style" => "box.html#propdef-border-style",
|
||||
"border-top" => "box.html#propdef-border-top",
|
||||
"border-right" => "box.html#propdef-border-right",
|
||||
"border-bottom" => "box.html#propdef-border-bottom",
|
||||
"border-left" => "box.html#propdef-border-left",
|
||||
"border-top-color" => "box.html#propdef-border-top-color",
|
||||
"border-right-color" => "box.html#propdef-border-right-color",
|
||||
"border-bottom-color" => "box.html#propdef-border-bottom-color",
|
||||
"border-left-color" => "box.html#propdef-border-left-color",
|
||||
"border-top-style" => "box.html#propdef-border-top-style",
|
||||
"border-right-style" => "box.html#propdef-border-right-style",
|
||||
"border-bottom-style" => "box.html#propdef-border-bottom-style",
|
||||
"border-left-style" => "box.html#propdef-border-left-style",
|
||||
"border-top-width" => "box.html#propdef-border-top-width",
|
||||
"border-right-width" => "box.html#propdef-border-right-width",
|
||||
"border-bottom-width" => "box.html#propdef-border-bottom-width",
|
||||
"border-left-width" => "box.html#propdef-border-left-width",
|
||||
"border-width" => "box.html#propdef-border-width",
|
||||
"bottom" => "visuren.html#propdef-bottom",
|
||||
"caption-side" => "tables.html#propdef-caption-side",
|
||||
"clear" => "visuren.html#propdef-clear",
|
||||
"clip" => "visufx.html#propdef-clip",
|
||||
"color" => "colors.html#propdef-color",
|
||||
"content" => "generate.html#propdef-content",
|
||||
"counter-increment" => "generate.html#propdef-counter-increment",
|
||||
"counter-reset" => "generate.html#propdef-counter-reset",
|
||||
"cue" => "aural.html#propdef-cue",
|
||||
"cue-after" => "aural.html#propdef-cue-after",
|
||||
"cue-before" => "aural.html#propdef-cue-before",
|
||||
"cursor" => "ui.html#propdef-cursor",
|
||||
"direction" => "visuren.html#propdef-direction",
|
||||
"display" => "visuren.html#propdef-display",
|
||||
"elevation" => "aural.html#propdef-elevation",
|
||||
"empty-cells" => "tables.html#propdef-empty-cells",
|
||||
"float" => "visuren.html#propdef-float",
|
||||
"font" => "fonts.html#propdef-font",
|
||||
"font-family" => "fonts.html#propdef-font-family",
|
||||
"font-size" => "fonts.html#propdef-font-size",
|
||||
"font-size-adjust" => "fonts.html#propdef-font-size-adjust",
|
||||
"font-stretch" => "fonts.html#propdef-font-stretch",
|
||||
"font-style" => "fonts.html#propdef-font-style",
|
||||
"font-variant" => "fonts.html#propdef-font-variant",
|
||||
"font-weight" => "fonts.html#propdef-font-weight",
|
||||
"height" => "visudet.html#propdef-height",
|
||||
"left" => "visuren.html#propdef-left",
|
||||
"letter-spacing" => "text.html#propdef-letter-spacing",
|
||||
"line-height" => "visudet.html#propdef-line-height",
|
||||
"list-style" => "generate.html#propdef-list-style",
|
||||
"list-style-image" => "generate.html#propdef-list-style-image",
|
||||
"list-style-position" => "generate.html#propdef-list-style-position",
|
||||
"list-style-type" => "generate.html#propdef-list-style-type",
|
||||
"margin" => "box.html#propdef-margin",
|
||||
"margin-top" => "box.html#propdef-margin-top",
|
||||
"margin-right" => "box.html#propdef-margin-right",
|
||||
"margin-bottom" => "box.html#propdef-margin-bottom",
|
||||
"margin-left" => "box.html#propdef-margin-left",
|
||||
"marker-offset" => "generate.html#propdef-marker-offset",
|
||||
"marks" => "page.html#propdef-marks",
|
||||
"max-height" => "visudet.html#propdef-max-height",
|
||||
"max-width" => "visudet.html#propdef-max-width",
|
||||
"min-height" => "visudet.html#propdef-min-height",
|
||||
"min-width" => "visudet.html#propdef-min-width",
|
||||
"orphans" => "page.html#propdef-orphans",
|
||||
"outline" => "ui.html#propdef-outline",
|
||||
"outline-color" => "ui.html#propdef-outline-color",
|
||||
"outline-style" => "ui.html#propdef-outline-style",
|
||||
"outline-width" => "ui.html#propdef-outline-width",
|
||||
"overflow" => "visufx.html#propdef-overflow",
|
||||
"padding" => "box.html#propdef-padding",
|
||||
"padding-top" => "box.html#propdef-padding-top",
|
||||
"padding-right" => "box.html#propdef-padding-right",
|
||||
"padding-bottom" => "box.html#propdef-padding-bottom",
|
||||
"padding-left" => "box.html#propdef-padding-left",
|
||||
"page" => "page.html#propdef-page",
|
||||
"page-break-after" => "page.html#propdef-page-break-after",
|
||||
"page-break-before" => "page.html#propdef-page-break-before",
|
||||
"page-break-inside" => "page.html#propdef-page-break-inside",
|
||||
"pause" => "aural.html#propdef-pause",
|
||||
"pause-after" => "aural.html#propdef-pause-after",
|
||||
"pause-before" => "aural.html#propdef-pause-before",
|
||||
"pitch" => "aural.html#propdef-pitch",
|
||||
"pitch-range" => "aural.html#propdef-pitch-range",
|
||||
"play-during" => "aural.html#propdef-play-during",
|
||||
"position" => "visuren.html#propdef-position",
|
||||
"quotes" => "generate.html#propdef-quotes",
|
||||
"richness" => "aural.html#propdef-richness",
|
||||
"right" => "visuren.html#propdef-right",
|
||||
"size" => "page.html#propdef-size",
|
||||
"speak" => "aural.html#propdef-speak",
|
||||
"speak-header" => "tables.html#propdef-speak-header",
|
||||
"speak-numeral" => "aural.html#propdef-speak-numeral",
|
||||
"speak-punctuation" => "aural.html#propdef-speak-punctuation",
|
||||
"speech-rate" => "aural.html#propdef-speech-rate",
|
||||
"stress" => "aural.html#propdef-stress",
|
||||
"table-layout" => "tables.html#propdef-table-layout",
|
||||
"text-align" => "text.html#propdef-text-align",
|
||||
"text-decoration" => "text.html#propdef-text-decoration",
|
||||
"text-indent" => "text.html#propdef-text-indent",
|
||||
"text-shadow" => "text.html#propdef-text-shadow",
|
||||
"text-transform" => "text.html#propdef-text-transform",
|
||||
"top" => "visuren.html#propdef-top",
|
||||
"unicode-bidi" => "visuren.html#propdef-unicode-bidi",
|
||||
"vertical-align" => "visudet.html#propdef-vertical-align",
|
||||
"visibility" => "visufx.html#propdef-visibility",
|
||||
"voice-family" => "aural.html#propdef-voice-family",
|
||||
"volume" => "aural.html#propdef-volume",
|
||||
"white-space" => "text.html#propdef-white-space",
|
||||
"widows" => "page.html#propdef-widows",
|
||||
"width" => "visudet.html#propdef-width",
|
||||
"word-spacing" => "text.html#propdef-word-spacing",
|
||||
"z-index" => "visuren.html#propdef-z-index",
|
||||
}
|
||||
|
||||
cur_line = ENV['TM_CURRENT_LINE']
|
||||
cur_word = ENV['TM_CURRENT_WORD']
|
||||
|
||||
# since dash (‘-’) is not a word character, extend current word to neighboring word and dash characters
|
||||
$prop_name = /[-\w]*#{Regexp.escape cur_word}[-\w]*/.match(cur_line)[0]
|
||||
|
||||
def request_prop_name
|
||||
s = `\"#{ENV['TM_SUPPORT_PATH']}/bin/CocoaDialog.app/Contents/MacOS/CocoaDialog\" inputbox --float --title 'Documentation for Property' --informative-text 'What property would you like to lookup?' --text '#{$prop_name}' --button1 'Lookup' --button2 'Cancel' --button3 'Show All Properties'`
|
||||
case (a = s.split("\n"))[0].to_i
|
||||
when 1 then $props[a[1].to_s] || "propidx.html"
|
||||
when 2 then abort "<script>window.close()</script>"
|
||||
when 3 then "propidx.html"
|
||||
end
|
||||
end
|
||||
|
||||
prop_url = $props[$prop_name] || request_prop_name
|
||||
url = "http://www.w3.org/TR/CSS2/" + prop_url
|
||||
puts "<meta http-equiv='Refresh' content='0;URL=#{url}'>"
|
||||
</string>
|
||||
<key>input</key>
|
||||
<string>none</string>
|
||||
<key>inputFormat</key>
|
||||
<string>text</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^h</string>
|
||||
<key>name</key>
|
||||
<string>Documentation for Property</string>
|
||||
<key>outputCaret</key>
|
||||
<string>afterOutput</string>
|
||||
<key>outputFormat</key>
|
||||
<string>html</string>
|
||||
<key>outputLocation</key>
|
||||
<string>newWindow</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>semanticClass</key>
|
||||
<string>lookup.define.css</string>
|
||||
<key>uuid</key>
|
||||
<string>50AA6E95-A754-4EBC-9C2A-68418C70D689</string>
|
||||
<key>version</key>
|
||||
<integer>2</integer>
|
||||
</dict>
|
||||
</plist>
|
@ -1,204 +0,0 @@
|
||||
<?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>hideFromUser</key>
|
||||
<true/>
|
||||
<key>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
|
||||
require ENV['TM_SUPPORT_PATH'] + "/lib/ui"
|
||||
require ENV['TM_SUPPORT_PATH'] + "/lib/exit_codes"
|
||||
colour = STDIN.read
|
||||
|
||||
# http://www.w3schools.com/css/css_colornames.asp
|
||||
COLOURS = {
|
||||
'aliceblue' => 'F0F8FF',
|
||||
'antiquewhite' => 'FAEBD7',
|
||||
'aqua' => '00FFFF',
|
||||
'aquamarine' => '7FFFD4',
|
||||
'azure' => 'F0FFFF',
|
||||
'beige' => 'F5F5DC',
|
||||
'bisque' => 'FFE4C4',
|
||||
'black' => '000000',
|
||||
'blanchedalmond' => 'FFEBCD',
|
||||
'blue' => '0000FF',
|
||||
'blueviolet' => '8A2BE2',
|
||||
'brown' => 'A52A2A',
|
||||
'burlywood' => 'DEB887',
|
||||
'cadetblue' => '5F9EA0',
|
||||
'chartreuse' => '7FFF00',
|
||||
'chocolate' => 'D2691E',
|
||||
'coral' => 'FF7F50',
|
||||
'cornflowerblue' => '6495ED',
|
||||
'cornsilk' => 'FFF8DC',
|
||||
'crimson' => 'DC143C',
|
||||
'cyan' => '00FFFF',
|
||||
'darkblue' => '00008B',
|
||||
'darkcyan' => '008B8B',
|
||||
'darkgoldenrod' => 'B8860B',
|
||||
'darkgray' => 'A9A9A9',
|
||||
'darkgrey' => 'A9A9A9',
|
||||
'darkgreen' => '006400',
|
||||
'darkkhaki' => 'BDB76B',
|
||||
'darkmagenta' => '8B008B',
|
||||
'darkolivegreen' => '556B2F',
|
||||
'darkorange' => 'FF8C00',
|
||||
'darkorchid' => '9932CC',
|
||||
'darkred' => '8B0000',
|
||||
'darksalmon' => 'E9967A',
|
||||
'darkseagreen' => '8FBC8F',
|
||||
'darkslateblue' => '483D8B',
|
||||
'darkslategray' => '2F4F4F',
|
||||
'darkslategrey' => '2F4F4F',
|
||||
'darkturquoise' => '00CED1',
|
||||
'darkviolet' => '9400D3',
|
||||
'deeppink' => 'FF1493',
|
||||
'deepskyblue' => '00BFFF',
|
||||
'dimgray' => '696969',
|
||||
'dimgrey' => '696969',
|
||||
'dodgerblue' => '1E90FF',
|
||||
'firebrick' => 'B22222',
|
||||
'floralwhite' => 'FFFAF0',
|
||||
'forestgreen' => '228B22',
|
||||
'fuchsia' => 'FF00FF',
|
||||
'gainsboro' => 'DCDCDC',
|
||||
'ghostwhite' => 'F8F8FF',
|
||||
'gold' => 'FFD700',
|
||||
'goldenrod' => 'DAA520',
|
||||
'gray' => '808080',
|
||||
'grey' => '808080',
|
||||
'green' => '008000',
|
||||
'greenyellow' => 'ADFF2F',
|
||||
'honeydew' => 'F0FFF0',
|
||||
'hotpink' => 'FF69B4',
|
||||
'indianred' => 'CD5C5C',
|
||||
'indigo' => '4B0082',
|
||||
'ivory' => 'FFFFF0',
|
||||
'khaki' => 'F0E68C',
|
||||
'lavender' => 'E6E6FA',
|
||||
'lavenderblush' => 'FFF0F5',
|
||||
'lawngreen' => '7CFC00',
|
||||
'lemonchiffon' => 'FFFACD',
|
||||
'lightblue' => 'ADD8E6',
|
||||
'lightcoral' => 'F08080',
|
||||
'lightcyan' => 'E0FFFF',
|
||||
'lightgoldenrodyellow' => 'FAFAD2',
|
||||
'lightgray' => 'D3D3D3',
|
||||
'lightgrey' => 'D3D3D3',
|
||||
'lightgreen' => '90EE90',
|
||||
'lightpink' => 'FFB6C1',
|
||||
'lightsalmon' => 'FFA07A',
|
||||
'lightseagreen' => '20B2AA',
|
||||
'lightskyblue' => '87CEFA',
|
||||
'lightslategray' => '778899',
|
||||
'lightslategrey' => '778899',
|
||||
'lightsteelblue' => 'B0C4DE',
|
||||
'lightyellow' => 'FFFFE0',
|
||||
'lime' => '00FF00',
|
||||
'limegreen' => '32CD32',
|
||||
'linen' => 'FAF0E6',
|
||||
'magenta' => 'FF00FF',
|
||||
'maroon' => '800000',
|
||||
'mediumaquamarine' => '66CDAA',
|
||||
'mediumblue' => '0000CD',
|
||||
'mediumorchid' => 'BA55D3',
|
||||
'mediumpurple' => '9370D8',
|
||||
'mediumseagreen' => '3CB371',
|
||||
'mediumslateblue' => '7B68EE',
|
||||
'mediumspringgreen' => '00FA9A',
|
||||
'mediumturquoise' => '48D1CC',
|
||||
'mediumvioletred' => 'C71585',
|
||||
'midnightblue' => '191970',
|
||||
'mintcream' => 'F5FFFA',
|
||||
'mistyrose' => 'FFE4E1',
|
||||
'moccasin' => 'FFE4B5',
|
||||
'navajowhite' => 'FFDEAD',
|
||||
'navy' => '000080',
|
||||
'oldlace' => 'FDF5E6',
|
||||
'olive' => '808000',
|
||||
'olivedrab' => '6B8E23',
|
||||
'orange' => 'FFA500',
|
||||
'orangered' => 'FF4500',
|
||||
'orchid' => 'DA70D6',
|
||||
'palegoldenrod' => 'EEE8AA',
|
||||
'palegreen' => '98FB98',
|
||||
'paleturquoise' => 'AFEEEE',
|
||||
'palevioletred' => 'D87093',
|
||||
'papayawhip' => 'FFEFD5',
|
||||
'peachpuff' => 'FFDAB9',
|
||||
'peru' => 'CD853F',
|
||||
'pink' => 'FFC0CB',
|
||||
'plum' => 'DDA0DD',
|
||||
'powderblue' => 'B0E0E6',
|
||||
'purple' => '800080',
|
||||
'red' => 'FF0000',
|
||||
'rosybrown' => 'BC8F8F',
|
||||
'royalblue' => '4169E1',
|
||||
'saddlebrown' => '8B4513',
|
||||
'salmon' => 'FA8072',
|
||||
'sandybrown' => 'F4A460',
|
||||
'seagreen' => '2E8B57',
|
||||
'seashell' => 'FFF5EE',
|
||||
'sienna' => 'A0522D',
|
||||
'silver' => 'C0C0C0',
|
||||
'skyblue' => '87CEEB',
|
||||
'slateblue' => '6A5ACD',
|
||||
'slategray' => '708090',
|
||||
'slategrey' => '708090',
|
||||
'snow' => 'FFFAFA',
|
||||
'springgreen' => '00FF7F',
|
||||
'steelblue' => '4682B4',
|
||||
'tan' => 'D2B48C',
|
||||
'teal' => '008080',
|
||||
'thistle' => 'D8BFD8',
|
||||
'tomato' => 'FF6347',
|
||||
'turquoise' => '40E0D0',
|
||||
'violet' => 'EE82EE',
|
||||
'wheat' => 'F5DEB3',
|
||||
'white' => 'FFFFFF',
|
||||
'whitesmoke' => 'F5F5F5',
|
||||
'yellow' => 'FFFF00',
|
||||
'yellowgreen' => '9ACD32',
|
||||
}
|
||||
|
||||
if colour.length > 0 and colour[0] != ?#
|
||||
colour.downcase!
|
||||
# Convert named colours to their hex values
|
||||
colour = '#' + COLOURS[colour] if COLOURS.has_key? colour
|
||||
end
|
||||
|
||||
if res = TextMate::UI.request_color(colour)
|
||||
print res
|
||||
else
|
||||
TextMate.exit_discard
|
||||
end
|
||||
</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>word</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>inputFormat</key>
|
||||
<string>text</string>
|
||||
<key>isDisabled</key>
|
||||
<true/>
|
||||
<key>keyEquivalent</key>
|
||||
<string>@C</string>
|
||||
<key>name</key>
|
||||
<string>Insert Color…</string>
|
||||
<key>outputCaret</key>
|
||||
<string>heuristic</string>
|
||||
<key>outputFormat</key>
|
||||
<string>text</string>
|
||||
<key>outputLocation</key>
|
||||
<string>replaceInput</string>
|
||||
<key>scope</key>
|
||||
<string>source.css, meta.tag string.quoted -source</string>
|
||||
<key>uuid</key>
|
||||
<string>CC30D708-6E49-11D9-B411-000D93589AF6</string>
|
||||
<key>version</key>
|
||||
<integer>2</integer>
|
||||
</dict>
|
||||
</plist>
|
@ -1,277 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//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>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
|
||||
LIPSUM = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
|
||||
|
||||
def tag_preview(selector_list)
|
||||
html = 'TEXT_INSERT'
|
||||
selectors = selector_list.split(/\s+/)
|
||||
last_tag = ''
|
||||
text_insert = "Generated preview for CSS selector #{selector_list}."
|
||||
|
||||
star_class = ''
|
||||
star_id = ''
|
||||
html_class = ''
|
||||
html_id = ''
|
||||
body_class = ''
|
||||
body_id = ''
|
||||
|
||||
selectors.reverse.each do | selector |
|
||||
singlet = false
|
||||
tag = selector.clone
|
||||
if (tag =~ /#(.+)/)
|
||||
id = (tag.scan(/#(.+)/))[0][0]
|
||||
id.gsub!(/\..+/, '')
|
||||
else
|
||||
id = nil
|
||||
end
|
||||
if (tag =~ /\.(.+)/)
|
||||
cls = (tag.scan(/\.(.+)/))[0][0]
|
||||
cls.gsub!(/\./, ' ')
|
||||
cls.gsub!(/\#.+/, '')
|
||||
else
|
||||
cls = nil
|
||||
end
|
||||
|
||||
tag.downcase!
|
||||
tag.sub!(/#(.+)/, '');
|
||||
tag.sub!(/\.(.+)/, '');
|
||||
tag.sub!(/:.+/, '')
|
||||
|
||||
case tag
|
||||
when '*'
|
||||
star_class = " #{cls}" if cls
|
||||
star_id = " id=\"#{id}\"" if id
|
||||
cls = nil
|
||||
id = nil
|
||||
tag = 'div'
|
||||
when 'body'
|
||||
body_class = " #{cls}" if cls
|
||||
body_id = " id=\"#{id}\"" if id
|
||||
cls = nil
|
||||
id = nil
|
||||
tag = 'div'
|
||||
when 'html'
|
||||
html_class = " #{cls}" if cls
|
||||
html_id = " id=\"#{id}\"" if id
|
||||
cls = nil
|
||||
id = nil
|
||||
tag = 'div'
|
||||
end
|
||||
|
||||
next if tag == '+'
|
||||
|
||||
if selector =~ /^[#.]/
|
||||
case last_tag
|
||||
when 'li'
|
||||
tag = 'ul'
|
||||
when 'td'
|
||||
tag = 'tr'
|
||||
when 'tr'
|
||||
tag = 'table'
|
||||
when /^h\d/
|
||||
tag = 'div'
|
||||
else
|
||||
tag = 'span'
|
||||
end
|
||||
end
|
||||
|
||||
if (tag =~ /\[(.+?)\]/)
|
||||
tag_attr = (tag.scan(/\[(.+?)\]/))[0][0]
|
||||
tag.gsub!(/\[.+?\]/, '')
|
||||
else
|
||||
tag_attr = nil
|
||||
end
|
||||
part = "<" + tag
|
||||
part += " #{tag_attr}" if tag_attr
|
||||
part += " id=\"#{id}\"" if id
|
||||
part += " class=\"#{cls}\"" if cls
|
||||
|
||||
# defaults for img tag
|
||||
case tag
|
||||
when 'img'
|
||||
part += " src=\"http://www.google.com/intl/en/images/logo.gif\""
|
||||
part += " alt=\"Preview of #{selector_list}\""
|
||||
singlet = true
|
||||
when 'a'
|
||||
part += " href=\"\#\""
|
||||
when 'input'
|
||||
open_tag = part.clone
|
||||
part += " type=\"radio\" /> Radio"
|
||||
part += "#{open_tag} type=\"checkbox\" /> Checkbox<br />"
|
||||
part += "#{open_tag} type=\"text\" value=\"Text Field\" />"
|
||||
part += "#{open_tag} type=\"button\" value=\"Button\""
|
||||
singlet = true
|
||||
when 'select'
|
||||
part += "><option>Option 1</option><option>Option 2</option"
|
||||
html = ''
|
||||
end
|
||||
|
||||
if (singlet)
|
||||
part += " />"
|
||||
else
|
||||
part += ">"
|
||||
part += html
|
||||
part += "</" + tag + ">"
|
||||
end
|
||||
|
||||
case tag
|
||||
when /^h\d/
|
||||
text_insert = tag.sub(/^h(\d+)/, "Heading \\1")
|
||||
when 'p'
|
||||
text_insert = LIPSUM
|
||||
when 'object', 'img', 'input'
|
||||
text_insert = ""
|
||||
end
|
||||
|
||||
html = part
|
||||
last_tag = tag
|
||||
end
|
||||
|
||||
if (last_tag)
|
||||
case last_tag
|
||||
when 'em', 'strong', 'b', 'i'
|
||||
html = "<p>#{html}</p>"
|
||||
when 'li'
|
||||
html = "<ul>#{html}</ul>"
|
||||
when 'td'
|
||||
html = "<table><tr>#{html}</tr></table>"
|
||||
when 'tr'
|
||||
html = "<table>#{html}</table>"
|
||||
when 'input', 'textarea', 'select'
|
||||
html = "<form method=\"get\">#{html}</form>"
|
||||
end
|
||||
end
|
||||
|
||||
html = "<div>#{html}</div>"
|
||||
html.sub!(/TEXT_INSERT/, text_insert)
|
||||
|
||||
return <<EOT
|
||||
<div class="__wrap_wrap"><div class="__star_wrap#{star_class}"#{star_id}><div class="__html_wrap#{html_class}"#{html_id}><div class="__body_wrap#{body_class}"#{body_id}>#{html}</div></div></div></div>
|
||||
EOT
|
||||
end
|
||||
|
||||
def preview_css(str)
|
||||
orig_css = str.clone
|
||||
orig_css.gsub!(/<entity\.name\.tag\.wildcard\.css>\*<\/entity\.name\.tag\.wildcard\.css>/, '.__star_wrap')
|
||||
orig_css.gsub!(/<entity\.name\.tag\.css>body<\/entity\.name\.tag\.css>/, '.__body_wrap')
|
||||
orig_css.gsub!(/<entity\.name\.tag\.css>html<\/entity\.name\.tag\.css>/, '.__html_wrap')
|
||||
|
||||
orig_css.gsub!(/<.+?>/, '')
|
||||
orig_css.gsub!(/&lt;\/?style\b.*?&gt;/m, '')
|
||||
orig_css.strip!
|
||||
|
||||
#meta.selector.css -> wraps the selector
|
||||
#meta.property-list.css -> wraps the properties
|
||||
rules = str.scan(/<meta\.selector\.css>\s*(.+?)\s*<\/meta\.selector\.css>.*?<meta\.property-list\.css>(.+?)<\/meta\.property-list\.css>/m)
|
||||
|
||||
html = ''
|
||||
css = ''
|
||||
rule_num = 0
|
||||
|
||||
rules.each do | rule |
|
||||
selector = rule[0].gsub(/<.+?>/, '')
|
||||
styles = rule[1].gsub(/<.+?>/, '')
|
||||
styles.gsub!(/^\s*\{\n*/m, '')
|
||||
styles.gsub!(/\s*\}\s*$/m, '')
|
||||
styles.gsub!(/\t/, ' ' * ENV['TM_TAB_SIZE'].to_i)
|
||||
selectors = selector.split(/\s*,\s*/m)
|
||||
selectors.each do | single_selector |
|
||||
rule_num += 1
|
||||
html += "<div class=\"__rule_clear\"></div>\n\n" if html != ''
|
||||
html += "<div class=\"__rule_selector\">#{single_selector} <a class=\"__view_link\" href=\"javascript:viewCSS('__rule#{rule_num}')\" title=\"Click to toggle CSS view\">CSS</a><div class=\"__rule\" id=\"__rule#{rule_num}\" style=\"display: none\">#{styles}</div></div>\n\n"
|
||||
html += tag_preview(single_selector) + "\n\n"
|
||||
end
|
||||
end
|
||||
|
||||
filename = ENV['TM_FILENAME'] || 'untitled'
|
||||
base = ''
|
||||
base = "<base href=\"file://#{ENV['TM_FILEPATH']}\" />" if ENV['TM_FILEPATH']
|
||||
|
||||
return <<EOT
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
#{base}
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Language" content="en-us" />
|
||||
<title>CSS Preview for #{filename}</title>
|
||||
<style type="text/css">
|
||||
#{orig_css}
|
||||
.__wrap_wrap {
|
||||
position: relative;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 20px;
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
.__rule_selector {
|
||||
font-family: Times;
|
||||
font-size: 16px;
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
.__rule {
|
||||
white-space: pre;
|
||||
word-wrap: break-word;
|
||||
font-family: Monaco;
|
||||
font-size: 11px;
|
||||
}
|
||||
.__view_link {
|
||||
font-family: Monaco;
|
||||
font-size: 11px;
|
||||
}
|
||||
.__rule_clear:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
function viewCSS(rule_id) {
|
||||
var el = document.getElementById(rule_id);
|
||||
if (el) {
|
||||
if (el.style.display == 'none')
|
||||
el.style.display = 'block';
|
||||
else
|
||||
el.style.display = 'none';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
#{html}
|
||||
</body>
|
||||
</html>
|
||||
EOT
|
||||
end
|
||||
|
||||
print preview_css(STDIN.read)
|
||||
</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>scope</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>inputFormat</key>
|
||||
<string>xml</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^~@p</string>
|
||||
<key>name</key>
|
||||
<string>Preview</string>
|
||||
<key>output</key>
|
||||
<string>showAsHTML</string>
|
||||
<key>scope</key>
|
||||
<string>source.css - text.html</string>
|
||||
<key>uuid</key>
|
||||
<string>05554FE0-4A70-4F3E-81C5-72855D7EB428</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,44 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//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>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
|
||||
print '<html><head><meta http-equiv="Refresh" content="0; URL='
|
||||
print 'http://jigsaw.w3.org/css-validator/validator?warning=1&profile=none&usermedium=all&text='
|
||||
|
||||
scope = STDIN.read
|
||||
|
||||
scope.gsub!(/<\/?style.*?>/, '')
|
||||
|
||||
((scope != nil && scope.size > 0) ? scope : $< ).each_byte do |b|
|
||||
|
||||
if b == 32
|
||||
print '+'
|
||||
elsif b.chr =~ /\w/
|
||||
print b.chr
|
||||
else
|
||||
printf '%%%02x', b
|
||||
end
|
||||
end
|
||||
|
||||
puts '#errors"></head><body></body></html>'</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>scope</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^V</string>
|
||||
<key>name</key>
|
||||
<string>Validate CSS</string>
|
||||
<key>output</key>
|
||||
<string>showAsHTML</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>uuid</key>
|
||||
<string>45E5E5A1-84CC-11D9-970D-0011242E4184</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,42 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>bundleUUID</key>
|
||||
<string>4675F24E-6227-11D9-BFB1-000D93589AF6</string>
|
||||
<key>command</key>
|
||||
<string>if echo "$TM_SCOPE" | grep -q meta.property-list.css
|
||||
then
|
||||
if echo "$TM_SCOPE" | grep -q meta.property-value.css
|
||||
then
|
||||
if echo "$TM_CURRENT_WORD" | grep -q url\(\)
|
||||
then echo -n "'$TM_DROPPED_FILE'"
|
||||
elif echo "$TM_SCOPE" | grep -q string.quoted.single.css
|
||||
then echo -n "$TM_DROPPED_FILE"
|
||||
else
|
||||
echo -n "url('$TM_DROPPED_FILE')"
|
||||
fi
|
||||
else
|
||||
echo -ne "background:\${1: #\${2:DDD}} url('$TM_DROPPED_FILE')\${3: \${4:repeat/repeat-x/repeat-y/no-repeat} \${5:scroll/fixed} \${6:top/center/bottom/x-%/x-pos} \${7:left/center/right/y-%/y-pos}};\n\$0"
|
||||
fi
|
||||
else
|
||||
echo -ne "\${1:#selector} {\n background: url('$TM_DROPPED_FILE')\${3: \${4:no-repeat} \${5:scroll} \${6:top} \${7:left}};\n"
|
||||
sips -g pixelWidth -g pixelHeight "$TM_DROPPED_FILE"|awk '/pixelWidth/ { printf(" width: %dpx;\n", $2) } /pixelHeight/ { printf(" height: %dpx;\n}\$0", $2) }'
|
||||
fi</string>
|
||||
<key>draggedFileExtensions</key>
|
||||
<array>
|
||||
<string>png</string>
|
||||
<string>jpeg</string>
|
||||
<string>jpg</string>
|
||||
<string>gif</string>
|
||||
</array>
|
||||
<key>name</key>
|
||||
<string>Insert Image URL</string>
|
||||
<key>output</key>
|
||||
<string>insertAsSnippet</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>uuid</key>
|
||||
<string>6ED38063-8791-41BB-9F9F-F9EA378B1526</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,190 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>commands</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>\n+</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>\n</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>[ \t]+</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string> </string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>(?m)([;:])\s+</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>$1</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>\s*}\s*</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>}\n</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>\s*{\s*</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>{</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>[ \t]*,[ \t]*</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>,</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>^\s+</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^~q</string>
|
||||
<key>name</key>
|
||||
<string>Format CSS Compressed</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>uuid</key>
|
||||
<string>3556C0BE-73B3-45CE-8C9C-7B3AA3BB038B</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,100 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>commands</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>(?m)({|;)\s*([-\w]+:)\s*(?=\S)</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>$1\n$2 </string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>(?m)\s*}[ \t]*\n?</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>\n}\n</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>(?m)\s*{[ \t]*</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string> {</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>command</key>
|
||||
<string>alignLeft:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>command</key>
|
||||
<string>indent:</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^q</string>
|
||||
<key>name</key>
|
||||
<string>Format CSS</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>uuid</key>
|
||||
<string>64180C76-8C8D-4F29-82BE-6096BE1B14D8</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,36 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Comments</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>shellVariables</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>TM_COMMENT_START</string>
|
||||
<key>value</key>
|
||||
<string>/*</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>TM_COMMENT_END</string>
|
||||
<key>value</key>
|
||||
<string>*/</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>TM_COMMENT_DISABLE_INDENT</string>
|
||||
<key>value</key>
|
||||
<string>yes</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>375CF370-8A7B-450A-895C-FD18B47957E2</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,102 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Completions</string>
|
||||
<key>scope</key>
|
||||
<string>source.css -meta.property-list</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>completions</key>
|
||||
<array>
|
||||
<string>*</string>
|
||||
<string>#</string>
|
||||
<string>.</string>
|
||||
<string>a</string>
|
||||
<string>abbr</string>
|
||||
<string>acronym</string>
|
||||
<string>address</string>
|
||||
<string>area</string>
|
||||
<string>b</string>
|
||||
<string>base</string>
|
||||
<string>big</string>
|
||||
<string>blockquote</string>
|
||||
<string>body</string>
|
||||
<string>br</string>
|
||||
<string>button</string>
|
||||
<string>caption</string>
|
||||
<string>cite</string>
|
||||
<string>code</string>
|
||||
<string>col</string>
|
||||
<string>colgroup</string>
|
||||
<string>dd</string>
|
||||
<string>del</string>
|
||||
<string>dfn</string>
|
||||
<string>div</string>
|
||||
<string>dl</string>
|
||||
<string>dt</string>
|
||||
<string>em</string>
|
||||
<string>fieldset</string>
|
||||
<string>form</string>
|
||||
<string>frame</string>
|
||||
<string>frameset</string>
|
||||
<string>h1</string>
|
||||
<string>h2</string>
|
||||
<string>h3</string>
|
||||
<string>h4</string>
|
||||
<string>h5</string>
|
||||
<string>h6</string>
|
||||
<string>head</string>
|
||||
<string>hr</string>
|
||||
<string>html</string>
|
||||
<string>i</string>
|
||||
<string>iframe</string>
|
||||
<string>img</string>
|
||||
<string>input</string>
|
||||
<string>ins</string>
|
||||
<string>kbd</string>
|
||||
<string>label</string>
|
||||
<string>legend</string>
|
||||
<string>li</string>
|
||||
<string>link</string>
|
||||
<string>map</string>
|
||||
<string>meta</string>
|
||||
<string>noframes</string>
|
||||
<string>noscript</string>
|
||||
<string>object</string>
|
||||
<string>ol</string>
|
||||
<string>optgroup</string>
|
||||
<string>option</string>
|
||||
<string>p</string>
|
||||
<string>param</string>
|
||||
<string>pre</string>
|
||||
<string>q</string>
|
||||
<string>samp</string>
|
||||
<string>script</string>
|
||||
<string>select</string>
|
||||
<string>small</string>
|
||||
<string>span</string>
|
||||
<string>strike</string>
|
||||
<string>strong</string>
|
||||
<string>style</string>
|
||||
<string>sub</string>
|
||||
<string>sup</string>
|
||||
<string>table</string>
|
||||
<string>tbody</string>
|
||||
<string>td</string>
|
||||
<string>textarea</string>
|
||||
<string>tfoot</string>
|
||||
<string>th</string>
|
||||
<string>thead</string>
|
||||
<string>title</string>
|
||||
<string>tr</string>
|
||||
<string>tt</string>
|
||||
<string>ul</string>
|
||||
<string>var</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>92B0C9FE-CC81-498A-B93C-376A9C47CF2D</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Folding</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foldingStartMarker</key>
|
||||
<string>/\*\*(?!\*)|\{\s*($|/\*(?!.*?\*/.*\S))|\/\*\s*@group\s*.*\s*\*\/</string>
|
||||
<key>foldingStopMarker</key>
|
||||
<string>(?<!\*)\*\*/|^\s*\}|\/*\s*@end\s*\*\/</string>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>37393068-A217-494A-9DA4-68FD43FB4F8B</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,46 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Miscellaneous</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>smartTypingPairs</key>
|
||||
<array>
|
||||
<array>
|
||||
<string>"</string>
|
||||
<string>"</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>(</string>
|
||||
<string>)</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>{</string>
|
||||
<string>}</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>[</string>
|
||||
<string>]</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>“</string>
|
||||
<string>”</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>'</string>
|
||||
<string>'</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>`</string>
|
||||
<string>`</string>
|
||||
</array>
|
||||
</array>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>623154CA-0EDF-4365-9441-80D396C11979</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,151 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Property Completions</string>
|
||||
<key>scope</key>
|
||||
<string>source.css meta.property-list -meta.property-value</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>completions</key>
|
||||
<array>
|
||||
<string>-moz-border-radius</string>
|
||||
<string>azimuth</string>
|
||||
<string>background</string>
|
||||
<string>background-attachment</string>
|
||||
<string>background-color</string>
|
||||
<string>background-image</string>
|
||||
<string>background-position</string>
|
||||
<string>background-repeat</string>
|
||||
<string>border</string>
|
||||
<string>border-bottom</string>
|
||||
<string>border-bottom-color</string>
|
||||
<string>border-bottom-style</string>
|
||||
<string>border-bottom-width</string>
|
||||
<string>border-collapse</string>
|
||||
<string>border-color</string>
|
||||
<string>border-left</string>
|
||||
<string>border-left-color</string>
|
||||
<string>border-left-style</string>
|
||||
<string>border-left-width</string>
|
||||
<string>border-right</string>
|
||||
<string>border-right-color</string>
|
||||
<string>border-right-style</string>
|
||||
<string>border-right-width</string>
|
||||
<string>border-spacing</string>
|
||||
<string>border-style</string>
|
||||
<string>border-top</string>
|
||||
<string>border-top-color</string>
|
||||
<string>border-top-style</string>
|
||||
<string>border-top-width</string>
|
||||
<string>border-width</string>
|
||||
<string>bottom</string>
|
||||
<string>caption-side</string>
|
||||
<string>clear</string>
|
||||
<string>clip</string>
|
||||
<string>color</string>
|
||||
<string>content</string>
|
||||
<string>counter-increment</string>
|
||||
<string>counter-reset</string>
|
||||
<string>cue</string>
|
||||
<string>cue-after</string>
|
||||
<string>cue-before</string>
|
||||
<string>cursor</string>
|
||||
<string>direction</string>
|
||||
<string>display</string>
|
||||
<string>elevation</string>
|
||||
<string>empty-cells</string>
|
||||
<string>float</string>
|
||||
<string>font</string>
|
||||
<string>font-family</string>
|
||||
<string>font-size</string>
|
||||
<string>font-size-adjust</string>
|
||||
<string>font-stretch</string>
|
||||
<string>font-style</string>
|
||||
<string>font-variant</string>
|
||||
<string>font-weight</string>
|
||||
<string>height</string>
|
||||
<string>left</string>
|
||||
<string>letter</string>
|
||||
<string>letter-spacing</string>
|
||||
<string>line-height</string>
|
||||
<string>list</string>
|
||||
<string>list-style</string>
|
||||
<string>list-style-image</string>
|
||||
<string>list-style-position</string>
|
||||
<string>list-style-type</string>
|
||||
<string>margin</string>
|
||||
<string>margin-bottom</string>
|
||||
<string>margin-left</string>
|
||||
<string>margin-right</string>
|
||||
<string>margin-top</string>
|
||||
<string>marker</string>
|
||||
<string>marker-offset</string>
|
||||
<string>marks</string>
|
||||
<string>max-height</string>
|
||||
<string>max-width</string>
|
||||
<string>min-height</string>
|
||||
<string>min-width</string>
|
||||
<string>opacity</string>
|
||||
<string>orphans</string>
|
||||
<string>outline</string>
|
||||
<string>outline-color</string>
|
||||
<string>outline-style</string>
|
||||
<string>outline-width</string>
|
||||
<string>overflow</string>
|
||||
<string>overflow(-[xy])?</string>
|
||||
<string>padding</string>
|
||||
<string>padding-bottom</string>
|
||||
<string>padding-left</string>
|
||||
<string>padding-right</string>
|
||||
<string>padding-top</string>
|
||||
<string>page</string>
|
||||
<string>page-break-after</string>
|
||||
<string>page-break-before</string>
|
||||
<string>page-break-inside</string>
|
||||
<string>pause</string>
|
||||
<string>pause-after</string>
|
||||
<string>pause-before</string>
|
||||
<string>pitch</string>
|
||||
<string>pitch-range</string>
|
||||
<string>play-during</string>
|
||||
<string>position</string>
|
||||
<string>quotes</string>
|
||||
<string>richness</string>
|
||||
<string>right</string>
|
||||
<string>scrollbar</string>
|
||||
<string>size</string>
|
||||
<string>speak</string>
|
||||
<string>speak-header</string>
|
||||
<string>speak-numeral</string>
|
||||
<string>speak-punctuation</string>
|
||||
<string>speech-rate</string>
|
||||
<string>stress</string>
|
||||
<string>table-layout</string>
|
||||
<string>text</string>
|
||||
<string>text-align</string>
|
||||
<string>text-decoration</string>
|
||||
<string>text-indent</string>
|
||||
<string>text-shadow</string>
|
||||
<string>text-transform</string>
|
||||
<string>top</string>
|
||||
<string>unicode-bidi</string>
|
||||
<string>vertical</string>
|
||||
<string>vertical-align</string>
|
||||
<string>visibility</string>
|
||||
<string>voice-family</string>
|
||||
<string>volume</string>
|
||||
<string>white</string>
|
||||
<string>white-space</string>
|
||||
<string>widows</string>
|
||||
<string>width</string>
|
||||
<string>word</string>
|
||||
<string>word-spacing</string>
|
||||
<string>z-index</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>BCAF7514-033E-45D7-9E46-07FACF84DAAD</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,144 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Property Value Completions</string>
|
||||
<key>scope</key>
|
||||
<string>source.css meta.property-value</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>completions</key>
|
||||
<array>
|
||||
<string>absolute</string>
|
||||
<string>all-scroll</string>
|
||||
<string>always</string>
|
||||
<string>auto</string>
|
||||
<string>baseline</string>
|
||||
<string>below</string>
|
||||
<string>bidi-override</string>
|
||||
<string>block</string>
|
||||
<string>bold</string>
|
||||
<string>bolder</string>
|
||||
<string>both</string>
|
||||
<string>bottom</string>
|
||||
<string>break-all</string>
|
||||
<string>break-word</string>
|
||||
<string>capitalize</string>
|
||||
<string>center</string>
|
||||
<string>char</string>
|
||||
<string>circle</string>
|
||||
<string>col-resize</string>
|
||||
<string>collapse</string>
|
||||
<string>crosshair</string>
|
||||
<string>dashed</string>
|
||||
<string>decimal</string>
|
||||
<string>default</string>
|
||||
<string>disabled</string>
|
||||
<string>disc</string>
|
||||
<string>distribute</string>
|
||||
<string>distribute-all-lines</string>
|
||||
<string>distribute-letter</string>
|
||||
<string>distribute-space</string>
|
||||
<string>dotted</string>
|
||||
<string>double</string>
|
||||
<string>e-resize</string>
|
||||
<string>ellipsis</string>
|
||||
<string>fixed</string>
|
||||
<string>groove</string>
|
||||
<string>hand</string>
|
||||
<string>help</string>
|
||||
<string>hidden</string>
|
||||
<string>horizontal</string>
|
||||
<string>ideograph-alpha</string>
|
||||
<string>ideograph-numeric</string>
|
||||
<string>ideograph-parenthesis</string>
|
||||
<string>ideograph-space</string>
|
||||
<string>inactive</string>
|
||||
<string>inherit</string>
|
||||
<string>inline</string>
|
||||
<string>inline-block</string>
|
||||
<string>inset</string>
|
||||
<string>inside</string>
|
||||
<string>inter-ideograph</string>
|
||||
<string>inter-word</string>
|
||||
<string>italic</string>
|
||||
<string>justify</string>
|
||||
<string>keep-all</string>
|
||||
<string>left</string>
|
||||
<string>lighter</string>
|
||||
<string>line</string>
|
||||
<string>line-edge</string>
|
||||
<string>line-through</string>
|
||||
<string>list-item</string>
|
||||
<string>loose</string>
|
||||
<string>lower-alpha</string>
|
||||
<string>lower-roman</string>
|
||||
<string>lowercase</string>
|
||||
<string>lr-tb</string>
|
||||
<string>ltr</string>
|
||||
<string>medium</string>
|
||||
<string>middle</string>
|
||||
<string>move</string>
|
||||
<string>n-resize</string>
|
||||
<string>ne-resize</string>
|
||||
<string>newspaper</string>
|
||||
<string>no-drop</string>
|
||||
<string>no-repeat</string>
|
||||
<string>none</string>
|
||||
<string>normal</string>
|
||||
<string>not-allowed</string>
|
||||
<string>nowrap</string>
|
||||
<string>nw-resize</string>
|
||||
<string>oblique</string>
|
||||
<string>outset</string>
|
||||
<string>outside</string>
|
||||
<string>overline</string>
|
||||
<string>pointer</string>
|
||||
<string>progress</string>
|
||||
<string>relative</string>
|
||||
<string>repeat</string>
|
||||
<string>repeat-x</string>
|
||||
<string>repeat-y</string>
|
||||
<string>ridge</string>
|
||||
<string>right</string>
|
||||
<string>row-resize</string>
|
||||
<string>rtl</string>
|
||||
<string>s-resize</string>
|
||||
<string>scroll</string>
|
||||
<string>se-resize</string>
|
||||
<string>separate</string>
|
||||
<string>small-caps</string>
|
||||
<string>solid</string>
|
||||
<string>square</string>
|
||||
<string>static</string>
|
||||
<string>strict</string>
|
||||
<string>super</string>
|
||||
<string>sw-resize</string>
|
||||
<string>table-footer-group</string>
|
||||
<string>table-header-group</string>
|
||||
<string>tb-rl</string>
|
||||
<string>text</string>
|
||||
<string>text-bottom</string>
|
||||
<string>text-top</string>
|
||||
<string>thick</string>
|
||||
<string>thin</string>
|
||||
<string>top</string>
|
||||
<string>transparent</string>
|
||||
<string>underline</string>
|
||||
<string>upper-alpha</string>
|
||||
<string>upper-roman</string>
|
||||
<string>uppercase</string>
|
||||
<string>url("")</string>
|
||||
<string>vertical-ideographic</string>
|
||||
<string>vertical-text</string>
|
||||
<string>visible</string>
|
||||
<string>w-resize</string>
|
||||
<string>wait</string>
|
||||
<string>whitespace</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>1E4F54FD-1940-42E0-9D0A-0EC11D81E446</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>PropertyName</string>
|
||||
<key>scope</key>
|
||||
<string>meta.property-list.css -meta.property-value</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>smartTypingPairs</key>
|
||||
<array>
|
||||
<array>
|
||||
<string>:</string>
|
||||
<string>;</string>
|
||||
</array>
|
||||
</array>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>45707407-3307-4B4D-AE9B-78BDCFB6F920</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Symbol List: Group</string>
|
||||
<key>scope</key>
|
||||
<string>source.css comment.block.css -source.css.embedded</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>showInSymbolList</key>
|
||||
<integer>1</integer>
|
||||
<key>symbolTransformation</key>
|
||||
<string>s/\/\*\*\s*(.*?)\s*\*\//** $1 **/; s/\/\*.*?\*\*\//./; s/\/\*[^\*].*?[^\*]\*\///</string>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>096894D8-6A5A-4F1D-B68C-782F0A850E52</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,19 +0,0 @@
|
||||
<?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>name</key>
|
||||
<string>Symbol List: Selector</string>
|
||||
<key>scope</key>
|
||||
<string>source.css meta.selector, source.css meta.at-rule.media</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>showInSymbolList</key>
|
||||
<integer>1</integer>
|
||||
<key>symbolTransformation</key>
|
||||
<string>s/^\s*/CSS: /; s/\s+/ /g</string>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>17B2DD5B-D2EA-4DC5-9C7D-B09B505156C5</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,20 +0,0 @@
|
||||
# Installation
|
||||
|
||||
You can install this bundle in TextMate by opening the preferences and going to the bundles tab. After installation it will be automatically updated for you.
|
||||
|
||||
# General
|
||||
|
||||
* [Bundle Styleguide](http://kb.textmate.org/bundle_styleguide) — _before you make changes_
|
||||
* [Commit Styleguide](http://kb.textmate.org/commit_styleguide) — _before you send a pull request_
|
||||
* [Writing Bug Reports](http://kb.textmate.org/writing_bug_reports) — _before you report an issue_
|
||||
|
||||
# License
|
||||
|
||||
If not otherwise specified (see below), files in this repository fall under the following license:
|
||||
|
||||
Permission to copy, use, modify, sell and distribute this
|
||||
software is granted. This software is provided "as is" without
|
||||
express or implied warranty, and with no claim as to its
|
||||
suitability for any purpose.
|
||||
|
||||
An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar. For example “tidy” is accompanied by “tidy-license.txt”.
|
@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>${1:!important}</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string></string>
|
||||
<key>name</key>
|
||||
<string>!important CSS</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>!</string>
|
||||
<key>uuid</key>
|
||||
<string>EF1F2D38-A71A-4D1D-9B07-B1CBB6D84B81</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>${2:bottom: auto;}top: expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-${1:THE HEIGHT OF THIS THING IN PIXELS}));
|
||||
${3:left: expression(eval(document.documentElement.scrollLeft));
|
||||
}${4:width: expression(eval(document.documentElement.clientWidth));}$0</string>
|
||||
<key>name</key>
|
||||
<string>Fixed Position Bottom 100% wide IE6</string>
|
||||
<key>scope</key>
|
||||
<string>source.css meta.property-list</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>fixed</string>
|
||||
<key>uuid</key>
|
||||
<string>FCDDB549-681A-436F-894E-1A408C0E114C</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-attachment: ${1|scroll,fixed|};$0</string>
|
||||
<key>name</key>
|
||||
<string>background-attachment: scroll/fixed</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>9E194D74-B73B-4D2B-A89F-51F7468A3E97</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-color: #${1:DDD};$0</string>
|
||||
<key>name</key>
|
||||
<string>background-color: hex</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>32B7B151-17CB-4DA4-AC0B-7D02BC606403</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-color: ${1:red};$0</string>
|
||||
<key>name</key>
|
||||
<string>background-color: name</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>913410E0-623A-43F0-B71F-2E8FB9D5EBC8</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-color: rgb(${1:255},${2:255},${3:255});$0</string>
|
||||
<key>name</key>
|
||||
<string>background-color: rgb</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>12241B4B-197C-41AF-ACC2-6B9A7AEC7039</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-color: transparent;$0</string>
|
||||
<key>name</key>
|
||||
<string>background-color: transparent</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>C71B1388-2815-4CAE-8652-CD159095AEAD</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-image: none;$0</string>
|
||||
<key>name</key>
|
||||
<string>background-image: none</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>7D71DF8B-492E-493D-BD94-1A4AFCCDCBBF</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-image: url($1);$0</string>
|
||||
<key>name</key>
|
||||
<string>background-image: url</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>978CBFF6-62D6-45B1-93F7-5644E1C6262B</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-position: ${1|top left,top center,top right,center left,center center,center right,bottom left,bottom center,bottom right,x-% y-%,x-pos y-pos|};$0</string>
|
||||
<key>name</key>
|
||||
<string>background-position: position</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>E198D2D5-6B52-42FD-BCBC-01B0A7E5E80E</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-repeat: ${1|repeat,repeat-x,repeat-y,no-repeat|};$0</string>
|
||||
<key>name</key>
|
||||
<string>background-repeat: r/r-x/r-y/n-r</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>4EE66583-26BE-4DBA-BD18-8DAF593835F9</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background:${6: #${1:DDD}} url($2) ${3|repeat,repeat-x,repeat-y,no-repeat|} ${4|scroll,fixed|} ${5|top left,top center,top right,center left,center center,center right,bottom left,bottom center,bottom right,x-% y-%,x-pos y-pos|};$0</string>
|
||||
<key>name</key>
|
||||
<string>background: color image repeat attachment position</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>D09967B1-2215-4B10-A331-7A372281DDA6</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-bottom-color: #${1:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-bottom-color: color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>05AFB9EB-F4AB-4F86-8170-535CF508176C</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-bottom-style: ${1|none,hidden,dotted,dashed,solid,double,groove,ridge,inset,outset|};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-bottom-style: style</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>39FA441C-3A8F-49D4-BBFE-270B4C962782</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-bottom-width: ${1:1}px ${2:solid} #${3:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-bottom-width: size</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>6F1126A9-5916-4E6F-8812-AB82C4638B6B</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-bottom: ${1:1}px ${2:solid} #${3:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-bottom: size style color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>1998EF7F-D855-4EAF-8CE0-D76CE8C905A4</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-color: ${1:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-color: color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>AB0759F4-4243-4807-B297-2902459EBE02</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-right-color: #${1:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-left-color: color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>189DD463-0331-4B99-8CA2-ADEEF7CC078D</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-left-style: ${1|none,hidden,dotted,dashed,solid,double,groove,ridge,inset,outset|};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-left-style: style</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>8AD77320-0E31-48B9-94A9-982FD8DD1885</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-left-width: ${1:1}px</string>
|
||||
<key>name</key>
|
||||
<string>border-left-width: size</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>1A667AFE-208F-4697-AD44-3FA1A23AA4C7</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-left: ${1:1}px ${2:solid} #${3:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-left: size style color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>BDA03041-39C6-461C-A6F3-F6145D99AB5E</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-right-color: #${1:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-right-color: color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>321FFAF7-5699-45E6-8696-DE84AD607690</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-right-style: ${1|none,hidden,dotted,dashed,solid,double,groove,ridge,inset,outset|};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-right-style: style</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>6AE8DB39-F8E2-4DC9-ADBA-460E952439D8</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-right-width: ${1:1}px</string>
|
||||
<key>name</key>
|
||||
<string>border-right-width: size</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>8B059A97-7F2C-48CD-8422-0ECAB678E8AE</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-right: ${1:1}px ${2:solid} #${3:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-right: size style color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>5FFC4EDE-9AEE-4854-BA78-34BD98BE7FBE</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-style: ${1|none,hidden,dotted,dashed,solid,double,groove,ridge,inset,outset|};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-style: style</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>E4BD9171-E053-4EEF-8631-CFC74F1DCB97</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-top-color: #${1:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-top-color: color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>DAF7114F-B5DC-4E70-A7CD-66FF028F93B1</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-top-style: ${1|none,hidden,dotted,dashed,solid,double,groove,ridge,inset,outset|};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-top-style: style</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>C5039010-E264-4D3D-A12E-02C2DB7DC4BF</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-top-width: ${1:1}px</string>
|
||||
<key>name</key>
|
||||
<string>border-top-width: size</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>EE19367C-6634-4854-910D-90C6F5752A46</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-top: ${1:1}px ${2:solid} #${3:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-top: size style color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>0FEBF51B-77B0-4D38-9CDB-276744CAF455</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-width: ${1:1px};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-width: size</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>979C3D46-E8B1-484D-9DBB-E3B1FCD3BCF9</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border: ${1:1px} ${2:solid} #${3:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border: size style color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>A2EA7266-AE50-4987-A86B-E3C4DFA5B643</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>clear: ${1|left,right,both,none|};$0</string>
|
||||
<key>name</key>
|
||||
<string>clear: value</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>clear</string>
|
||||
<key>uuid</key>
|
||||
<string>8E9366D7-BB0B-456C-B9F3-0CE8072A10C3</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>color: #${1:DDD};$0</string>
|
||||
<key>name</key>
|
||||
<string>color: hex</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>color</string>
|
||||
<key>uuid</key>
|
||||
<string>D69E7EB0-07E2-48A3-AD32-A7C3E6CAFBBC</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>color: ${1:red};$0</string>
|
||||
<key>name</key>
|
||||
<string>color: name</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>color</string>
|
||||
<key>uuid</key>
|
||||
<string>45D80BAF-0B0A-4334-AFBC-3601B5903707</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>color: rgb(${1:255},${2:255},${3:255});$0</string>
|
||||
<key>name</key>
|
||||
<string>color: rgb</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>color</string>
|
||||
<key>uuid</key>
|
||||
<string>FBA1210B-33DB-49D0-B026-FF31DBC41FD6</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>cursor: ${1|default,auto,crosshair,pointer,move,*-resize,text,wait,help|};$0</string>
|
||||
<key>name</key>
|
||||
<string>cursor: type</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>cursor</string>
|
||||
<key>uuid</key>
|
||||
<string>5EDCDB17-5DB0-459A-A61D-29984DD3A3B8</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>cursor: url($1);$0</string>
|
||||
<key>name</key>
|
||||
<string>cursor: url</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>cursor</string>
|
||||
<key>uuid</key>
|
||||
<string>5C9011B1-B8A8-4FD3-8EA8-848AF6509ADF</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>direction: ${1:ltr|rtl};$0</string>
|
||||
<key>name</key>
|
||||
<string>direction: ltr/rtl</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>direction</string>
|
||||
<key>uuid</key>
|
||||
<string>A723DACA-3819-4E8D-8BCF-9BD1B98AF651</string>
|
||||
</dict>
|
||||
</plist>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user