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,1024 @@
|
|
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>thrift</string>
|
8
|
+
</array>
|
9
|
+
<key>foldingStartMarker</key>
|
10
|
+
<string>\{\s*$</string>
|
11
|
+
<key>foldingStopMarker</key>
|
12
|
+
<string>^\s*\}</string>
|
13
|
+
<key>keyEquivalent</key>
|
14
|
+
<string>^~T</string>
|
15
|
+
<key>name</key>
|
16
|
+
<string>Thrift</string>
|
17
|
+
<key>patterns</key>
|
18
|
+
<array>
|
19
|
+
<dict>
|
20
|
+
<key>include</key>
|
21
|
+
<string>#comments</string>
|
22
|
+
</dict>
|
23
|
+
<dict>
|
24
|
+
<key>captures</key>
|
25
|
+
<dict>
|
26
|
+
<key>1</key>
|
27
|
+
<dict>
|
28
|
+
<key>name</key>
|
29
|
+
<string>keyword.other.include.thrift</string>
|
30
|
+
</dict>
|
31
|
+
<key>2</key>
|
32
|
+
<dict>
|
33
|
+
<key>name</key>
|
34
|
+
<string>string.quoted.thrift</string>
|
35
|
+
</dict>
|
36
|
+
<key>3</key>
|
37
|
+
<dict>
|
38
|
+
<key>name</key>
|
39
|
+
<string>punctuation.definition.string.begin.thrift</string>
|
40
|
+
</dict>
|
41
|
+
<key>4</key>
|
42
|
+
<dict>
|
43
|
+
<key>name</key>
|
44
|
+
<string>punctuation.definition.string.end.thrift</string>
|
45
|
+
</dict>
|
46
|
+
</dict>
|
47
|
+
<key>match</key>
|
48
|
+
<string>(?<!\S)(include)(?!\S)(?:\s+((['"])(?>.*?(\3))))?</string>
|
49
|
+
<key>name</key>
|
50
|
+
<string>meta.include.thrift</string>
|
51
|
+
</dict>
|
52
|
+
<dict>
|
53
|
+
<key>captures</key>
|
54
|
+
<dict>
|
55
|
+
<key>1</key>
|
56
|
+
<dict>
|
57
|
+
<key>name</key>
|
58
|
+
<string>keyword.other.cpp-include.thrift</string>
|
59
|
+
</dict>
|
60
|
+
<key>2</key>
|
61
|
+
<dict>
|
62
|
+
<key>name</key>
|
63
|
+
<string>string.quoted.thrift</string>
|
64
|
+
</dict>
|
65
|
+
<key>3</key>
|
66
|
+
<dict>
|
67
|
+
<key>name</key>
|
68
|
+
<string>punctuation.definition.string.begin.thrift</string>
|
69
|
+
</dict>
|
70
|
+
<key>4</key>
|
71
|
+
<dict>
|
72
|
+
<key>name</key>
|
73
|
+
<string>punctuation.definition.string.end.thrift</string>
|
74
|
+
</dict>
|
75
|
+
</dict>
|
76
|
+
<key>match</key>
|
77
|
+
<string>(?<!\S)(cpp_include)(?!\S)(?:\s+((['"])(?>.*?(\3))))?</string>
|
78
|
+
<key>name</key>
|
79
|
+
<string>meta.cpp-include.thrift</string>
|
80
|
+
</dict>
|
81
|
+
<dict>
|
82
|
+
<key>captures</key>
|
83
|
+
<dict>
|
84
|
+
<key>1</key>
|
85
|
+
<dict>
|
86
|
+
<key>name</key>
|
87
|
+
<string>keyword.other.namespace.thrift</string>
|
88
|
+
</dict>
|
89
|
+
<key>2</key>
|
90
|
+
<dict>
|
91
|
+
<key>name</key>
|
92
|
+
<string>support.other.namespace-language.thrift</string>
|
93
|
+
</dict>
|
94
|
+
<key>3</key>
|
95
|
+
<dict>
|
96
|
+
<key>name</key>
|
97
|
+
<string>variable.other.namespace.thrift</string>
|
98
|
+
</dict>
|
99
|
+
</dict>
|
100
|
+
<key>match</key>
|
101
|
+
<string>(?<!\S)(namespace)(?!\S)(?:\s+([a-zA-Z_][\w.]*)(?:\s+([a-zA-Z_][\w.]*))?)?</string>
|
102
|
+
<key>name</key>
|
103
|
+
<string>meta.namespace.thrift</string>
|
104
|
+
</dict>
|
105
|
+
<dict>
|
106
|
+
<key>captures</key>
|
107
|
+
<dict>
|
108
|
+
<key>1</key>
|
109
|
+
<dict>
|
110
|
+
<key>name</key>
|
111
|
+
<string>keyword.other.namespace.thrift</string>
|
112
|
+
</dict>
|
113
|
+
<key>2</key>
|
114
|
+
<dict>
|
115
|
+
<key>name</key>
|
116
|
+
<string>variable.other.namespace.thrift</string>
|
117
|
+
</dict>
|
118
|
+
</dict>
|
119
|
+
<key>match</key>
|
120
|
+
<string>(?<!\S)((?:php|xsd)_namespace)(?!\S)(?:\s+([a-zA-Z_][\w.]*))?</string>
|
121
|
+
<key>name</key>
|
122
|
+
<string>meta.namespace.thrift</string>
|
123
|
+
</dict>
|
124
|
+
<dict>
|
125
|
+
<key>captures</key>
|
126
|
+
<dict>
|
127
|
+
<key>1</key>
|
128
|
+
<dict>
|
129
|
+
<key>name</key>
|
130
|
+
<string>invalid.deprecated.namespace.thrift</string>
|
131
|
+
</dict>
|
132
|
+
<key>2</key>
|
133
|
+
<dict>
|
134
|
+
<key>name</key>
|
135
|
+
<string>variable.other.namespace.thrift</string>
|
136
|
+
</dict>
|
137
|
+
</dict>
|
138
|
+
<key>match</key>
|
139
|
+
<string>(?<!\S)((?:cpp|ruby|csharp)_namespace|py_module|(?:java|perl)_package|smalltalk_(?:category|prefix)|cocoa_prefix)(?!\S)(?:\s+([a-zA-Z_][\w.]*))?</string>
|
140
|
+
</dict>
|
141
|
+
<dict>
|
142
|
+
<key>begin</key>
|
143
|
+
<string>(?=(struct|s?enum|service|const|typedef|exception)\b)</string>
|
144
|
+
<key>comment</key>
|
145
|
+
<string>begin the definition list</string>
|
146
|
+
<key>end</key>
|
147
|
+
<string>(?x)$.^ # this regex should never end</string>
|
148
|
+
<key>patterns</key>
|
149
|
+
<array>
|
150
|
+
<dict>
|
151
|
+
<key>include</key>
|
152
|
+
<string>#comments</string>
|
153
|
+
</dict>
|
154
|
+
<dict>
|
155
|
+
<key>begin</key>
|
156
|
+
<string>(?<!\S)(const)(?!\S)(?:\s+(?<ft>map\s*<\s*\g<ft>\s*,\s*\g<ft>\s*>|set\s*<\s*\g<ft>\s*>|list\s*<\s*\g<ft>\s*>\s*cpp_type|[a-zA-Z_][\w.]*)(?:\s+([a-zA-Z_][\w.]*)(?:\s*=)?)?)?</string>
|
157
|
+
<key>beginCaptures</key>
|
158
|
+
<dict>
|
159
|
+
<key>1</key>
|
160
|
+
<dict>
|
161
|
+
<key>name</key>
|
162
|
+
<string>keyword.other.const.thrift</string>
|
163
|
+
</dict>
|
164
|
+
<key>2</key>
|
165
|
+
<dict>
|
166
|
+
<key>name</key>
|
167
|
+
<string>storage.type.const.thrift</string>
|
168
|
+
</dict>
|
169
|
+
<key>3</key>
|
170
|
+
<dict>
|
171
|
+
<key>name</key>
|
172
|
+
<string>variable.other.const.thrift</string>
|
173
|
+
</dict>
|
174
|
+
</dict>
|
175
|
+
<key>end</key>
|
176
|
+
<string>$|^</string>
|
177
|
+
<key>name</key>
|
178
|
+
<string>meta.const.thrift</string>
|
179
|
+
<key>patterns</key>
|
180
|
+
<array>
|
181
|
+
<dict>
|
182
|
+
<key>include</key>
|
183
|
+
<string>#comments</string>
|
184
|
+
</dict>
|
185
|
+
<dict>
|
186
|
+
<key>include</key>
|
187
|
+
<string>#value</string>
|
188
|
+
</dict>
|
189
|
+
</array>
|
190
|
+
</dict>
|
191
|
+
<dict>
|
192
|
+
<key>begin</key>
|
193
|
+
<string>(?<!\S)(typedef)(?!\S)(?:\s+(?<ft>map\s*<\s*\g<ft>\s*,\s*\g<ft>\s*>|set\s*<\s*\g<ft>\s*>|list\s*<\s*\g<ft>\s*>\s*cpp_type|[a-zA-Z_][\w.]*)(?:\s+([a-zA-Z_][\w.]*))?)?</string>
|
194
|
+
<key>beginCaptures</key>
|
195
|
+
<dict>
|
196
|
+
<key>1</key>
|
197
|
+
<dict>
|
198
|
+
<key>name</key>
|
199
|
+
<string>keyword.other.typedef.thrift</string>
|
200
|
+
</dict>
|
201
|
+
<key>2</key>
|
202
|
+
<dict>
|
203
|
+
<key>name</key>
|
204
|
+
<string>storage.type.typedef.thrift</string>
|
205
|
+
</dict>
|
206
|
+
<key>3</key>
|
207
|
+
<dict>
|
208
|
+
<key>name</key>
|
209
|
+
<string>variable.other.typedef.thrift</string>
|
210
|
+
</dict>
|
211
|
+
</dict>
|
212
|
+
<key>end</key>
|
213
|
+
<string>$|^</string>
|
214
|
+
<key>name</key>
|
215
|
+
<string>meta.typedef.thrift</string>
|
216
|
+
<key>patterns</key>
|
217
|
+
<array>
|
218
|
+
<dict>
|
219
|
+
<key>include</key>
|
220
|
+
<string>#comments</string>
|
221
|
+
</dict>
|
222
|
+
</array>
|
223
|
+
</dict>
|
224
|
+
<dict>
|
225
|
+
<key>begin</key>
|
226
|
+
<string>(?<!\S)(enum)(?!\S)(?:\s+([a-zA-Z_][\w.]*)\s*(?![^\s{]))?</string>
|
227
|
+
<key>beginCaptures</key>
|
228
|
+
<dict>
|
229
|
+
<key>1</key>
|
230
|
+
<dict>
|
231
|
+
<key>name</key>
|
232
|
+
<string>keyword.other.enum.thrift</string>
|
233
|
+
</dict>
|
234
|
+
<key>2</key>
|
235
|
+
<dict>
|
236
|
+
<key>name</key>
|
237
|
+
<string>entity.name.type.enum.thrift</string>
|
238
|
+
</dict>
|
239
|
+
</dict>
|
240
|
+
<key>end</key>
|
241
|
+
<string>(?<=\})|$</string>
|
242
|
+
<key>name</key>
|
243
|
+
<string>meta.enum.thrift</string>
|
244
|
+
<key>patterns</key>
|
245
|
+
<array>
|
246
|
+
<dict>
|
247
|
+
<key>begin</key>
|
248
|
+
<string>\{</string>
|
249
|
+
<key>beginCaptures</key>
|
250
|
+
<dict>
|
251
|
+
<key>0</key>
|
252
|
+
<dict>
|
253
|
+
<key>name</key>
|
254
|
+
<string>punctuation.section.enum.begin.thrift</string>
|
255
|
+
</dict>
|
256
|
+
</dict>
|
257
|
+
<key>end</key>
|
258
|
+
<string>\}</string>
|
259
|
+
<key>endCaptures</key>
|
260
|
+
<dict>
|
261
|
+
<key>0</key>
|
262
|
+
<dict>
|
263
|
+
<key>name</key>
|
264
|
+
<string>punctuation.section.enum.end.thrift</string>
|
265
|
+
</dict>
|
266
|
+
</dict>
|
267
|
+
<key>patterns</key>
|
268
|
+
<array>
|
269
|
+
<dict>
|
270
|
+
<key>captures</key>
|
271
|
+
<dict>
|
272
|
+
<key>1</key>
|
273
|
+
<dict>
|
274
|
+
<key>name</key>
|
275
|
+
<string>variable.other.enum.thrift</string>
|
276
|
+
</dict>
|
277
|
+
<key>2</key>
|
278
|
+
<dict>
|
279
|
+
<key>name</key>
|
280
|
+
<string>constant.numeric.integer.thrift</string>
|
281
|
+
</dict>
|
282
|
+
</dict>
|
283
|
+
<key>match</key>
|
284
|
+
<string>(?<!\S)([a-zA-Z_][\w.]*)(?:\s*=\s*(\d*)(?:\s*[,;])?)?</string>
|
285
|
+
</dict>
|
286
|
+
<dict>
|
287
|
+
<key>include</key>
|
288
|
+
<string>#comments</string>
|
289
|
+
</dict>
|
290
|
+
<dict>
|
291
|
+
<key>match</key>
|
292
|
+
<string>\S</string>
|
293
|
+
<key>name</key>
|
294
|
+
<string>invalid.illegal.thrift</string>
|
295
|
+
</dict>
|
296
|
+
</array>
|
297
|
+
</dict>
|
298
|
+
</array>
|
299
|
+
</dict>
|
300
|
+
<dict>
|
301
|
+
<key>begin</key>
|
302
|
+
<string>(?<!\S)(senum)(?!\S)(?:\s+([a-zA-Z_][\w.]*)\s*(?![^\s{]))?</string>
|
303
|
+
<key>beginCaptures</key>
|
304
|
+
<dict>
|
305
|
+
<key>1</key>
|
306
|
+
<dict>
|
307
|
+
<key>name</key>
|
308
|
+
<string>keyword.other.senum.thrift</string>
|
309
|
+
</dict>
|
310
|
+
<key>2</key>
|
311
|
+
<dict>
|
312
|
+
<key>name</key>
|
313
|
+
<string>entity.name.type.senum.thrift</string>
|
314
|
+
</dict>
|
315
|
+
</dict>
|
316
|
+
<key>end</key>
|
317
|
+
<string>(?<=\})|$</string>
|
318
|
+
<key>name</key>
|
319
|
+
<string>meta.senum.thrift</string>
|
320
|
+
<key>patterns</key>
|
321
|
+
<array>
|
322
|
+
<dict>
|
323
|
+
<key>begin</key>
|
324
|
+
<string>\{</string>
|
325
|
+
<key>beginCaptures</key>
|
326
|
+
<dict>
|
327
|
+
<key>0</key>
|
328
|
+
<dict>
|
329
|
+
<key>name</key>
|
330
|
+
<string>punctuation.section.senum.begin.thrift</string>
|
331
|
+
</dict>
|
332
|
+
</dict>
|
333
|
+
<key>end</key>
|
334
|
+
<string>\}</string>
|
335
|
+
<key>endCaptures</key>
|
336
|
+
<dict>
|
337
|
+
<key>0</key>
|
338
|
+
<dict>
|
339
|
+
<key>name</key>
|
340
|
+
<string>punctuation.section.senum.end.thrift</string>
|
341
|
+
</dict>
|
342
|
+
</dict>
|
343
|
+
<key>patterns</key>
|
344
|
+
<array>
|
345
|
+
<dict>
|
346
|
+
<key>captures</key>
|
347
|
+
<dict>
|
348
|
+
<key>1</key>
|
349
|
+
<dict>
|
350
|
+
<key>name</key>
|
351
|
+
<string>variable.other.senum.thrift</string>
|
352
|
+
</dict>
|
353
|
+
</dict>
|
354
|
+
<key>match</key>
|
355
|
+
<string>(?<!\S)([a-zA-Z_][\w.]*)(?:\s*[,;])?</string>
|
356
|
+
</dict>
|
357
|
+
<dict>
|
358
|
+
<key>include</key>
|
359
|
+
<string>#comments</string>
|
360
|
+
</dict>
|
361
|
+
<dict>
|
362
|
+
<key>match</key>
|
363
|
+
<string>\S</string>
|
364
|
+
<key>name</key>
|
365
|
+
<string>invalid.illegal.thrift</string>
|
366
|
+
</dict>
|
367
|
+
</array>
|
368
|
+
</dict>
|
369
|
+
</array>
|
370
|
+
</dict>
|
371
|
+
<dict>
|
372
|
+
<key>begin</key>
|
373
|
+
<string>(?<!\S)(struct)(?!\S)(?:\s+([a-zA-Z_][\w.]*)\s*(?![^\s{]))?</string>
|
374
|
+
<key>beginCaptures</key>
|
375
|
+
<dict>
|
376
|
+
<key>1</key>
|
377
|
+
<dict>
|
378
|
+
<key>name</key>
|
379
|
+
<string>keyword.other.struct.thrift</string>
|
380
|
+
</dict>
|
381
|
+
<key>2</key>
|
382
|
+
<dict>
|
383
|
+
<key>name</key>
|
384
|
+
<string>entity.name.type.struct.thrift</string>
|
385
|
+
</dict>
|
386
|
+
</dict>
|
387
|
+
<key>end</key>
|
388
|
+
<string>(?<=\})|$</string>
|
389
|
+
<key>name</key>
|
390
|
+
<string>meta.struct.thrift</string>
|
391
|
+
<key>patterns</key>
|
392
|
+
<array>
|
393
|
+
<dict>
|
394
|
+
<key>match</key>
|
395
|
+
<string>(?<!\S)xsd_all(?!\S)</string>
|
396
|
+
<key>name</key>
|
397
|
+
<string>keyword.other.xsd-all.thrift</string>
|
398
|
+
</dict>
|
399
|
+
<dict>
|
400
|
+
<key>begin</key>
|
401
|
+
<string>\{</string>
|
402
|
+
<key>beginCaptures</key>
|
403
|
+
<dict>
|
404
|
+
<key>0</key>
|
405
|
+
<dict>
|
406
|
+
<key>name</key>
|
407
|
+
<string>punctuation.section.struct.begin.thrift</string>
|
408
|
+
</dict>
|
409
|
+
</dict>
|
410
|
+
<key>end</key>
|
411
|
+
<string>\}</string>
|
412
|
+
<key>endCaptures</key>
|
413
|
+
<dict>
|
414
|
+
<key>0</key>
|
415
|
+
<dict>
|
416
|
+
<key>name</key>
|
417
|
+
<string>punctuation.section.struct.end.thrift</string>
|
418
|
+
</dict>
|
419
|
+
</dict>
|
420
|
+
<key>patterns</key>
|
421
|
+
<array>
|
422
|
+
<dict>
|
423
|
+
<key>include</key>
|
424
|
+
<string>#comments</string>
|
425
|
+
</dict>
|
426
|
+
<dict>
|
427
|
+
<key>include</key>
|
428
|
+
<string>#field</string>
|
429
|
+
</dict>
|
430
|
+
</array>
|
431
|
+
</dict>
|
432
|
+
</array>
|
433
|
+
</dict>
|
434
|
+
<dict>
|
435
|
+
<key>begin</key>
|
436
|
+
<string>(?<!\S)(exception)(?!\S)(?:\s+([a-zA-Z_][\w.]*)\s*(?![^\s{]))?</string>
|
437
|
+
<key>beginCaptures</key>
|
438
|
+
<dict>
|
439
|
+
<key>1</key>
|
440
|
+
<dict>
|
441
|
+
<key>name</key>
|
442
|
+
<string>keyword.other.exception.thrift</string>
|
443
|
+
</dict>
|
444
|
+
<key>2</key>
|
445
|
+
<dict>
|
446
|
+
<key>name</key>
|
447
|
+
<string>entity.name.type.exception.thrift</string>
|
448
|
+
</dict>
|
449
|
+
</dict>
|
450
|
+
<key>end</key>
|
451
|
+
<string>(?<=\})|$</string>
|
452
|
+
<key>name</key>
|
453
|
+
<string>meta.exception.thrift</string>
|
454
|
+
<key>patterns</key>
|
455
|
+
<array>
|
456
|
+
<dict>
|
457
|
+
<key>begin</key>
|
458
|
+
<string>\{</string>
|
459
|
+
<key>beginCaptures</key>
|
460
|
+
<dict>
|
461
|
+
<key>0</key>
|
462
|
+
<dict>
|
463
|
+
<key>name</key>
|
464
|
+
<string>punctuation.section.exception.begin.thrift</string>
|
465
|
+
</dict>
|
466
|
+
</dict>
|
467
|
+
<key>end</key>
|
468
|
+
<string>\}</string>
|
469
|
+
<key>endCaptures</key>
|
470
|
+
<dict>
|
471
|
+
<key>0</key>
|
472
|
+
<dict>
|
473
|
+
<key>name</key>
|
474
|
+
<string>punctuation.section.exception.end.thrift</string>
|
475
|
+
</dict>
|
476
|
+
</dict>
|
477
|
+
<key>patterns</key>
|
478
|
+
<array>
|
479
|
+
<dict>
|
480
|
+
<key>include</key>
|
481
|
+
<string>#comments</string>
|
482
|
+
</dict>
|
483
|
+
<dict>
|
484
|
+
<key>include</key>
|
485
|
+
<string>#field</string>
|
486
|
+
</dict>
|
487
|
+
</array>
|
488
|
+
</dict>
|
489
|
+
</array>
|
490
|
+
</dict>
|
491
|
+
<dict>
|
492
|
+
<key>begin</key>
|
493
|
+
<string>(?<!\S)(service)(?!\S)(?:\s+([a-zA-z_][\w.]*)(?:\s+(extends)(?:\s+([a-zA-Z_][\w.]*))?)?\s*(?![^\s{]))?</string>
|
494
|
+
<key>beginCaptures</key>
|
495
|
+
<dict>
|
496
|
+
<key>1</key>
|
497
|
+
<dict>
|
498
|
+
<key>name</key>
|
499
|
+
<string>keyword.other.service.thrift</string>
|
500
|
+
</dict>
|
501
|
+
<key>2</key>
|
502
|
+
<dict>
|
503
|
+
<key>name</key>
|
504
|
+
<string>entity.name.type.service.thrift</string>
|
505
|
+
</dict>
|
506
|
+
<key>3</key>
|
507
|
+
<dict>
|
508
|
+
<key>name</key>
|
509
|
+
<string>keyword.other.service.extends.thrift</string>
|
510
|
+
</dict>
|
511
|
+
<key>4</key>
|
512
|
+
<dict>
|
513
|
+
<key>name</key>
|
514
|
+
<string>entity.other.inherited-class.thrift</string>
|
515
|
+
</dict>
|
516
|
+
</dict>
|
517
|
+
<key>end</key>
|
518
|
+
<string>(?<=\})|$</string>
|
519
|
+
<key>name</key>
|
520
|
+
<string>meta.service.thrift</string>
|
521
|
+
<key>patterns</key>
|
522
|
+
<array>
|
523
|
+
<dict>
|
524
|
+
<key>begin</key>
|
525
|
+
<string>\{</string>
|
526
|
+
<key>beginCaptures</key>
|
527
|
+
<dict>
|
528
|
+
<key>0</key>
|
529
|
+
<dict>
|
530
|
+
<key>name</key>
|
531
|
+
<string>punctuation.section.service.begin.thrift</string>
|
532
|
+
</dict>
|
533
|
+
</dict>
|
534
|
+
<key>end</key>
|
535
|
+
<string>\}</string>
|
536
|
+
<key>endCaptures</key>
|
537
|
+
<dict>
|
538
|
+
<key>0</key>
|
539
|
+
<dict>
|
540
|
+
<key>name</key>
|
541
|
+
<string>punctuation.section.service.end.thrift</string>
|
542
|
+
</dict>
|
543
|
+
</dict>
|
544
|
+
<key>patterns</key>
|
545
|
+
<array>
|
546
|
+
<dict>
|
547
|
+
<key>include</key>
|
548
|
+
<string>#comments</string>
|
549
|
+
</dict>
|
550
|
+
<dict>
|
551
|
+
<key>begin</key>
|
552
|
+
<string>(?x)(?<!\S)
|
553
|
+
(async(?!\S))?\s*
|
554
|
+
(?<ft>
|
555
|
+
map\s*<\s*\g<ft>\s*,\s*\g<ft>\s*> |
|
556
|
+
set\s*<\s*\g<ft>\s*> |
|
557
|
+
list\s*<\s*\g<ft>\s*>\s*(cpp_type(?!\S))? |
|
558
|
+
(?!async\b)[a-zA-Z_][\w.]*
|
559
|
+
)\s*
|
560
|
+
(?:
|
561
|
+
(?<!\S)([a-zA-Z_][\w.]*)\s*(?![^\s(])
|
562
|
+
)?</string>
|
563
|
+
<key>beginCaptures</key>
|
564
|
+
<dict>
|
565
|
+
<key>1</key>
|
566
|
+
<dict>
|
567
|
+
<key>name</key>
|
568
|
+
<string>keyword.other.async.thrift</string>
|
569
|
+
</dict>
|
570
|
+
<key>2</key>
|
571
|
+
<dict>
|
572
|
+
<key>name</key>
|
573
|
+
<string>storage.type.function.thrift</string>
|
574
|
+
</dict>
|
575
|
+
<key>3</key>
|
576
|
+
<dict>
|
577
|
+
<key>name</key>
|
578
|
+
<string>keyword.other.cpp_type.thrift</string>
|
579
|
+
</dict>
|
580
|
+
<key>4</key>
|
581
|
+
<dict>
|
582
|
+
<key>name</key>
|
583
|
+
<string>entity.name.function.thrift</string>
|
584
|
+
</dict>
|
585
|
+
</dict>
|
586
|
+
<key>end</key>
|
587
|
+
<string>$|^</string>
|
588
|
+
<key>name</key>
|
589
|
+
<string>meta.service.function.thrift</string>
|
590
|
+
<key>patterns</key>
|
591
|
+
<array>
|
592
|
+
<dict>
|
593
|
+
<key>begin</key>
|
594
|
+
<string>\(</string>
|
595
|
+
<key>beginCaptures</key>
|
596
|
+
<dict>
|
597
|
+
<key>0</key>
|
598
|
+
<dict>
|
599
|
+
<key>name</key>
|
600
|
+
<string>punctuation.definition.arguments.begin.thrift</string>
|
601
|
+
</dict>
|
602
|
+
</dict>
|
603
|
+
<key>end</key>
|
604
|
+
<string>\)</string>
|
605
|
+
<key>endCaptures</key>
|
606
|
+
<dict>
|
607
|
+
<key>0</key>
|
608
|
+
<dict>
|
609
|
+
<key>name</key>
|
610
|
+
<string>punctuation.definition.arguments.end.thrift</string>
|
611
|
+
</dict>
|
612
|
+
</dict>
|
613
|
+
<key>patterns</key>
|
614
|
+
<array>
|
615
|
+
<dict>
|
616
|
+
<key>include</key>
|
617
|
+
<string>#comments</string>
|
618
|
+
</dict>
|
619
|
+
<dict>
|
620
|
+
<key>include</key>
|
621
|
+
<string>#field</string>
|
622
|
+
</dict>
|
623
|
+
</array>
|
624
|
+
</dict>
|
625
|
+
<dict>
|
626
|
+
<key>begin</key>
|
627
|
+
<string>(?<![^\s)])(throws)(?![^\s(])</string>
|
628
|
+
<key>beginCaptures</key>
|
629
|
+
<dict>
|
630
|
+
<key>1</key>
|
631
|
+
<dict>
|
632
|
+
<key>name</key>
|
633
|
+
<string>keyword.other.service.function.throws.thrift</string>
|
634
|
+
</dict>
|
635
|
+
</dict>
|
636
|
+
<key>end</key>
|
637
|
+
<string>$</string>
|
638
|
+
<key>patterns</key>
|
639
|
+
<array>
|
640
|
+
<dict>
|
641
|
+
<key>begin</key>
|
642
|
+
<string>\(</string>
|
643
|
+
<key>beginCaptures</key>
|
644
|
+
<dict>
|
645
|
+
<key>0</key>
|
646
|
+
<dict>
|
647
|
+
<key>name</key>
|
648
|
+
<string>punctuation.definition.arguments.begin.thrift</string>
|
649
|
+
</dict>
|
650
|
+
</dict>
|
651
|
+
<key>end</key>
|
652
|
+
<string>\)</string>
|
653
|
+
<key>endCaptures</key>
|
654
|
+
<dict>
|
655
|
+
<key>0</key>
|
656
|
+
<dict>
|
657
|
+
<key>name</key>
|
658
|
+
<string>punctuation.definition.arguments.end.thrift</string>
|
659
|
+
</dict>
|
660
|
+
</dict>
|
661
|
+
<key>patterns</key>
|
662
|
+
<array>
|
663
|
+
<dict>
|
664
|
+
<key>include</key>
|
665
|
+
<string>#comments</string>
|
666
|
+
</dict>
|
667
|
+
<dict>
|
668
|
+
<key>include</key>
|
669
|
+
<string>#field</string>
|
670
|
+
</dict>
|
671
|
+
</array>
|
672
|
+
</dict>
|
673
|
+
</array>
|
674
|
+
</dict>
|
675
|
+
<dict>
|
676
|
+
<key>include</key>
|
677
|
+
<string>#comments</string>
|
678
|
+
</dict>
|
679
|
+
</array>
|
680
|
+
</dict>
|
681
|
+
</array>
|
682
|
+
</dict>
|
683
|
+
</array>
|
684
|
+
</dict>
|
685
|
+
</array>
|
686
|
+
</dict>
|
687
|
+
</array>
|
688
|
+
<key>repository</key>
|
689
|
+
<dict>
|
690
|
+
<key>comments</key>
|
691
|
+
<dict>
|
692
|
+
<key>patterns</key>
|
693
|
+
<array>
|
694
|
+
<dict>
|
695
|
+
<key>captures</key>
|
696
|
+
<dict>
|
697
|
+
<key>1</key>
|
698
|
+
<dict>
|
699
|
+
<key>name</key>
|
700
|
+
<string>punctuation.definition.comment.thrift</string>
|
701
|
+
</dict>
|
702
|
+
</dict>
|
703
|
+
<key>match</key>
|
704
|
+
<string>(#).*\n?</string>
|
705
|
+
<key>name</key>
|
706
|
+
<string>comment.line.number-sign.thrift</string>
|
707
|
+
</dict>
|
708
|
+
<dict>
|
709
|
+
<key>captures</key>
|
710
|
+
<dict>
|
711
|
+
<key>1</key>
|
712
|
+
<dict>
|
713
|
+
<key>name</key>
|
714
|
+
<string>punctuation.definition.comment.thrift</string>
|
715
|
+
</dict>
|
716
|
+
</dict>
|
717
|
+
<key>match</key>
|
718
|
+
<string>(//).*\n?</string>
|
719
|
+
<key>name</key>
|
720
|
+
<string>comment.line.double-slash.thrift</string>
|
721
|
+
</dict>
|
722
|
+
<dict>
|
723
|
+
<key>begin</key>
|
724
|
+
<string>/\*\*</string>
|
725
|
+
<key>beginCaptures</key>
|
726
|
+
<dict>
|
727
|
+
<key>0</key>
|
728
|
+
<dict>
|
729
|
+
<key>name</key>
|
730
|
+
<string>punctuation.definition.comment.begin.thrift</string>
|
731
|
+
</dict>
|
732
|
+
</dict>
|
733
|
+
<key>end</key>
|
734
|
+
<string>\*/</string>
|
735
|
+
<key>endCaptures</key>
|
736
|
+
<dict>
|
737
|
+
<key>0</key>
|
738
|
+
<dict>
|
739
|
+
<key>name</key>
|
740
|
+
<string>punctuation.definition.comment.end.thrift</string>
|
741
|
+
</dict>
|
742
|
+
</dict>
|
743
|
+
<key>name</key>
|
744
|
+
<string>comment.block.documentation.thrift</string>
|
745
|
+
</dict>
|
746
|
+
<dict>
|
747
|
+
<key>begin</key>
|
748
|
+
<string>/\*</string>
|
749
|
+
<key>beginCaptures</key>
|
750
|
+
<dict>
|
751
|
+
<key>0</key>
|
752
|
+
<dict>
|
753
|
+
<key>name</key>
|
754
|
+
<string>punctuation.definition.comment.begin.thrift</string>
|
755
|
+
</dict>
|
756
|
+
</dict>
|
757
|
+
<key>end</key>
|
758
|
+
<string>\*/</string>
|
759
|
+
<key>endCaptures</key>
|
760
|
+
<dict>
|
761
|
+
<key>0</key>
|
762
|
+
<dict>
|
763
|
+
<key>name</key>
|
764
|
+
<string>punctuation.definition.comment.end.thrift</string>
|
765
|
+
</dict>
|
766
|
+
</dict>
|
767
|
+
<key>name</key>
|
768
|
+
<string>comment.block.thrift</string>
|
769
|
+
</dict>
|
770
|
+
</array>
|
771
|
+
</dict>
|
772
|
+
<key>field</key>
|
773
|
+
<dict>
|
774
|
+
<key>begin</key>
|
775
|
+
<string>(?x)
|
776
|
+
(?<![^\s{(])(?=\S)
|
777
|
+
(\d+\s*:)?[ \t]*
|
778
|
+
(?: (required|optional)(?!\S)[ \t]*
|
779
|
+
| (?=\S)(?!=required|optional|\d)
|
780
|
+
)</string>
|
781
|
+
<key>beginCaptures</key>
|
782
|
+
<dict>
|
783
|
+
<key>1</key>
|
784
|
+
<dict>
|
785
|
+
<key>name</key>
|
786
|
+
<string>entity.other.field-id.thrift</string>
|
787
|
+
</dict>
|
788
|
+
<key>2</key>
|
789
|
+
<dict>
|
790
|
+
<key>name</key>
|
791
|
+
<string>keyword.other.requiredness.thrift</string>
|
792
|
+
</dict>
|
793
|
+
</dict>
|
794
|
+
<key>end</key>
|
795
|
+
<string>[,;]|(?=[)#])|$</string>
|
796
|
+
<key>endCaptures</key>
|
797
|
+
<dict>
|
798
|
+
<key>0</key>
|
799
|
+
<dict>
|
800
|
+
<key>name</key>
|
801
|
+
<string>punctuation.separator.fields.thrift</string>
|
802
|
+
</dict>
|
803
|
+
</dict>
|
804
|
+
<key>name</key>
|
805
|
+
<string>meta.field.thrift</string>
|
806
|
+
<key>patterns</key>
|
807
|
+
<array>
|
808
|
+
<dict>
|
809
|
+
<key>begin</key>
|
810
|
+
<string>(?x)
|
811
|
+
(?<ft>
|
812
|
+
map\s*<\s*\g<ft>\s*,\s*\g<ft>\s*> |
|
813
|
+
set\s*<\s*\g<ft>\s*> |
|
814
|
+
list\s*<\s*\g<ft>\s*>\s*(cpp_type(?!\S))? |
|
815
|
+
[a-zA-Z_][\w.]*
|
816
|
+
)[ \t]*
|
817
|
+
(?:([a-zA-Z_][\w.]*)[ \t]*)? # identifier
|
818
|
+
</string>
|
819
|
+
<key>beginCaptures</key>
|
820
|
+
<dict>
|
821
|
+
<key>1</key>
|
822
|
+
<dict>
|
823
|
+
<key>name</key>
|
824
|
+
<string>storage.type.field.thrift</string>
|
825
|
+
</dict>
|
826
|
+
<key>2</key>
|
827
|
+
<dict>
|
828
|
+
<key>name</key>
|
829
|
+
<string>keyword.other.cpp-type.thrift</string>
|
830
|
+
</dict>
|
831
|
+
<key>3</key>
|
832
|
+
<dict>
|
833
|
+
<key>name</key>
|
834
|
+
<string>variable.other.field-name.thrift</string>
|
835
|
+
</dict>
|
836
|
+
</dict>
|
837
|
+
<key>end</key>
|
838
|
+
<string>(?=[,;]|[)#])|$</string>
|
839
|
+
<key>patterns</key>
|
840
|
+
<array>
|
841
|
+
<dict>
|
842
|
+
<key>begin</key>
|
843
|
+
<string>=</string>
|
844
|
+
<key>end</key>
|
845
|
+
<string>(?=[,;]|[)#])|$</string>
|
846
|
+
<key>patterns</key>
|
847
|
+
<array>
|
848
|
+
<dict>
|
849
|
+
<key>match</key>
|
850
|
+
<string>(?<!\S)(xsd_optional)\b</string>
|
851
|
+
<key>name</key>
|
852
|
+
<string>keyword.other.xsd_optional.thrift</string>
|
853
|
+
</dict>
|
854
|
+
<dict>
|
855
|
+
<key>match</key>
|
856
|
+
<string>(?<!\S)(xsd_nillable)\b</string>
|
857
|
+
<key>name</key>
|
858
|
+
<string>keyword.other.xsd_nillable.thrift</string>
|
859
|
+
</dict>
|
860
|
+
<dict>
|
861
|
+
<key>include</key>
|
862
|
+
<string>#value</string>
|
863
|
+
</dict>
|
864
|
+
</array>
|
865
|
+
</dict>
|
866
|
+
</array>
|
867
|
+
</dict>
|
868
|
+
</array>
|
869
|
+
</dict>
|
870
|
+
<key>value</key>
|
871
|
+
<dict>
|
872
|
+
<key>patterns</key>
|
873
|
+
<array>
|
874
|
+
<dict>
|
875
|
+
<key>match</key>
|
876
|
+
<string>[+-]?\d*\.\d+([eE][+-]?\d+)?</string>
|
877
|
+
<key>name</key>
|
878
|
+
<string>constant.numeric.float.thrift</string>
|
879
|
+
</dict>
|
880
|
+
<dict>
|
881
|
+
<key>match</key>
|
882
|
+
<string>[+-]?\d+</string>
|
883
|
+
<key>name</key>
|
884
|
+
<string>constant.numeric.integer.thrift</string>
|
885
|
+
</dict>
|
886
|
+
<dict>
|
887
|
+
<key>match</key>
|
888
|
+
<string>[a-zA-Z_][\w.]*</string>
|
889
|
+
<key>name</key>
|
890
|
+
<string>constant.other.const-data.thrift</string>
|
891
|
+
</dict>
|
892
|
+
<dict>
|
893
|
+
<key>begin</key>
|
894
|
+
<string>'</string>
|
895
|
+
<key>beginCaptures</key>
|
896
|
+
<dict>
|
897
|
+
<key>0</key>
|
898
|
+
<dict>
|
899
|
+
<key>name</key>
|
900
|
+
<string>punctuation.definition.string.begin.thrift</string>
|
901
|
+
</dict>
|
902
|
+
</dict>
|
903
|
+
<key>end</key>
|
904
|
+
<string>'</string>
|
905
|
+
<key>endCaptures</key>
|
906
|
+
<dict>
|
907
|
+
<key>0</key>
|
908
|
+
<dict>
|
909
|
+
<key>name</key>
|
910
|
+
<string>punctuation.definition.string.end.thrift</string>
|
911
|
+
</dict>
|
912
|
+
</dict>
|
913
|
+
<key>name</key>
|
914
|
+
<string>string.quoted.single.thrift</string>
|
915
|
+
</dict>
|
916
|
+
<dict>
|
917
|
+
<key>begin</key>
|
918
|
+
<string>"</string>
|
919
|
+
<key>beginCaptures</key>
|
920
|
+
<dict>
|
921
|
+
<key>0</key>
|
922
|
+
<dict>
|
923
|
+
<key>name</key>
|
924
|
+
<string>punctuation.definition.string.begin.thrift</string>
|
925
|
+
</dict>
|
926
|
+
</dict>
|
927
|
+
<key>end</key>
|
928
|
+
<string>"</string>
|
929
|
+
<key>endCaptures</key>
|
930
|
+
<dict>
|
931
|
+
<key>0</key>
|
932
|
+
<dict>
|
933
|
+
<key>name</key>
|
934
|
+
<string>punctuation.definition.string.begin.thrift</string>
|
935
|
+
</dict>
|
936
|
+
</dict>
|
937
|
+
<key>name</key>
|
938
|
+
<string>string.quoted.double.thrift</string>
|
939
|
+
</dict>
|
940
|
+
<dict>
|
941
|
+
<key>begin</key>
|
942
|
+
<string>\[</string>
|
943
|
+
<key>beginCaptures</key>
|
944
|
+
<dict>
|
945
|
+
<key>0</key>
|
946
|
+
<dict>
|
947
|
+
<key>name</key>
|
948
|
+
<string>punctuation.definition.array.begin.thrift</string>
|
949
|
+
</dict>
|
950
|
+
</dict>
|
951
|
+
<key>end</key>
|
952
|
+
<string>\]</string>
|
953
|
+
<key>endCaptures</key>
|
954
|
+
<dict>
|
955
|
+
<key>0</key>
|
956
|
+
<dict>
|
957
|
+
<key>name</key>
|
958
|
+
<string>punctuation.definition.array.end.thrift</string>
|
959
|
+
</dict>
|
960
|
+
</dict>
|
961
|
+
<key>name</key>
|
962
|
+
<string>meta.array.thrift</string>
|
963
|
+
<key>patterns</key>
|
964
|
+
<array>
|
965
|
+
<dict>
|
966
|
+
<key>match</key>
|
967
|
+
<string>[,;]</string>
|
968
|
+
</dict>
|
969
|
+
<dict>
|
970
|
+
<key>include</key>
|
971
|
+
<string>#value</string>
|
972
|
+
</dict>
|
973
|
+
</array>
|
974
|
+
</dict>
|
975
|
+
<dict>
|
976
|
+
<key>begin</key>
|
977
|
+
<string>\{</string>
|
978
|
+
<key>beginCaptures</key>
|
979
|
+
<dict>
|
980
|
+
<key>0</key>
|
981
|
+
<dict>
|
982
|
+
<key>name</key>
|
983
|
+
<string>punctuation.definition.map.begin.thrift</string>
|
984
|
+
</dict>
|
985
|
+
</dict>
|
986
|
+
<key>end</key>
|
987
|
+
<string>\}</string>
|
988
|
+
<key>endCaptures</key>
|
989
|
+
<dict>
|
990
|
+
<key>0</key>
|
991
|
+
<dict>
|
992
|
+
<key>name</key>
|
993
|
+
<string>punctuation.definition.map.end.thrift</string>
|
994
|
+
</dict>
|
995
|
+
</dict>
|
996
|
+
<key>name</key>
|
997
|
+
<string>meta.map.thrift</string>
|
998
|
+
<key>patterns</key>
|
999
|
+
<array>
|
1000
|
+
<dict>
|
1001
|
+
<key>match</key>
|
1002
|
+
<string>[:,;]</string>
|
1003
|
+
</dict>
|
1004
|
+
<dict>
|
1005
|
+
<key>include</key>
|
1006
|
+
<string>#value</string>
|
1007
|
+
</dict>
|
1008
|
+
</array>
|
1009
|
+
</dict>
|
1010
|
+
<dict>
|
1011
|
+
<key>match</key>
|
1012
|
+
<string>\S</string>
|
1013
|
+
<key>name</key>
|
1014
|
+
<string>invalid.illegal.thrift</string>
|
1015
|
+
</dict>
|
1016
|
+
</array>
|
1017
|
+
</dict>
|
1018
|
+
</dict>
|
1019
|
+
<key>scopeName</key>
|
1020
|
+
<string>source.thrift</string>
|
1021
|
+
<key>uuid</key>
|
1022
|
+
<string>9E5704AC-54ED-4D7C-946C-6DC3727BDC4C</string>
|
1023
|
+
</dict>
|
1024
|
+
</plist>
|