aboutsummaryrefslogtreecommitdiffstats
path: root/Resources
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-03-08 22:12:13 +0000
committerBibiko <bibiko@eva.mpg.de>2010-03-08 22:12:13 +0000
commiteaa7c5890efffcabf485241caad1198c73dca060 (patch)
treed743f5fb0f7beade63ae54e4bdd9d81622d3a7ab /Resources
parente819de7f2889a25d3bc7c569b3fdee2f1551c61a (diff)
downloadsequelpro-eaa7c5890efffcabf485241caad1198c73dca060.tar.gz
sequelpro-eaa7c5890efffcabf485241caad1198c73dca060.tar.bz2
sequelpro-eaa7c5890efffcabf485241caad1198c73dca060.zip
• added possibility to define a snippet via ¦a¦b¦ – such a snippet will be shown as completion list with the items “a” and “b”
• set auto-completion default Pref setting to true • fixed some auto-completion issues like do not insert common prefix automatically and some others • applied ¦a¦b¦ template to CompletionTokens.plist and some tiny corrections and improvements
Diffstat (limited to 'Resources')
-rw-r--r--Resources/CompletionTokens.plist8
-rw-r--r--Resources/PreferenceDefaults.plist2
2 files changed, 5 insertions, 5 deletions
diff --git a/Resources/CompletionTokens.plist b/Resources/CompletionTokens.plist
index efbc4648..16f6a598 100644
--- a/Resources/CompletionTokens.plist
+++ b/Resources/CompletionTokens.plist
@@ -223,7 +223,6 @@
<string>FUNCTION</string>
<string>GEOMETRY</string>
<string>GEOMETRYCOLLECTION</string>
- <string>GET_FORMAT</string>
<string>GLOBAL</string>
<string>GRANT</string>
<string>GRANTS</string>
@@ -833,6 +832,7 @@
<string>MAKETIME</string>
<string>MAKE_SET</string>
<string>MASTER_POS_WAIT</string>
+ <string>MATCH</string>
<string>MAX</string>
<string>MBRCONTAINS</string>
<string>MBRDISJOINT</string>
@@ -1005,7 +1005,7 @@
<key>LEAST</key>
<string>${1:value1}, ${2:value2}</string>
<key>MATCH</key>
- <string>${1:col} AGAINST ${2:expr}</string>
+ <string>${1:col_list} AGAINST ${2:expr}${3: ${4:¦IN BOOLEAN MODE¦IN NATURAL LANGUAGE MODE¦IN NATURAL LANGUAGE MODE WITH QUERY EXPANSION¦WITH QUERY EXPANSION¦}}</string>
<key>DES_DECRYPT</key>
<string>${1:crypt_str}${2:, ${3:key_str}}</string>
<key>DECODE</key>
@@ -1095,7 +1095,7 @@
<key>PERIOD_DIFF</key>
<string>${1:P1}, ${2:P2}</string>
<key>DES_ENCRYPT</key>
- <string>${1:str},${2:key_num|key_str}</string>
+ <string>${1:str}${2:, ${3:¦key_num¦key_str¦}}</string>
<key>STR_TO_DATE</key>
<string>${1:str}, ${2:format}</string>
<key>DATE_SUB</key>
@@ -1113,7 +1113,7 @@
<key>AES_ENCRYPT</key>
<string>${1:str}, ${2:key_str}</string>
<key>GET_FORMAT</key>
- <string>${1:DATE|TIME|DATETIME}, ${2:'EUR'|'USA'|'JIS'|'ISO'|'INTERNAL'}</string>
+ <string>${1:¦DATE¦TIME¦DATETIME¦}, ${2:¦'EUR'¦'USA'¦'JIS'¦'ISO'¦'INTERNAL'¦}</string>
<key>FIELD</key>
<string>${1:str}, ${2:str1}</string>
<key>MAKETIME</key>
diff --git a/Resources/PreferenceDefaults.plist b/Resources/PreferenceDefaults.plist
index 9b8bec6a..a16c0c9d 100644
--- a/Resources/PreferenceDefaults.plist
+++ b/Resources/PreferenceDefaults.plist
@@ -89,7 +89,7 @@
<key>CustomQueryFunctionCompletionInsertsArguments</key>
<true/>
<key>CustomQueryAutoComplete</key>
- <false/>
+ <true/>
<key>CustomQueryAutoCompleteDelay</key>
<real>1.5</real>
<key>CustomQueryAutoHelpDelay</key>