Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
excluded more snippets from comment.block.documentation.phpdoc.php scope
  • Loading branch information
aurora committed Dec 4, 2013
commit 10803a17df9d8406809488f5e7bdaf2e85cee936
14 changes: 11 additions & 3 deletions Commands/Insert Call to Parent.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,23 @@ for ($x = $functionToken + 1; $x < $numTokens; $x++) {
echo "parent::{$functionName}(" . implode(', ', $params) . ');$0';</string>
<key>input</key>
<string>document</string>
<key>inputFormat</key>
<string>text</string>
<key>name</key>
<string>Insert Call to Parent</string>
<key>output</key>
<string>insertAsSnippet</string>
<key>outputCaret</key>
<string>afterOutput</string>
<key>outputFormat</key>
<string>snippet</string>
<key>outputLocation</key>
<string>replaceSelection</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>parent</string>
<key>uuid</key>
<string>978B5E5E-F5C6-4FD8-B346-B0C85883D600</string>
<key>version</key>
<integer>2</integer>
</dict>
</plist>
4 changes: 2 additions & 2 deletions Snippets/$_COOKIE[''].tmSnippet
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?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">
<!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>\$_COOKIE['${1:variable}']</string>
<key>name</key>
<string>COOKIE['…']</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>$_</string>
<key>uuid</key>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/$_ENV[''].tmSnippet
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?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">
<!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>\$_ENV['${1:variable}']</string>
<key>name</key>
<string>ENV['…']</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>$_</string>
<key>uuid</key>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/$_FILES[''].tmSnippet
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?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">
<!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>\$_FILES['${1:variable}']</string>
<key>name</key>
<string>FILES['…']</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>$_</string>
<key>uuid</key>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/$_GET[''].tmSnippet
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?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">
<!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>\$_GET['${1:variable}']</string>
<key>name</key>
<string>GET['…']</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>$_</string>
<key>uuid</key>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/$_POST[''].tmSnippet
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?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">
<!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>\$_POST['${1:variable}']</string>
<key>name</key>
<string>POST['…']</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>$_</string>
<key>uuid</key>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/$_REQUEST[''].tmSnippet
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?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">
<!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>\$_REQUEST['${1:variable}']</string>
<key>name</key>
<string>REQUEST['…']</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>$_</string>
<key>uuid</key>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/$_SERVER[''].tmSnippet
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?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">
<!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>\$_SERVER['${1:variable}']</string>
<key>name</key>
<string>SERVER['…']</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>$_</string>
<key>uuid</key>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/$_SESSION[''].tmSnippet
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?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">
<!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>\$_SESSION['${1:variable}']</string>
<key>name</key>
<string>SESSION['…']</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>$_</string>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/<?php ?>.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>name</key>
<string>&lt;?php … ?&gt;</string>
<key>scope</key>
<string>text.html.php</string>
<string>text.html.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>php</string>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/<?php echo ___ ?>.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>name</key>
<string>&lt;?php echo … ?&gt;</string>
<key>scope</key>
<string>text.html.php</string>
<string>text.html.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>echo</string>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/<?php echo htmlentities(___) ?>.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>name</key>
<string>&lt;?php echo htmlentities(…) ?&gt;</string>
<key>scope</key>
<string>text.html.php</string>
<string>text.html.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>echoh</string>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/<?php else: ?>.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>name</key>
<string>&lt;?php else: ?&gt;</string>
<key>scope</key>
<string>text.html.php</string>
<string>text.html.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>else</string>
<key>uuid</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>name</key>
<string>&lt;?php foreach (…) … &lt;?php endforeach ?&gt;</string>
<key>scope</key>
<string>text.html.php</string>
<string>text.html.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>foreach</string>
<key>uuid</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>name</key>
<string>&lt;?php if (…) ?&gt; … &lt;?php else ?&gt; … &lt;?php endif ?&gt;</string>
<key>scope</key>
<string>text.html.php</string>
<string>text.html.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>ifelse</string>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/<?php if (___) ?> ___ <?php endif ?>.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>name</key>
<string>&lt;?php if (…) ?&gt; … &lt;?php endif ?&gt;</string>
<key>scope</key>
<string>text.html.php</string>
<string>text.html.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>if</string>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/?>…<?php.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>name</key>
<string>?&gt;…&lt;?php</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>php</string>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/Heredoc.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $1;
<key>name</key>
<string>Heredoc</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>&lt;&lt;&lt; - comment.block.documentation.phpdoc.php</string>
<key>uuid</key>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/Include TextMate Support Script.tmSnippet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?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">
<!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>
Expand All @@ -16,7 +16,7 @@ fi`
<key>name</key>
<string>Include TextMate Support Script</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>tmphp</string>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/if ?: a : b;.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>name</key>
<string>$… = ( … ) ? … : …</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>if? - comment.block.documentation.phpdoc.php</string>
<key>uuid</key>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/throw.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ $0</string>
<key>name</key>
<string>Throw Exception</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>throw - comment.block.documentation.phpdoc.php</string>
<string>throw</string>
<key>uuid</key>
<string>FE39640E-A69C-48DF-9282-633672AAEFD2</string>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions Snippets/try { ___ } catch (___) { ___ }.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ ${TM_SELECTED_TEXT/([\t ]*).*/$1/m}}</string>
<key>name</key>
<string>Wrap in try { … } catch (…) { … }</string>
<key>scope</key>
<string>source.php</string>
<string>source.php - comment.block.documentation.phpdoc.php</string>
<key>tabTrigger</key>
<string>try - comment.block.documentation.phpdoc.php</string>
<string>try</string>
<key>uuid</key>
<string>F7751DAF-AC95-4D47-955F-FE2534FDE4F5</string>
</dict>
Expand Down