redcar 0.3.1dev → 0.3.2dev
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +34 -1
- data/README.md +2 -1
- data/ROADMAP.md +13 -45
- data/Rakefile +15 -14
- data/bin/redcar +4 -1
- data/lib/plugin_manager/README.md +61 -0
- data/lib/plugin_manager/Rakefile +55 -0
- data/lib/plugin_manager/bin/plugin_manager +4 -0
- data/lib/plugin_manager/lib/plugin_manager.rb +107 -0
- data/lib/plugin_manager/lib/plugin_manager/definition_builder.rb +37 -0
- data/lib/plugin_manager/lib/plugin_manager/plugin.rb +9 -0
- data/lib/plugin_manager/lib/plugin_manager/plugin_definition.rb +50 -0
- data/lib/plugin_manager/plugin_manager.gemspec +33 -0
- data/lib/plugin_manager/spec/fixtures/error_in_definition/core/plugin.rb +2 -0
- data/lib/plugin_manager/spec/fixtures/error_in_plugin/core/core.rb +4 -0
- data/lib/plugin_manager/spec/fixtures/error_in_plugin/core/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/example/core/core.rb +20 -0
- data/lib/plugin_manager/spec/fixtures/example/core/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/example/debug/debug.rb +6 -0
- data/lib/plugin_manager/spec/fixtures/example/debug/plugin.rb +8 -0
- data/lib/plugin_manager/spec/fixtures/example/extras/extras.rb +6 -0
- data/lib/plugin_manager/spec/fixtures/example/extras/plugin.rb +8 -0
- data/lib/plugin_manager/spec/fixtures/two_versions1/core/core.rb +20 -0
- data/lib/plugin_manager/spec/fixtures/two_versions1/core/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/two_versions1/core2/core.rb +20 -0
- data/lib/plugin_manager/spec/fixtures/two_versions1/core2/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/two_versions2/core/core.rb +20 -0
- data/lib/plugin_manager/spec/fixtures/two_versions2/core/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/two_versions2/core2/core.rb +20 -0
- data/lib/plugin_manager/spec/fixtures/two_versions2/core2/plugin.rb +8 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/core/core.rb +10 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/core/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/debug/debug.rb +6 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/debug/plugin.rb +8 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/core/core.rb +10 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/core/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/debug/debug.rb +6 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/debug/plugin.rb +8 -0
- data/lib/plugin_manager/spec/plugin_manager_spec.rb +208 -0
- data/lib/plugin_manager/spec/spec_helper.rb +3 -0
- data/lib/redcar.rb +8 -3
- data/lib/redcar/boot.rb +59 -56
- data/lib/redcar/installer.rb +1 -1
- data/lib/redcar/instance_exec.rb +25 -0
- data/lib/redcar/runner.rb +5 -1
- data/lib/redcar/usage.rb +5 -1
- data/plugins/application/icons/close.png +0 -0
- data/plugins/application/lib/application.rb +61 -28
- data/plugins/application/lib/application/clipboard.rb +71 -0
- data/plugins/application/lib/application/dialog.rb +63 -0
- data/plugins/application/lib/application/menu.rb +32 -1
- data/plugins/application/lib/application/menu/builder.rb +10 -4
- data/plugins/application/lib/application/menu/item.rb +16 -3
- data/plugins/application/lib/application/notebook.rb +5 -0
- data/plugins/application/lib/application/speedbar.rb +73 -0
- data/plugins/application/lib/application/window.rb +25 -0
- data/plugins/application/plugin.rb +8 -0
- data/plugins/application/spec/application/clipboard_spec.rb +36 -0
- data/plugins/application/spec/application/menu_spec.rb +73 -1
- data/plugins/application/spec/application/speedbar_spec.rb +46 -0
- data/plugins/application/spec/spec_helper.rb +1 -1
- data/plugins/application_swt/lib/application_swt.rb +18 -11
- data/plugins/application_swt/lib/application_swt/clipboard.rb +42 -0
- data/plugins/application_swt/lib/application_swt/dialog_adapter.rb +68 -0
- data/plugins/application_swt/lib/application_swt/dialogs/filter_list_dialog_controller.rb +1 -1
- data/plugins/application_swt/lib/application_swt/html_tab.rb +32 -0
- data/plugins/application_swt/lib/application_swt/menu.rb +57 -21
- data/plugins/application_swt/lib/application_swt/menu/binding_translator.rb +39 -2
- data/plugins/application_swt/lib/application_swt/notebook.rb +5 -0
- data/plugins/application_swt/lib/application_swt/speedbar.rb +187 -0
- data/plugins/application_swt/lib/application_swt/swt_wrapper.rb +24 -1
- data/plugins/application_swt/lib/application_swt/window.rb +33 -3
- data/plugins/application_swt/plugin.rb +8 -0
- data/plugins/application_swt/spec/spec_helper.rb +1 -1
- data/plugins/auto_completer/features/auto_complete.feature +65 -0
- data/plugins/auto_completer/features/step_definitions/auto_complete_steps.rb +4 -0
- data/plugins/auto_completer/features/support/env.rb +4 -0
- data/plugins/auto_completer/lib/auto_completer.rb +99 -0
- data/plugins/auto_completer/lib/auto_completer/document_controller.rb +52 -0
- data/plugins/auto_completer/lib/auto_completer/word_iterator.rb +48 -0
- data/plugins/auto_completer/lib/auto_completer/word_list.rb +40 -0
- data/plugins/auto_completer/plugin.rb +10 -0
- data/plugins/auto_indenter/lib/auto_indenter.rb +1 -1
- data/plugins/auto_indenter/lib/auto_indenter/document_controller.rb +1 -1
- data/plugins/auto_indenter/plugin.rb +8 -0
- data/plugins/core/lib/core.rb +6 -30
- data/plugins/core/lib/core/gui.rb +7 -2
- data/plugins/core/lib/core/logger.rb +7 -4
- data/plugins/core/lib/core/plugin/storage.rb +15 -5
- data/plugins/core/plugin.rb +7 -0
- data/plugins/core/spec/core/storage_spec.rb +0 -9
- data/plugins/edit_view/features/cut_and_paste.feature +45 -0
- data/plugins/edit_view/features/step_definitions/editing_steps.rb +22 -0
- data/plugins/edit_view/features/step_definitions/key_steps.rb +1 -1
- data/plugins/edit_view/features/step_definitions/notebook_steps.rb +1 -1
- data/plugins/edit_view/features/step_definitions/tab_steps.rb +2 -0
- data/plugins/edit_view/features/step_definitions/window_steps.rb +1 -1
- data/plugins/edit_view/features/support/env.rb +2 -2
- data/plugins/edit_view/lib/edit_view.rb +24 -13
- data/plugins/edit_view/lib/edit_view/document.rb +233 -15
- data/plugins/edit_view/lib/edit_view/edit_tab.rb +2 -2
- data/plugins/edit_view/plugin.rb +9 -0
- data/plugins/edit_view/spec/spec_helper.rb +1 -1
- data/plugins/edit_view_swt/lib/edit_view_swt.rb +37 -8
- data/plugins/edit_view_swt/lib/edit_view_swt/document.rb +59 -24
- data/plugins/edit_view_swt/lib/edit_view_swt/word_movement.rb +66 -0
- data/plugins/edit_view_swt/plugin.rb +9 -0
- data/plugins/edit_view_swt/spec/edit_view_swt/word_movement_spec.rb +29 -0
- data/plugins/edit_view_swt/spec/spec_helper.rb +6 -0
- data/plugins/html_view/assets/blueprint/ie.css +35 -0
- data/plugins/html_view/assets/blueprint/print.css +29 -0
- data/plugins/html_view/assets/blueprint/screen.css +257 -0
- data/plugins/html_view/assets/blueprint/src/forms.css +65 -0
- data/plugins/html_view/assets/blueprint/src/grid.css +281 -0
- data/plugins/html_view/assets/blueprint/src/grid.png +0 -0
- data/plugins/html_view/assets/blueprint/src/ie.css +76 -0
- data/plugins/html_view/assets/blueprint/src/print.css +85 -0
- data/plugins/html_view/assets/blueprint/src/reset.css +38 -0
- data/plugins/html_view/assets/blueprint/src/typography.css +106 -0
- data/plugins/html_view/assets/jquery-1.4.min.js +151 -0
- data/plugins/html_view/assets/redcar.css +12 -0
- data/plugins/html_view/lib/html_controller.rb +5 -0
- data/plugins/html_view/lib/html_view.rb +47 -0
- data/plugins/html_view/lib/html_view/html_tab.rb +16 -0
- data/plugins/html_view/plugin.rb +12 -0
- data/plugins/my_plugin/lib/my_plugin.rb +55 -0
- data/plugins/my_plugin/plugin.rb +8 -0
- data/plugins/plugin_manager_ui/lib/plugin_manager_ui.rb +62 -0
- data/plugins/plugin_manager_ui/plugin.rb +12 -0
- data/plugins/plugin_manager_ui/views/index.html.erb +31 -0
- data/plugins/project/lib/project.rb +27 -13
- data/plugins/project/lib/project/find_file_dialog.rb +25 -19
- data/plugins/project/plugin.rb +8 -0
- data/plugins/project/spec/spec_helper.rb +1 -1
- data/plugins/redcar/plugin.rb +13 -0
- data/plugins/redcar/redcar.rb +249 -8
- data/plugins/repl/lib/repl.rb +22 -14
- data/plugins/repl/plugin.rb +8 -0
- data/plugins/repl/spec/spec_helper.rb +1 -1
- data/plugins/tree/plugin.rb +9 -0
- data/plugins/tree/spec/spec_helper.rb +1 -1
- data/plugins/tree_view_swt/plugin.rb +9 -0
- data/textmate/Bundles/Apache.tmbundle/Syntaxes/Apache.plist +544 -0
- data/textmate/Bundles/Apache.tmbundle/Syntaxes/mod_perl.tmLanguage +120 -0
- data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___HTML__.plist +88 -0
- data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___Markdown__.plist +89 -0
- data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___Text__.plist +74 -0
- data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___Textile__.plist +74 -0
- data/textmate/Bundles/Bundle Development.tmbundle/Syntaxes/LanguageGrammar.tmLanguage +1829 -0
- data/textmate/Bundles/C Sharp.tmbundle/Syntaxes/Build.tmLanguage +142 -0
- data/textmate/Bundles/C Sharp.tmbundle/Syntaxes/C__.tmLanguage +524 -0
- data/textmate/Bundles/C++ Qt.tmbundle/Syntaxes/Qt_C____.tmLanguage +62 -0
- data/textmate/Bundles/C++ Qt.tmbundle/Syntaxes/qmake_Project.tmLanguage +308 -0
- data/textmate/Bundles/C.tmbundle/Syntaxes/C.plist +90 -48
- data/textmate/Bundles/Clojure.tmbundle/Syntaxes/Clojure.tmLanguage +427 -0
- data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/Cucumber_Plain_Text_Feature.tmLanguage +106 -13
- data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/Cucumber_Steps.tmLanguage +177 -2
- data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/plaintext_template.erb +109 -17
- data/textmate/Bundles/D.tmbundle/Syntaxes/D.tmLanguage +908 -0
- data/textmate/Bundles/Diff.tmbundle/Syntaxes/Diff.plist +229 -0
- data/textmate/Bundles/DokuWiki.tmbundle/Syntaxes/DokuWiki.tmLanguage +649 -0
- data/textmate/Bundles/F-Script.tmbundle/Syntaxes/F__Script.plist +219 -0
- data/textmate/Bundles/Haskell.tmbundle/Syntaxes/Haskell.plist +646 -0
- data/textmate/Bundles/Haskell.tmbundle/Syntaxes/Literate_Haskell.plist +90 -0
- data/textmate/Bundles/Io.tmbundle/Syntaxes/Io.plist +225 -0
- data/textmate/Bundles/JSON.tmbundle/Syntaxes/JSON.tmLanguage +285 -0
- data/textmate/Bundles/JavaScript Prototype & Script_aculo_us.tmbundle/Syntaxes/JavaScript____Prototype.tmLanguage +193 -0
- data/textmate/Bundles/JavaScript Prototype & Script_aculo_us.tmbundle/Syntaxes/JavaScript____Prototype_Bracketed.tmLanguage +394 -0
- data/textmate/Bundles/JavaScript jQuery.tmbundle/Syntaxes/jQuery___JavaScript__.tmLanguage +440 -0
- data/textmate/Bundles/JavaScript.tmbundle/Syntaxes/JavaScript.plist +712 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/Bibtex.plist +406 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX.plist +1601 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX_Beamer.plist +106 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX_Log.plist +141 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX_Memoir.tmLanguage +165 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/TeX.plist +246 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/TeX_Math.plist +132 -0
- data/textmate/Bundles/Lisp.tmbundle/Syntaxes/Lisp.plist +160 -0
- data/textmate/Bundles/Makefile.tmbundle/Syntaxes/Makefile.plist +103 -0
- data/textmate/Bundles/Markdown.tmbundle/Syntaxes/Markdown.plist +1192 -0
- data/textmate/Bundles/Markdown.tmbundle/Syntaxes/MultiMarkdown.tmLanguage +80 -0
- data/textmate/Bundles/PHP.tmbundle/Syntaxes/PHP.plist +3481 -0
- data/textmate/Bundles/Perl HTML-Template.tmbundle/Syntaxes/Perl_HTML__Template.tmLanguage +217 -0
- data/textmate/Bundles/Perl Template Toolkit.tmbundle/Syntaxes/HTML___Template_Toolkit__.tmLanguage +339 -0
- data/textmate/Bundles/Postscript.tmbundle/Syntaxes/Postscript.tmLanguage +321 -0
- data/textmate/Bundles/Processing.tmbundle/Syntaxes/Processing.plist +296 -0
- data/textmate/Bundles/Property List.tmbundle/Syntaxes/Property_List.tmLanguage +1650 -0
- data/textmate/Bundles/Python Django Templates.tmbundle/Syntaxes/HTML___Django__.tmLanguage +104 -0
- data/textmate/Bundles/Python Django.tmbundle/Syntaxes/Python_Django.tmLanguage +57 -0
- data/textmate/Bundles/Python.tmbundle/Syntaxes/Python.tmLanguage +3016 -0
- data/textmate/Bundles/Python.tmbundle/Syntaxes/Regular_Expressions___Python__.tmLanguage +299 -0
- data/textmate/Bundles/Rez.tmbundle/Syntaxes/Rez.plist +219 -0
- data/textmate/Bundles/Ruby Haml.tmbundle/Syntaxes/Ruby_Haml.tmLanguage +403 -0
- data/textmate/Bundles/Ruby RSpec.tmbundle/Syntaxes/RSpec.tmLanguage +142 -0
- data/textmate/Bundles/Ruby.tmbundle/Syntaxes/Ruby.plist +139 -49
- data/textmate/Bundles/SQL.tmbundle/Syntaxes/SQL.plist +705 -0
- data/textmate/Bundles/SSH-Config.tmbundle/Syntaxes/SSH__Config.tmLanguage +88 -0
- data/textmate/Bundles/Scala.tmbundle/Syntaxes/Scala.tmLanguage +609 -0
- data/textmate/Bundles/Scala.tmbundle/Syntaxes/Scala_Properties.tmLanguage +54 -0
- data/textmate/Bundles/ShellScript.tmbundle/Syntaxes/Shell__Unix__Generic.plist +1855 -0
- data/textmate/Bundles/Tabular.tmbundle/Syntaxes/CSV.tmLanguage +178 -0
- data/textmate/Bundles/Tabular.tmbundle/Syntaxes/TSV.tmLanguage +135 -0
- data/textmate/Bundles/TextMate.tmbundle/Syntaxes/Regular_Expressions___Oniguruma__.tmLanguage +295 -0
- data/textmate/Bundles/TextMate.tmbundle/Syntaxes/Release_Notes.tmLanguage +126 -0
- data/textmate/Bundles/Textile.tmbundle/Syntaxes/Textile.plist +490 -0
- data/textmate/Bundles/Thrift.tmbundle/Syntaxes/Thrift.tmLanguage +1024 -0
- data/textmate/Bundles/XML.tmbundle/Syntaxes/XML.plist +576 -0
- data/textmate/Bundles/XML.tmbundle/Syntaxes/XSL.plist +157 -0
- data/textmate/Bundles/YAML.tmbundle/Syntaxes/YAML.plist +466 -0
- data/textmate/Themes/Django.tmTheme +436 -0
- metadata +371 -325
- data/config/default.yaml +0 -15
- data/lib/freebase2/README.txt +0 -47
- data/lib/freebase2/bin/default.yaml +0 -15
- data/lib/freebase2/bin/install.rb +0 -42
- data/lib/freebase2/bin/run.rb +0 -48
- data/lib/freebase2/lib/freebase/configuration.rb +0 -535
- data/lib/freebase2/lib/freebase/core.rb +0 -197
- data/lib/freebase2/lib/freebase/databus.rb +0 -1128
- data/lib/freebase2/lib/freebase/freebase.rb +0 -60
- data/lib/freebase2/lib/freebase/logger.rb +0 -117
- data/lib/freebase2/lib/freebase/plugin.rb +0 -384
- data/lib/freebase2/lib/freebase/properties.rb +0 -130
- data/lib/freebase2/lib/freebase/readers.rb +0 -328
- data/lib/freebase2/notes +0 -61
- data/lib/freebase2/plugins/raa_webrick/httpd.rb +0 -125
- data/lib/freebase2/plugins/raa_webrick/plugin.yaml +0 -7
- data/lib/freebase2/plugins/raa_webrick/web_root/test.html +0 -5
- data/lib/freebase2/plugins/raa_webrick/webserver.yaml +0 -6
- data/lib/freebase2/plugins/raa_xmlrpc4r/plugin.xml +0 -8
- data/lib/freebase2/plugins/raa_xmlrpc4r/rpcd.rb +0 -54
- data/lib/freebase2/regress/README +0 -1
- data/lib/little_plugger/History.txt +0 -20
- data/lib/little_plugger/Rakefile +0 -34
- data/lib/little_plugger/lib/little-plugger.rb +0 -323
- data/lib/little_plugger/spec/little-plugger_spec.rb +0 -26
- data/lib/little_plugger/spec/spec_helper.rb +0 -16
- data/lib/logging/History.txt +0 -240
- data/lib/logging/Rakefile +0 -37
- data/lib/logging/data/bad_logging_1.rb +0 -13
- data/lib/logging/data/bad_logging_2.rb +0 -21
- data/lib/logging/data/logging.rb +0 -42
- data/lib/logging/data/logging.yaml +0 -63
- data/lib/logging/data/simple_logging.rb +0 -13
- data/lib/logging/examples/appenders.rb +0 -47
- data/lib/logging/examples/classes.rb +0 -41
- data/lib/logging/examples/consolidation.rb +0 -83
- data/lib/logging/examples/formatting.rb +0 -51
- data/lib/logging/examples/hierarchies.rb +0 -73
- data/lib/logging/examples/layouts.rb +0 -48
- data/lib/logging/examples/loggers.rb +0 -29
- data/lib/logging/examples/names.rb +0 -43
- data/lib/logging/examples/simple.rb +0 -17
- data/lib/logging/lib/logging.rb +0 -501
- data/lib/logging/lib/logging/appender.rb +0 -251
- data/lib/logging/lib/logging/appenders.rb +0 -131
- data/lib/logging/lib/logging/appenders/buffering.rb +0 -168
- data/lib/logging/lib/logging/appenders/console.rb +0 -60
- data/lib/logging/lib/logging/appenders/email.rb +0 -75
- data/lib/logging/lib/logging/appenders/file.rb +0 -58
- data/lib/logging/lib/logging/appenders/growl.rb +0 -197
- data/lib/logging/lib/logging/appenders/io.rb +0 -69
- data/lib/logging/lib/logging/appenders/rolling_file.rb +0 -293
- data/lib/logging/lib/logging/appenders/string_io.rb +0 -68
- data/lib/logging/lib/logging/appenders/syslog.rb +0 -194
- data/lib/logging/lib/logging/config/configurator.rb +0 -188
- data/lib/logging/lib/logging/config/yaml_configurator.rb +0 -191
- data/lib/logging/lib/logging/layout.rb +0 -117
- data/lib/logging/lib/logging/layouts.rb +0 -47
- data/lib/logging/lib/logging/layouts/basic.rb +0 -32
- data/lib/logging/lib/logging/layouts/parseable.rb +0 -211
- data/lib/logging/lib/logging/layouts/pattern.rb +0 -311
- data/lib/logging/lib/logging/log_event.rb +0 -45
- data/lib/logging/lib/logging/logger.rb +0 -503
- data/lib/logging/lib/logging/repository.rb +0 -232
- data/lib/logging/lib/logging/root_logger.rb +0 -61
- data/lib/logging/lib/logging/stats.rb +0 -278
- data/lib/logging/lib/logging/utils.rb +0 -153
- data/lib/logging/lib/spec/logging_helper.rb +0 -34
- data/lib/logging/test/appenders/test_buffered_io.rb +0 -176
- data/lib/logging/test/appenders/test_console.rb +0 -66
- data/lib/logging/test/appenders/test_email.rb +0 -170
- data/lib/logging/test/appenders/test_file.rb +0 -95
- data/lib/logging/test/appenders/test_growl.rb +0 -127
- data/lib/logging/test/appenders/test_io.rb +0 -129
- data/lib/logging/test/appenders/test_rolling_file.rb +0 -200
- data/lib/logging/test/appenders/test_syslog.rb +0 -194
- data/lib/logging/test/benchmark.rb +0 -86
- data/lib/logging/test/config/test_configurator.rb +0 -70
- data/lib/logging/test/config/test_yaml_configurator.rb +0 -40
- data/lib/logging/test/layouts/test_basic.rb +0 -42
- data/lib/logging/test/layouts/test_json.rb +0 -112
- data/lib/logging/test/layouts/test_pattern.rb +0 -198
- data/lib/logging/test/layouts/test_yaml.rb +0 -121
- data/lib/logging/test/setup.rb +0 -44
- data/lib/logging/test/test_appender.rb +0 -152
- data/lib/logging/test/test_consolidate.rb +0 -46
- data/lib/logging/test/test_layout.rb +0 -110
- data/lib/logging/test/test_log_event.rb +0 -80
- data/lib/logging/test/test_logger.rb +0 -699
- data/lib/logging/test/test_logging.rb +0 -267
- data/lib/logging/test/test_repository.rb +0 -158
- data/lib/logging/test/test_root_logger.rb +0 -81
- data/lib/logging/test/test_stats.rb +0 -274
- data/lib/logging/test/test_utils.rb +0 -116
- data/plugins/application/plugin.yaml +0 -11
- data/plugins/application_swt/plugin.yaml +0 -11
- data/plugins/auto_indenter/plugin.yaml +0 -12
- data/plugins/core/plugin.yaml +0 -7
- data/plugins/edit_view/plugin.yaml +0 -14
- data/plugins/edit_view_swt/plugin.yaml +0 -14
- data/plugins/project/plugin.yaml +0 -12
- data/plugins/redcar/plugin.yaml +0 -18
- data/plugins/repl/plugin.yaml +0 -12
- data/plugins/tree/plugin.yaml +0 -14
- data/plugins/tree_view_swt/plugin.yaml +0 -14
@@ -0,0 +1,705 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>fileTypes</key>
|
6
|
+
<array>
|
7
|
+
<string>sql</string>
|
8
|
+
<string>ddl</string>
|
9
|
+
<string>dml</string>
|
10
|
+
</array>
|
11
|
+
<key>foldingStartMarker</key>
|
12
|
+
<string>\s*\(\s*$</string>
|
13
|
+
<key>foldingStopMarker</key>
|
14
|
+
<string>^\s*\)</string>
|
15
|
+
<key>keyEquivalent</key>
|
16
|
+
<string>^~S</string>
|
17
|
+
<key>name</key>
|
18
|
+
<string>SQL</string>
|
19
|
+
<key>patterns</key>
|
20
|
+
<array>
|
21
|
+
<dict>
|
22
|
+
<key>include</key>
|
23
|
+
<string>#comments</string>
|
24
|
+
</dict>
|
25
|
+
<dict>
|
26
|
+
<key>captures</key>
|
27
|
+
<dict>
|
28
|
+
<key>1</key>
|
29
|
+
<dict>
|
30
|
+
<key>name</key>
|
31
|
+
<string>keyword.other.create.sql</string>
|
32
|
+
</dict>
|
33
|
+
<key>2</key>
|
34
|
+
<dict>
|
35
|
+
<key>name</key>
|
36
|
+
<string>keyword.other.sql</string>
|
37
|
+
</dict>
|
38
|
+
<key>5</key>
|
39
|
+
<dict>
|
40
|
+
<key>name</key>
|
41
|
+
<string>entity.name.function.sql</string>
|
42
|
+
</dict>
|
43
|
+
</dict>
|
44
|
+
<key>match</key>
|
45
|
+
<string>(?i:^\s*(create)\s+(aggregate|conversion|database|domain|function|group|(unique\s+)?index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\s+)(['"`]?)(\w+)\4</string>
|
46
|
+
<key>name</key>
|
47
|
+
<string>meta.create.sql</string>
|
48
|
+
</dict>
|
49
|
+
<dict>
|
50
|
+
<key>captures</key>
|
51
|
+
<dict>
|
52
|
+
<key>1</key>
|
53
|
+
<dict>
|
54
|
+
<key>name</key>
|
55
|
+
<string>keyword.other.create.sql</string>
|
56
|
+
</dict>
|
57
|
+
<key>2</key>
|
58
|
+
<dict>
|
59
|
+
<key>name</key>
|
60
|
+
<string>keyword.other.sql</string>
|
61
|
+
</dict>
|
62
|
+
</dict>
|
63
|
+
<key>match</key>
|
64
|
+
<string>(?i:^\s*(drop)\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view))</string>
|
65
|
+
<key>name</key>
|
66
|
+
<string>meta.drop.sql</string>
|
67
|
+
</dict>
|
68
|
+
<dict>
|
69
|
+
<key>captures</key>
|
70
|
+
<dict>
|
71
|
+
<key>1</key>
|
72
|
+
<dict>
|
73
|
+
<key>name</key>
|
74
|
+
<string>keyword.other.create.sql</string>
|
75
|
+
</dict>
|
76
|
+
<key>2</key>
|
77
|
+
<dict>
|
78
|
+
<key>name</key>
|
79
|
+
<string>keyword.other.table.sql</string>
|
80
|
+
</dict>
|
81
|
+
<key>3</key>
|
82
|
+
<dict>
|
83
|
+
<key>name</key>
|
84
|
+
<string>entity.name.function.sql</string>
|
85
|
+
</dict>
|
86
|
+
<key>4</key>
|
87
|
+
<dict>
|
88
|
+
<key>name</key>
|
89
|
+
<string>keyword.other.cascade.sql</string>
|
90
|
+
</dict>
|
91
|
+
</dict>
|
92
|
+
<key>match</key>
|
93
|
+
<string>(?i:\s*(drop)\s+(table)\s+(\w+)(\s+cascade)?\b)</string>
|
94
|
+
<key>name</key>
|
95
|
+
<string>meta.drop.sql</string>
|
96
|
+
</dict>
|
97
|
+
<dict>
|
98
|
+
<key>captures</key>
|
99
|
+
<dict>
|
100
|
+
<key>1</key>
|
101
|
+
<dict>
|
102
|
+
<key>name</key>
|
103
|
+
<string>keyword.other.create.sql</string>
|
104
|
+
</dict>
|
105
|
+
<key>2</key>
|
106
|
+
<dict>
|
107
|
+
<key>name</key>
|
108
|
+
<string>keyword.other.table.sql</string>
|
109
|
+
</dict>
|
110
|
+
</dict>
|
111
|
+
<key>match</key>
|
112
|
+
<string>(?i:^\s*(alter)\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\s+)</string>
|
113
|
+
<key>name</key>
|
114
|
+
<string>meta.alter.sql</string>
|
115
|
+
</dict>
|
116
|
+
<dict>
|
117
|
+
<key>captures</key>
|
118
|
+
<dict>
|
119
|
+
<key>1</key>
|
120
|
+
<dict>
|
121
|
+
<key>name</key>
|
122
|
+
<string>storage.type.sql</string>
|
123
|
+
</dict>
|
124
|
+
<key>10</key>
|
125
|
+
<dict>
|
126
|
+
<key>name</key>
|
127
|
+
<string>constant.numeric.sql</string>
|
128
|
+
</dict>
|
129
|
+
<key>11</key>
|
130
|
+
<dict>
|
131
|
+
<key>name</key>
|
132
|
+
<string>storage.type.sql</string>
|
133
|
+
</dict>
|
134
|
+
<key>12</key>
|
135
|
+
<dict>
|
136
|
+
<key>name</key>
|
137
|
+
<string>storage.type.sql</string>
|
138
|
+
</dict>
|
139
|
+
<key>13</key>
|
140
|
+
<dict>
|
141
|
+
<key>name</key>
|
142
|
+
<string>storage.type.sql</string>
|
143
|
+
</dict>
|
144
|
+
<key>14</key>
|
145
|
+
<dict>
|
146
|
+
<key>name</key>
|
147
|
+
<string>constant.numeric.sql</string>
|
148
|
+
</dict>
|
149
|
+
<key>15</key>
|
150
|
+
<dict>
|
151
|
+
<key>name</key>
|
152
|
+
<string>storage.type.sql</string>
|
153
|
+
</dict>
|
154
|
+
<key>2</key>
|
155
|
+
<dict>
|
156
|
+
<key>name</key>
|
157
|
+
<string>storage.type.sql</string>
|
158
|
+
</dict>
|
159
|
+
<key>3</key>
|
160
|
+
<dict>
|
161
|
+
<key>name</key>
|
162
|
+
<string>constant.numeric.sql</string>
|
163
|
+
</dict>
|
164
|
+
<key>4</key>
|
165
|
+
<dict>
|
166
|
+
<key>name</key>
|
167
|
+
<string>storage.type.sql</string>
|
168
|
+
</dict>
|
169
|
+
<key>5</key>
|
170
|
+
<dict>
|
171
|
+
<key>name</key>
|
172
|
+
<string>constant.numeric.sql</string>
|
173
|
+
</dict>
|
174
|
+
<key>6</key>
|
175
|
+
<dict>
|
176
|
+
<key>name</key>
|
177
|
+
<string>storage.type.sql</string>
|
178
|
+
</dict>
|
179
|
+
<key>7</key>
|
180
|
+
<dict>
|
181
|
+
<key>name</key>
|
182
|
+
<string>constant.numeric.sql</string>
|
183
|
+
</dict>
|
184
|
+
<key>8</key>
|
185
|
+
<dict>
|
186
|
+
<key>name</key>
|
187
|
+
<string>constant.numeric.sql</string>
|
188
|
+
</dict>
|
189
|
+
<key>9</key>
|
190
|
+
<dict>
|
191
|
+
<key>name</key>
|
192
|
+
<string>storage.type.sql</string>
|
193
|
+
</dict>
|
194
|
+
</dict>
|
195
|
+
<key>match</key>
|
196
|
+
<string>(?xi)
|
197
|
+
|
198
|
+
# normal stuff, capture 1
|
199
|
+
\b(bigint|bigserial|bit|boolean|box|bytea|cidr|circle|date|double\sprecision|inet|int|integer|line|lseg|macaddr|money|oid|path|point|polygon|real|serial|smallint|sysdate|text)\b
|
200
|
+
|
201
|
+
# numeric suffix, capture 2 + 3i
|
202
|
+
|\b(bit\svarying|character\s(?:varying)?|tinyint|var\schar|float|interval)\((\d+)\)
|
203
|
+
|
204
|
+
# optional numeric suffix, capture 4 + 5i
|
205
|
+
|\b(char|number|varchar\d?)\b(?:\((\d+)\))?
|
206
|
+
|
207
|
+
# special case, capture 6 + 7i + 8i
|
208
|
+
|\b(numeric)\b(?:\((\d+),(\d+)\))?
|
209
|
+
|
210
|
+
# special case, captures 9, 10i, 11
|
211
|
+
|\b(times)(?:\((\d+)\))(\swithoutstimeszone\b)?
|
212
|
+
|
213
|
+
# special case, captures 12, 13, 14i, 15
|
214
|
+
|\b(timestamp)(?:(s)\((\d+)\)(\swithoutstimeszone\b)?)?
|
215
|
+
|
216
|
+
</string>
|
217
|
+
</dict>
|
218
|
+
<dict>
|
219
|
+
<key>match</key>
|
220
|
+
<string>(?i:\b((?:primary|foreign)\s+key|references|on\sdelete(\s+cascade)?|check|constraint)\b)</string>
|
221
|
+
<key>name</key>
|
222
|
+
<string>storage.modifier.sql</string>
|
223
|
+
</dict>
|
224
|
+
<dict>
|
225
|
+
<key>match</key>
|
226
|
+
<string>\b\d+\b</string>
|
227
|
+
<key>name</key>
|
228
|
+
<string>constant.numeric.sql</string>
|
229
|
+
</dict>
|
230
|
+
<dict>
|
231
|
+
<key>match</key>
|
232
|
+
<string>(?i:\b(select(\s+distinct)?|insert\s+(ignore\s+)?into|update|delete|from|set|where|group\sby|or|like|and|union(\s+all)?|having|order\sby|limit|(inner|cross)\s+join|join|straight_join|(left|right)(\s+outer)?\s+join|natural(\s+(left|right)(\s+outer)?)?\s+join)\b)</string>
|
233
|
+
<key>name</key>
|
234
|
+
<string>keyword.other.DML.sql</string>
|
235
|
+
</dict>
|
236
|
+
<dict>
|
237
|
+
<key>match</key>
|
238
|
+
<string>(?i:\b(on|((is\s+)?not\s+)?null)\b)</string>
|
239
|
+
<key>name</key>
|
240
|
+
<string>keyword.other.DDL.create.II.sql</string>
|
241
|
+
</dict>
|
242
|
+
<dict>
|
243
|
+
<key>match</key>
|
244
|
+
<string>(?i:\bvalues\b)</string>
|
245
|
+
<key>name</key>
|
246
|
+
<string>keyword.other.DML.II.sql</string>
|
247
|
+
</dict>
|
248
|
+
<dict>
|
249
|
+
<key>match</key>
|
250
|
+
<string>(?i:\b(begin(\s+work)?|start\s+transaction|commit(\s+work)?|rollback(\s+work)?)\b)</string>
|
251
|
+
<key>name</key>
|
252
|
+
<string>keyword.other.LUW.sql</string>
|
253
|
+
</dict>
|
254
|
+
<dict>
|
255
|
+
<key>match</key>
|
256
|
+
<string>(?i:\b(grant(\swith\sgrant\soption)?|revoke)\b)</string>
|
257
|
+
<key>name</key>
|
258
|
+
<string>keyword.other.authorization.sql</string>
|
259
|
+
</dict>
|
260
|
+
<dict>
|
261
|
+
<key>match</key>
|
262
|
+
<string>(?i:\bin\b)</string>
|
263
|
+
<key>name</key>
|
264
|
+
<string>keyword.other.data-integrity.sql</string>
|
265
|
+
</dict>
|
266
|
+
<dict>
|
267
|
+
<key>match</key>
|
268
|
+
<string>(?i:^\s*(comment\s+on\s+(table|column|aggregate|constraint|database|domain|function|index|operator|rule|schema|sequence|trigger|type|view))\s+.*?\s+(is)\s+)</string>
|
269
|
+
<key>name</key>
|
270
|
+
<string>keyword.other.object-comments.sql</string>
|
271
|
+
</dict>
|
272
|
+
<dict>
|
273
|
+
<key>match</key>
|
274
|
+
<string>(?i)\bAS\b</string>
|
275
|
+
<key>name</key>
|
276
|
+
<string>keyword.other.alias.sql</string>
|
277
|
+
</dict>
|
278
|
+
<dict>
|
279
|
+
<key>match</key>
|
280
|
+
<string>(?i)\b(DESC|ASC)\b</string>
|
281
|
+
<key>name</key>
|
282
|
+
<string>keyword.other.order.sql</string>
|
283
|
+
</dict>
|
284
|
+
<dict>
|
285
|
+
<key>match</key>
|
286
|
+
<string>\*</string>
|
287
|
+
<key>name</key>
|
288
|
+
<string>keyword.operator.star.sql</string>
|
289
|
+
</dict>
|
290
|
+
<dict>
|
291
|
+
<key>match</key>
|
292
|
+
<string>[!<>]?=|<>|<|></string>
|
293
|
+
<key>name</key>
|
294
|
+
<string>keyword.operator.comparison.sql</string>
|
295
|
+
</dict>
|
296
|
+
<dict>
|
297
|
+
<key>match</key>
|
298
|
+
<string>-|\+|/</string>
|
299
|
+
<key>name</key>
|
300
|
+
<string>keyword.operator.math.sql</string>
|
301
|
+
</dict>
|
302
|
+
<dict>
|
303
|
+
<key>match</key>
|
304
|
+
<string>\|\|</string>
|
305
|
+
<key>name</key>
|
306
|
+
<string>keyword.operator.concatenator.sql</string>
|
307
|
+
</dict>
|
308
|
+
<dict>
|
309
|
+
<key>comment</key>
|
310
|
+
<string>List of SQL99 built-in functions from http://www.oreilly.com/catalog/sqlnut/chapter/ch04.html</string>
|
311
|
+
<key>match</key>
|
312
|
+
<string>(?i)\b(CURRENT_(DATE|TIME(STAMP)?|USER)|(SESSION|SYSTEM)_USER)\b</string>
|
313
|
+
<key>name</key>
|
314
|
+
<string>support.function.scalar.sql</string>
|
315
|
+
</dict>
|
316
|
+
<dict>
|
317
|
+
<key>comment</key>
|
318
|
+
<string>List of SQL99 built-in functions from http://www.oreilly.com/catalog/sqlnut/chapter/ch04.html</string>
|
319
|
+
<key>match</key>
|
320
|
+
<string>(?i)\b(AVG|COUNT|MIN|MAX|SUM)(?=\s*\()</string>
|
321
|
+
<key>name</key>
|
322
|
+
<string>support.function.aggregate.sql</string>
|
323
|
+
</dict>
|
324
|
+
<dict>
|
325
|
+
<key>match</key>
|
326
|
+
<string>(?i)\b(CONCATENATE|CONVERT|LOWER|SUBSTRING|TRANSLATE|TRIM|UPPER)\b</string>
|
327
|
+
<key>name</key>
|
328
|
+
<string>support.function.string.sql</string>
|
329
|
+
</dict>
|
330
|
+
<dict>
|
331
|
+
<key>captures</key>
|
332
|
+
<dict>
|
333
|
+
<key>1</key>
|
334
|
+
<dict>
|
335
|
+
<key>name</key>
|
336
|
+
<string>constant.other.database-name.sql</string>
|
337
|
+
</dict>
|
338
|
+
<key>2</key>
|
339
|
+
<dict>
|
340
|
+
<key>name</key>
|
341
|
+
<string>constant.other.table-name.sql</string>
|
342
|
+
</dict>
|
343
|
+
</dict>
|
344
|
+
<key>match</key>
|
345
|
+
<string>(\w+?)\.(\w+)</string>
|
346
|
+
</dict>
|
347
|
+
<dict>
|
348
|
+
<key>include</key>
|
349
|
+
<string>#strings</string>
|
350
|
+
</dict>
|
351
|
+
<dict>
|
352
|
+
<key>include</key>
|
353
|
+
<string>#regexps</string>
|
354
|
+
</dict>
|
355
|
+
</array>
|
356
|
+
<key>repository</key>
|
357
|
+
<dict>
|
358
|
+
<key>comments</key>
|
359
|
+
<dict>
|
360
|
+
<key>patterns</key>
|
361
|
+
<array>
|
362
|
+
<dict>
|
363
|
+
<key>captures</key>
|
364
|
+
<dict>
|
365
|
+
<key>1</key>
|
366
|
+
<dict>
|
367
|
+
<key>name</key>
|
368
|
+
<string>punctuation.definition.comment.sql</string>
|
369
|
+
</dict>
|
370
|
+
</dict>
|
371
|
+
<key>match</key>
|
372
|
+
<string>(--).*$\n?</string>
|
373
|
+
<key>name</key>
|
374
|
+
<string>comment.line.double-dash.sql</string>
|
375
|
+
</dict>
|
376
|
+
<dict>
|
377
|
+
<key>captures</key>
|
378
|
+
<dict>
|
379
|
+
<key>1</key>
|
380
|
+
<dict>
|
381
|
+
<key>name</key>
|
382
|
+
<string>punctuation.definition.comment.sql</string>
|
383
|
+
</dict>
|
384
|
+
</dict>
|
385
|
+
<key>match</key>
|
386
|
+
<string>(#).*$\n?</string>
|
387
|
+
<key>name</key>
|
388
|
+
<string>comment.line.number-sign.sql</string>
|
389
|
+
</dict>
|
390
|
+
<dict>
|
391
|
+
<key>begin</key>
|
392
|
+
<string>/\*</string>
|
393
|
+
<key>captures</key>
|
394
|
+
<dict>
|
395
|
+
<key>0</key>
|
396
|
+
<dict>
|
397
|
+
<key>name</key>
|
398
|
+
<string>punctuation.definition.comment.sql</string>
|
399
|
+
</dict>
|
400
|
+
</dict>
|
401
|
+
<key>end</key>
|
402
|
+
<string>\*/</string>
|
403
|
+
<key>name</key>
|
404
|
+
<string>comment.block.c</string>
|
405
|
+
</dict>
|
406
|
+
</array>
|
407
|
+
</dict>
|
408
|
+
<key>regexps</key>
|
409
|
+
<dict>
|
410
|
+
<key>patterns</key>
|
411
|
+
<array>
|
412
|
+
<dict>
|
413
|
+
<key>begin</key>
|
414
|
+
<string>/(?=\S.*/)</string>
|
415
|
+
<key>beginCaptures</key>
|
416
|
+
<dict>
|
417
|
+
<key>0</key>
|
418
|
+
<dict>
|
419
|
+
<key>name</key>
|
420
|
+
<string>punctuation.definition.string.begin.sql</string>
|
421
|
+
</dict>
|
422
|
+
</dict>
|
423
|
+
<key>end</key>
|
424
|
+
<string>/</string>
|
425
|
+
<key>endCaptures</key>
|
426
|
+
<dict>
|
427
|
+
<key>0</key>
|
428
|
+
<dict>
|
429
|
+
<key>name</key>
|
430
|
+
<string>punctuation.definition.string.end.sql</string>
|
431
|
+
</dict>
|
432
|
+
</dict>
|
433
|
+
<key>name</key>
|
434
|
+
<string>string.regexp.sql</string>
|
435
|
+
<key>patterns</key>
|
436
|
+
<array>
|
437
|
+
<dict>
|
438
|
+
<key>include</key>
|
439
|
+
<string>#string_interpolation</string>
|
440
|
+
</dict>
|
441
|
+
<dict>
|
442
|
+
<key>match</key>
|
443
|
+
<string>\\/</string>
|
444
|
+
<key>name</key>
|
445
|
+
<string>constant.character.escape.slash.sql</string>
|
446
|
+
</dict>
|
447
|
+
</array>
|
448
|
+
</dict>
|
449
|
+
<dict>
|
450
|
+
<key>begin</key>
|
451
|
+
<string>%r\{</string>
|
452
|
+
<key>beginCaptures</key>
|
453
|
+
<dict>
|
454
|
+
<key>0</key>
|
455
|
+
<dict>
|
456
|
+
<key>name</key>
|
457
|
+
<string>punctuation.definition.string.begin.sql</string>
|
458
|
+
</dict>
|
459
|
+
</dict>
|
460
|
+
<key>comment</key>
|
461
|
+
<string>We should probably handle nested bracket pairs!?! -- Allan</string>
|
462
|
+
<key>end</key>
|
463
|
+
<string>\}</string>
|
464
|
+
<key>endCaptures</key>
|
465
|
+
<dict>
|
466
|
+
<key>0</key>
|
467
|
+
<dict>
|
468
|
+
<key>name</key>
|
469
|
+
<string>punctuation.definition.string.end.sql</string>
|
470
|
+
</dict>
|
471
|
+
</dict>
|
472
|
+
<key>name</key>
|
473
|
+
<string>string.regexp.modr.sql</string>
|
474
|
+
<key>patterns</key>
|
475
|
+
<array>
|
476
|
+
<dict>
|
477
|
+
<key>include</key>
|
478
|
+
<string>#string_interpolation</string>
|
479
|
+
</dict>
|
480
|
+
</array>
|
481
|
+
</dict>
|
482
|
+
</array>
|
483
|
+
</dict>
|
484
|
+
<key>string_escape</key>
|
485
|
+
<dict>
|
486
|
+
<key>match</key>
|
487
|
+
<string>\\.</string>
|
488
|
+
<key>name</key>
|
489
|
+
<string>constant.character.escape.sql</string>
|
490
|
+
</dict>
|
491
|
+
<key>string_interpolation</key>
|
492
|
+
<dict>
|
493
|
+
<key>captures</key>
|
494
|
+
<dict>
|
495
|
+
<key>1</key>
|
496
|
+
<dict>
|
497
|
+
<key>name</key>
|
498
|
+
<string>punctuation.definition.string.end.sql</string>
|
499
|
+
</dict>
|
500
|
+
</dict>
|
501
|
+
<key>match</key>
|
502
|
+
<string>(#\{)([^\}]*)(\})</string>
|
503
|
+
<key>name</key>
|
504
|
+
<string>string.interpolated.sql</string>
|
505
|
+
</dict>
|
506
|
+
<key>strings</key>
|
507
|
+
<dict>
|
508
|
+
<key>patterns</key>
|
509
|
+
<array>
|
510
|
+
<dict>
|
511
|
+
<key>captures</key>
|
512
|
+
<dict>
|
513
|
+
<key>1</key>
|
514
|
+
<dict>
|
515
|
+
<key>name</key>
|
516
|
+
<string>punctuation.definition.string.begin.sql</string>
|
517
|
+
</dict>
|
518
|
+
<key>3</key>
|
519
|
+
<dict>
|
520
|
+
<key>name</key>
|
521
|
+
<string>punctuation.definition.string.end.sql</string>
|
522
|
+
</dict>
|
523
|
+
</dict>
|
524
|
+
<key>comment</key>
|
525
|
+
<string>this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.</string>
|
526
|
+
<key>match</key>
|
527
|
+
<string>(')[^'\\]*(')</string>
|
528
|
+
<key>name</key>
|
529
|
+
<string>string.quoted.single.sql</string>
|
530
|
+
</dict>
|
531
|
+
<dict>
|
532
|
+
<key>begin</key>
|
533
|
+
<string>'</string>
|
534
|
+
<key>beginCaptures</key>
|
535
|
+
<dict>
|
536
|
+
<key>0</key>
|
537
|
+
<dict>
|
538
|
+
<key>name</key>
|
539
|
+
<string>punctuation.definition.string.begin.sql</string>
|
540
|
+
</dict>
|
541
|
+
</dict>
|
542
|
+
<key>end</key>
|
543
|
+
<string>'</string>
|
544
|
+
<key>endCaptures</key>
|
545
|
+
<dict>
|
546
|
+
<key>0</key>
|
547
|
+
<dict>
|
548
|
+
<key>name</key>
|
549
|
+
<string>punctuation.definition.string.end.sql</string>
|
550
|
+
</dict>
|
551
|
+
</dict>
|
552
|
+
<key>name</key>
|
553
|
+
<string>string.quoted.single.sql</string>
|
554
|
+
<key>patterns</key>
|
555
|
+
<array>
|
556
|
+
<dict>
|
557
|
+
<key>include</key>
|
558
|
+
<string>#string_escape</string>
|
559
|
+
</dict>
|
560
|
+
</array>
|
561
|
+
</dict>
|
562
|
+
<dict>
|
563
|
+
<key>captures</key>
|
564
|
+
<dict>
|
565
|
+
<key>1</key>
|
566
|
+
<dict>
|
567
|
+
<key>name</key>
|
568
|
+
<string>punctuation.definition.string.begin.sql</string>
|
569
|
+
</dict>
|
570
|
+
<key>3</key>
|
571
|
+
<dict>
|
572
|
+
<key>name</key>
|
573
|
+
<string>punctuation.definition.string.end.sql</string>
|
574
|
+
</dict>
|
575
|
+
</dict>
|
576
|
+
<key>comment</key>
|
577
|
+
<string>this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.</string>
|
578
|
+
<key>match</key>
|
579
|
+
<string>(`)[^`\\]*(`)</string>
|
580
|
+
<key>name</key>
|
581
|
+
<string>string.quoted.other.backtick.sql</string>
|
582
|
+
</dict>
|
583
|
+
<dict>
|
584
|
+
<key>begin</key>
|
585
|
+
<string>`</string>
|
586
|
+
<key>beginCaptures</key>
|
587
|
+
<dict>
|
588
|
+
<key>0</key>
|
589
|
+
<dict>
|
590
|
+
<key>name</key>
|
591
|
+
<string>punctuation.definition.string.begin.sql</string>
|
592
|
+
</dict>
|
593
|
+
</dict>
|
594
|
+
<key>end</key>
|
595
|
+
<string>`</string>
|
596
|
+
<key>endCaptures</key>
|
597
|
+
<dict>
|
598
|
+
<key>0</key>
|
599
|
+
<dict>
|
600
|
+
<key>name</key>
|
601
|
+
<string>punctuation.definition.string.end.sql</string>
|
602
|
+
</dict>
|
603
|
+
</dict>
|
604
|
+
<key>name</key>
|
605
|
+
<string>string.quoted.other.backtick.sql</string>
|
606
|
+
<key>patterns</key>
|
607
|
+
<array>
|
608
|
+
<dict>
|
609
|
+
<key>include</key>
|
610
|
+
<string>#string_escape</string>
|
611
|
+
</dict>
|
612
|
+
</array>
|
613
|
+
</dict>
|
614
|
+
<dict>
|
615
|
+
<key>captures</key>
|
616
|
+
<dict>
|
617
|
+
<key>1</key>
|
618
|
+
<dict>
|
619
|
+
<key>name</key>
|
620
|
+
<string>punctuation.definition.string.begin.sql</string>
|
621
|
+
</dict>
|
622
|
+
<key>3</key>
|
623
|
+
<dict>
|
624
|
+
<key>name</key>
|
625
|
+
<string>punctuation.definition.string.end.sql</string>
|
626
|
+
</dict>
|
627
|
+
</dict>
|
628
|
+
<key>comment</key>
|
629
|
+
<string>this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.</string>
|
630
|
+
<key>match</key>
|
631
|
+
<string>(")[^"#]*(")</string>
|
632
|
+
<key>name</key>
|
633
|
+
<string>string.quoted.double.sql</string>
|
634
|
+
</dict>
|
635
|
+
<dict>
|
636
|
+
<key>begin</key>
|
637
|
+
<string>"</string>
|
638
|
+
<key>beginCaptures</key>
|
639
|
+
<dict>
|
640
|
+
<key>0</key>
|
641
|
+
<dict>
|
642
|
+
<key>name</key>
|
643
|
+
<string>punctuation.definition.string.begin.sql</string>
|
644
|
+
</dict>
|
645
|
+
</dict>
|
646
|
+
<key>end</key>
|
647
|
+
<string>"</string>
|
648
|
+
<key>endCaptures</key>
|
649
|
+
<dict>
|
650
|
+
<key>0</key>
|
651
|
+
<dict>
|
652
|
+
<key>name</key>
|
653
|
+
<string>punctuation.definition.string.end.sql</string>
|
654
|
+
</dict>
|
655
|
+
</dict>
|
656
|
+
<key>name</key>
|
657
|
+
<string>string.quoted.double.sql</string>
|
658
|
+
<key>patterns</key>
|
659
|
+
<array>
|
660
|
+
<dict>
|
661
|
+
<key>include</key>
|
662
|
+
<string>#string_interpolation</string>
|
663
|
+
</dict>
|
664
|
+
</array>
|
665
|
+
</dict>
|
666
|
+
<dict>
|
667
|
+
<key>begin</key>
|
668
|
+
<string>%\{</string>
|
669
|
+
<key>beginCaptures</key>
|
670
|
+
<dict>
|
671
|
+
<key>0</key>
|
672
|
+
<dict>
|
673
|
+
<key>name</key>
|
674
|
+
<string>punctuation.definition.string.begin.sql</string>
|
675
|
+
</dict>
|
676
|
+
</dict>
|
677
|
+
<key>end</key>
|
678
|
+
<string>\}</string>
|
679
|
+
<key>endCaptures</key>
|
680
|
+
<dict>
|
681
|
+
<key>0</key>
|
682
|
+
<dict>
|
683
|
+
<key>name</key>
|
684
|
+
<string>punctuation.definition.string.end.sql</string>
|
685
|
+
</dict>
|
686
|
+
</dict>
|
687
|
+
<key>name</key>
|
688
|
+
<string>string.other.quoted.brackets.sql</string>
|
689
|
+
<key>patterns</key>
|
690
|
+
<array>
|
691
|
+
<dict>
|
692
|
+
<key>include</key>
|
693
|
+
<string>#string_interpolation</string>
|
694
|
+
</dict>
|
695
|
+
</array>
|
696
|
+
</dict>
|
697
|
+
</array>
|
698
|
+
</dict>
|
699
|
+
</dict>
|
700
|
+
<key>scopeName</key>
|
701
|
+
<string>source.sql</string>
|
702
|
+
<key>uuid</key>
|
703
|
+
<string>C49120AC-6ECC-11D9-ACC8-000D93589AF6</string>
|
704
|
+
</dict>
|
705
|
+
</plist>
|