ver 2009.10.14 → 2009.11.28
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1094 -0
- data/MANIFEST +227 -25
- data/README.textile +185 -0
- data/bin/ver +96 -12
- data/config/detect.rb +73 -21
- data/config/keymap/emacs.rb +66 -0
- data/config/keymap/vim.rb +250 -140
- data/config/preferences/ANTLR.json +10 -0
- data/config/preferences/ASP vb.NET.json +3 -0
- data/config/preferences/ASP.json +15 -0
- data/config/preferences/ActionScript.json +755 -0
- data/config/preferences/Active4D.json +89 -0
- data/config/preferences/Ada.json +23 -0
- data/config/preferences/Ant.json +356 -0
- data/config/preferences/Apache.json +644 -0
- data/config/preferences/AppleScript.json +92 -0
- data/config/preferences/Bison.json +3 -0
- data/config/preferences/Blogging.json +3 -0
- data/config/preferences/C.json +127 -0
- data/config/preferences/CMake.json +41 -0
- data/config/preferences/CSS.json +461 -0
- data/config/preferences/CTags.json +3 -0
- data/config/preferences/CVS.json +3 -0
- data/config/preferences/ColdFusion.json +32 -0
- data/config/preferences/D.json +58 -0
- data/config/preferences/Darcs.json +3 -0
- data/config/preferences/Diff.json +67 -0
- data/config/preferences/DokuWiki.json +19 -0
- data/config/preferences/Doxygen.json +3 -0
- data/config/preferences/Dylan.json +3 -0
- data/config/preferences/Eiffel.json +59 -0
- data/config/preferences/Erlang.json +72 -0
- data/config/preferences/Experimental.json +1356 -0
- data/config/preferences/F-Script.json +87 -0
- data/config/preferences/FXScript.json +78 -0
- data/config/preferences/FileMerge.json +3 -0
- data/config/preferences/Fortran.json +158 -0
- data/config/preferences/GTD2.json +11 -0
- data/config/preferences/GTDAlt.json +20 -0
- data/config/preferences/GetBundle.json +3 -0
- data/config/preferences/Gettext.json +24 -0
- data/config/preferences/Graphviz.json +42 -0
- data/config/preferences/Greasemonkey.json +3 -0
- data/config/preferences/Gri.json +34 -0
- data/config/preferences/HTML.json +492 -0
- data/config/preferences/Haskell.json +72 -0
- data/config/preferences/Hotkey.json +3 -0
- data/config/preferences/ImageBrowser.json +3 -0
- data/config/preferences/Inform.json +3 -0
- data/config/preferences/Ini.json +60 -0
- data/config/preferences/Installer.json +3 -0
- data/config/preferences/Io.json +64 -0
- data/config/preferences/JSON.json +3 -0
- data/config/preferences/Java.json +86 -0
- data/config/preferences/JavaDoc.json +3 -0
- data/config/preferences/JavaScript.json +76 -0
- data/config/preferences/LaTeX.json +267 -0
- data/config/preferences/Lex/Flex.json +3 -0
- data/config/preferences/Lighttpd.json +3 -0
- data/config/preferences/LilyPond.json +77 -0
- data/config/preferences/Lisp.json +63 -0
- data/config/preferences/Logo.json +58 -0
- data/config/preferences/Logtalk.json +236 -0
- data/config/preferences/Lua.json +24 -0
- data/config/preferences/MEL.json +19 -0
- data/config/preferences/MIPS Assembler.json +26 -0
- data/config/preferences/MacPorts.json +3 -0
- data/config/preferences/Mail.json +3 -0
- data/config/preferences/Make.json +16 -0
- data/config/preferences/Markdown.json +102 -0
- data/config/preferences/Math.json +3 -0
- data/config/preferences/Matlab.json +128 -0
- data/config/preferences/Maven.json +308 -0
- data/config/preferences/Mediawiki.json +73 -0
- data/config/preferences/Mercurial.json +3 -0
- data/config/preferences/Modula.json +37 -0
- data/config/preferences/MoinMoin.json +52 -0
- data/config/preferences/Navigation.json +3 -0
- data/config/preferences/Nemerle.json +3 -0
- data/config/preferences/OCaml Code Completion.json +3 -0
- data/config/preferences/OCaml.json +163 -0
- data/config/preferences/ODCompletion.json +3 -0
- data/config/preferences/Objective-C.json +84 -0
- data/config/preferences/OpenGL.json +3331 -0
- data/config/preferences/Outlines.json +3 -0
- data/config/preferences/Pascal.json +60 -0
- data/config/preferences/Perforce.json +3 -0
- data/config/preferences/Perl.json +15 -0
- data/config/preferences/PmWiki.json +27 -0
- data/config/preferences/Postscript.json +15 -0
- data/config/preferences/Processing.json +32 -0
- data/config/preferences/Prolog.json +3 -0
- data/config/preferences/Propel.json +3 -0
- data/config/preferences/Python.json +38 -0
- data/config/preferences/Quake.json +15 -0
- data/config/preferences/R.json +33 -0
- data/config/preferences/Ragel.json +15 -0
- data/config/preferences/Regular Expressions.json +3 -0
- data/config/preferences/Remind.json +15 -0
- data/config/preferences/Rez.json +46 -0
- data/config/preferences/Ruby.json +98 -0
- data/config/preferences/S5 Slide Show.json +20 -0
- data/config/preferences/SCons.json +3 -0
- data/config/preferences/SQL.json +32 -0
- data/config/preferences/SSH Config.json +15 -0
- data/config/preferences/SVK.json +3 -0
- data/config/preferences/SWIG.json +3 -0
- data/config/preferences/SWeave.json +32 -0
- data/config/preferences/Scheme.json +35 -0
- data/config/preferences/Scilab.json +15 -0
- data/config/preferences/Setext.json +3 -0
- data/config/preferences/Shell Script.json +25 -0
- data/config/preferences/Slate.json +113 -0
- data/config/preferences/Source.json +132 -0
- data/config/preferences/Subversion.json +10 -0
- data/config/preferences/TODO.json +3 -0
- data/config/preferences/Tabular.json +3 -0
- data/config/preferences/Tcl.json +82 -0
- data/config/preferences/TerminalMate.json +112 -0
- data/config/preferences/Text.json +89 -0
- data/config/preferences/TextMate.json +38 -0
- data/config/preferences/Textile.json +76 -0
- data/config/preferences/Thrift.json +56 -0
- data/config/preferences/Transmit.json +3 -0
- data/config/preferences/Twiki.json +51 -0
- data/config/preferences/Txt2tags.json +81 -0
- data/config/preferences/Vectorscript.json +1280 -0
- data/config/preferences/XML.json +60 -0
- data/config/preferences/Xcode.json +3 -0
- data/config/preferences/YAML.json +24 -0
- data/config/preferences/iCalendar.json +10 -0
- data/config/preferences/iTerm.json +36 -0
- data/config/preferences/reStructuredText.json +48 -0
- data/config/rc.rb +49 -0
- data/config/syntax/ANTLR.json +5 -5
- data/config/syntax/{ASP VB.net.json → ASP vb.NET.json } +3 -3
- data/config/syntax/ASP.json +1 -1
- data/config/syntax/ActionScript.json +6 -6
- data/config/syntax/Active4D Config.json +86 -0
- data/config/syntax/Active4D Library.json +20 -0
- data/config/syntax/Active4D.json +418 -0
- data/config/syntax/Ada.json +3 -3
- data/config/syntax/Ant.json +196 -0
- data/config/syntax/Apache.json +7 -7
- data/config/syntax/AppleScript.json +3 -3
- data/config/syntax/{Bibtex.json → BibTeX.json} +1 -1
- data/config/syntax/Bison.json +59 -0
- data/config/syntax/{Blog (HTML).json → Blog - HTML.json } +2 -2
- data/config/syntax/{Blog (Markdown).json → Blog - Markdown.json } +2 -2
- data/config/syntax/Blog (Text).json b/data/config/syntax/Blog - → Text.json +0 -0
- data/config/syntax/Blog (Textile).json b/data/config/syntax/Blog - → Textile.json +0 -0
- data/config/syntax/C++.json +3 -3
- data/config/syntax/C.json +13 -13
- data/config/syntax/CMake Listfile.json +171 -0
- data/config/syntax/CSS.json +6 -6
- data/config/syntax/CSV.json +108 -0
- data/config/syntax/ColdFusion.json +204 -0
- data/config/syntax/D.json +560 -0
- data/config/syntax/Diff.json +1 -1
- data/config/syntax/DokuWiki.json +412 -0
- data/config/syntax/Doxygen.json +80 -0
- data/config/syntax/Dylan.json +4 -4
- data/config/syntax/Erlang.json +5 -5
- data/config/syntax/F-Script.json +1 -1
- data/config/syntax/FXScript.json +5 -5
- data/config/syntax/Fortran - Modern.json +221 -0
- data/config/syntax/Fortran - Punchcard.json +468 -0
- data/config/syntax/GTD.json +39 -0
- data/config/syntax/GTDalt.json +233 -0
- data/config/syntax/Gettext.json +118 -0
- data/config/syntax/Go.json +555 -0
- data/config/syntax/{DOT.json → Graphviz (DOT).json } +3 -3
- data/config/syntax/Greasemonkey.json +56 -0
- data/config/syntax/Gri.json +4 -4
- data/config/syntax/{HTML-ASP.json → HTML (ASP).json } +1 -1
- data/config/syntax/{HTML for ASP.net.json → HTML (ASP.net).json } +19 -19
- data/config/syntax/HTML (Active4D).json +540 -0
- data/config/syntax/HTML (Erlang).json +31 -0
- data/config/syntax/HTML (Tcl).json +1 -1
- data/config/syntax/HTML.json +20 -20
- data/config/syntax/Haskell.json +3 -3
- data/config/syntax/Installer Distribution Script.json +135 -0
- data/config/syntax/Io.json +6 -6
- data/config/syntax/JSON.json +151 -0
- data/config/syntax/{JavaProperties.json → Java Properties.json } +2 -2
- data/config/syntax/Java Server Page (JSP).json +163 -0
- data/config/syntax/Java.json +7 -7
- data/config/syntax/JavaDoc.json +435 -0
- data/config/syntax/JavaScript.json +8 -8
- data/config/syntax/LaTeX Log.json +3 -3
- data/config/syntax/LaTeX Memoir.json +101 -0
- data/config/syntax/LaTeX.json +2 -2
- data/config/syntax/Lex-Flex.json +396 -0
- data/config/syntax/LilyPond.json +608 -0
- data/config/syntax/Logo.json +48 -0
- data/config/syntax/Logtalk.json +6 -6
- data/config/syntax/Lua.json +1 -1
- data/config/syntax/{M.json → MATLAB.json} +3 -3
- data/config/syntax/MEL.json +7 -7
- data/config/syntax/MIPS.json b/data/config/syntax/MIPS → Assembler.json +0 -0
- data/config/syntax/MacPorts Portfile.json +298 -0
- data/config/syntax/Mail.json +1 -1
- data/config/syntax/Markdown.json +6 -6
- data/config/syntax/Maven POM.json +774 -0
- data/config/syntax/Mediawiki.json +736 -0
- data/config/syntax/MoinMoin.json +335 -0
- data/config/syntax/MultiMarkdown.json +41 -0
- data/config/syntax/Nemerle.json +128 -0
- data/config/syntax/OCaml.json +4 -4
- data/config/syntax/OCamllex.json +307 -0
- data/config/syntax/OCamlyacc.json +346 -0
- data/config/syntax/Objective-C++.json +2 -2
- data/config/syntax/Objective-C.json +979 -0
- data/config/syntax/Octave.json +417 -0
- data/config/syntax/PHP.json +32 -32
- data/config/syntax/Pascal.json +1 -1
- data/config/syntax/Perl.json +8 -8
- data/config/syntax/{Plain text.json → Plain Text.json } +1 -1
- data/config/syntax/PmWiki.json +241 -0
- data/config/syntax/Postscript.json +206 -0
- data/config/syntax/Processing.json +8 -8
- data/config/syntax/Prolog.json +70 -0
- data/config/syntax/Python.json +1934 -0
- data/config/syntax/{Quake3 Config.json → Quake Style .cfg.json } +1 -1
- data/config/syntax/R.json +2 -2
- data/config/syntax/Ragel.json +362 -0
- data/config/syntax/Rd (R Documentation).json +119 -0
- data/config/syntax/Regular Expressions (Oniguruma).json +186 -0
- data/config/syntax/Regular Expressions (Python).json +188 -0
- data/config/syntax/Release Notes.json +78 -0
- data/config/syntax/Remind.json +461 -0
- data/config/syntax/Rez.json +5 -5
- data/config/syntax/Ruby Sass.json +497 -0
- data/config/syntax/Ruby.json +13 -13
- data/config/syntax/S5 Slide Show.json +85 -0
- data/config/syntax/SQL.json +11 -11
- data/config/syntax/SSH Config.json +55 -0
- data/config/syntax/SWIG.json +2 -2
- data/config/syntax/SWeave.json +139 -0
- data/config/syntax/Scheme.json +8 -8
- data/config/syntax/Scilab.json +69 -0
- data/config/syntax/Setext.json +247 -0
- data/config/syntax/{Shell-Unix-Generic.json → Shell Script (Bash).json } +4 -4
- data/config/syntax/Slate.json +5 -5
- data/config/syntax/Strings File.json +53 -0
- data/config/syntax/TSV.json +83 -0
- data/config/syntax/Tcl.json +1 -1
- data/config/syntax/TeX Math.json +2 -2
- data/config/syntax/TeX.json +2 -2
- data/config/syntax/Textile.json +9 -9
- data/config/syntax/Thrift.json +641 -0
- data/config/syntax/Twiki.json +1 -1
- data/config/syntax/Txt2tags.json +154 -0
- data/config/syntax/XML strict.json +4 -4
- data/config/syntax/XML.json +6 -6
- data/config/syntax/XSL.json +2 -2
- data/config/syntax/camlp4.json +63 -0
- data/config/syntax/mod_perl.json +72 -0
- data/config/syntax/reStructuredText.json +1 -1
- data/config/syntax/{Subversion commit message.json → svn-commit.tmp.json} +0 -0
- data/config/tutorial +23 -19
- data/config/welcome +3 -3
- data/lib/ver.rb +273 -62
- data/lib/ver/entry.rb +142 -26
- data/lib/ver/font.rb +51 -0
- data/lib/ver/help.rb +16 -0
- data/lib/ver/help/describe_key.rb +82 -0
- data/lib/ver/help/help_for_help.rb +39 -0
- data/lib/ver/hover_completion.rb +129 -0
- data/lib/ver/keymap.rb +95 -24
- data/lib/ver/layout.rb +107 -43
- data/lib/ver/methods.rb +24 -8
- data/lib/ver/methods/clipboard.rb +91 -0
- data/lib/ver/methods/completion.rb +146 -71
- data/lib/ver/methods/control.rb +203 -222
- data/lib/ver/methods/ctags.rb +55 -0
- data/lib/ver/methods/delete.rb +30 -0
- data/lib/ver/methods/help.rb +7 -0
- data/lib/ver/methods/insert.rb +233 -1
- data/lib/ver/methods/move.rb +181 -32
- data/lib/ver/methods/open.rb +208 -0
- data/lib/ver/methods/preview.rb +14 -0
- data/lib/ver/methods/save.rb +111 -0
- data/lib/ver/methods/search.rb +57 -7
- data/lib/ver/methods/select.rb +97 -17
- data/lib/ver/methods/shortcuts.rb +21 -0
- data/lib/ver/methods/views.rb +56 -1
- data/lib/ver/mode.rb +60 -14
- data/lib/ver/status.rb +97 -19
- data/lib/ver/syntax.rb +14 -6
- data/lib/ver/syntax/detector.rb +16 -5
- data/lib/ver/syntax/processor.rb +9 -3
- data/lib/ver/text.rb +258 -199
- data/lib/ver/text/index.rb +103 -0
- data/lib/ver/theme.rb +27 -16
- data/lib/ver/tooltip.rb +59 -0
- data/lib/ver/vendor/binary_search.rb +61 -0
- data/lib/ver/vendor/levenshtein.rb +57 -0
- data/lib/ver/{textpow.rb → vendor/textpow.rb} +31 -29
- data/lib/ver/view.rb +65 -41
- data/lib/ver/view/console.rb +171 -0
- data/lib/ver/view/entry.rb +9 -5
- data/lib/ver/view/list.rb +44 -29
- data/lib/ver/view/list/ex.rb +71 -0
- data/lib/ver/view/list/grep.rb +42 -0
- data/lib/ver/view/list/methods.rb +159 -0
- data/lib/ver/view/term.rb +249 -0
- data/tasks/syntax_list.rake +3 -2
- data/ver.gemspec +4 -4
- metadata +230 -28
- data/config/syntax/Bulletin Board.json +0 -428
- data/config/syntax/HTML (Mason).json +0 -207
- data/config/syntax/HTML (Rails).json +0 -52
- data/config/syntax/Movable Type.json +0 -348
- data/config/syntax/Ruby on Rails.json +0 -170
- data/config/syntax/SQL (Rails).json +0 -31
- data/config/syntax/Smarty.json +0 -110
- data/config/syntax/Standard ML.json +0 -322
@@ -15,13 +15,13 @@
|
|
15
15
|
"name": "comment.line.number-sign.java-props"
|
16
16
|
},
|
17
17
|
{
|
18
|
-
"begin": "
|
18
|
+
"begin": "/\\*",
|
19
19
|
"captures": {
|
20
20
|
"0": {
|
21
21
|
"name": "punctuation.definition.comment.java-props"
|
22
22
|
}
|
23
23
|
},
|
24
|
-
"end": "
|
24
|
+
"end": "\\*/",
|
25
25
|
"name": "comment.block.java-props"
|
26
26
|
},
|
27
27
|
{
|
@@ -0,0 +1,163 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"jsp"
|
4
|
+
],
|
5
|
+
"foldingStartMarker": "/\\*\\*|\\{\\s*$",
|
6
|
+
"foldingStopMarker": "\\*\\*/|^\\s*\\}",
|
7
|
+
"keyEquivalent": "^~J",
|
8
|
+
"name": "Java Server Page (JSP)",
|
9
|
+
"patterns": [
|
10
|
+
{
|
11
|
+
"begin": "<%--",
|
12
|
+
"captures": {
|
13
|
+
"0": {
|
14
|
+
"name": "punctuation.definition.comment.jsp"
|
15
|
+
}
|
16
|
+
},
|
17
|
+
"end": "--%>",
|
18
|
+
"name": "comment.block.jsp"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"begin": "<%@",
|
22
|
+
"captures": {
|
23
|
+
"0": {
|
24
|
+
"name": "punctuation.section.directive.jsp"
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"end": "%>",
|
28
|
+
"name": "meta.directive.jsp",
|
29
|
+
"patterns": [
|
30
|
+
{
|
31
|
+
"begin": "\\w+",
|
32
|
+
"beginCaptures": {
|
33
|
+
"0": {
|
34
|
+
"name": "keyword.other.directive.jsp"
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"end": "(?=%>)",
|
38
|
+
"patterns": [
|
39
|
+
{
|
40
|
+
"match": "\\w+",
|
41
|
+
"name": "constant.other.directive.attribute.jsp"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"match": "=",
|
45
|
+
"name": "keyword.operator.assignment.jsp"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"begin": "\"",
|
49
|
+
"beginCaptures": {
|
50
|
+
"0": {
|
51
|
+
"name": "punctuation.definition.string.begin.jsp"
|
52
|
+
}
|
53
|
+
},
|
54
|
+
"end": "\"",
|
55
|
+
"endCaptures": {
|
56
|
+
"0": {
|
57
|
+
"name": "punctuation.definition.string.end.jsp"
|
58
|
+
}
|
59
|
+
},
|
60
|
+
"name": "string.quoted.double.jsp",
|
61
|
+
"patterns": [
|
62
|
+
{
|
63
|
+
"match": "\\\\.",
|
64
|
+
"name": "constant.character.escape.jsp"
|
65
|
+
}
|
66
|
+
]
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"begin": "'",
|
70
|
+
"beginCaptures": {
|
71
|
+
"0": {
|
72
|
+
"name": "punctuation.definition.string.begin.jsp"
|
73
|
+
}
|
74
|
+
},
|
75
|
+
"end": "'",
|
76
|
+
"endCaptures": {
|
77
|
+
"0": {
|
78
|
+
"name": "punctuation.definition.string.end.jsp"
|
79
|
+
}
|
80
|
+
},
|
81
|
+
"name": "string.quoted.single.jsp",
|
82
|
+
"patterns": [
|
83
|
+
{
|
84
|
+
"match": "\\\\.",
|
85
|
+
"name": "constant.character.escape.jsp"
|
86
|
+
}
|
87
|
+
]
|
88
|
+
}
|
89
|
+
]
|
90
|
+
}
|
91
|
+
]
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"begin": "(<%[!=]?)|(<jsp:scriptlet>|<jsp:expression>|<jsp:declaration>)",
|
95
|
+
"beginCaptures": {
|
96
|
+
"1": {
|
97
|
+
"name": "punctuation.section.embedded.jsp"
|
98
|
+
},
|
99
|
+
"2": {
|
100
|
+
"name": "meta.tag.block.jsp"
|
101
|
+
}
|
102
|
+
},
|
103
|
+
"end": "(?<=</jsp:scriptlet>|</jsp:expression>|</jsp:declaration>|%>)",
|
104
|
+
"patterns": [
|
105
|
+
{
|
106
|
+
"captures": {
|
107
|
+
"1": {
|
108
|
+
"name": "meta.tag.block.jsp"
|
109
|
+
},
|
110
|
+
"2": {
|
111
|
+
"name": "punctuation.section.embedded.jsp"
|
112
|
+
}
|
113
|
+
},
|
114
|
+
"match": "(</jsp:scriptlet>|</jsp:expression>|</jsp:declaration>)|(%>)"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"begin": "(?<!\\n)(?!</jsp:scriptlet>|</jsp:expression>|</jsp:declaration>|%>|\\{|\\})",
|
118
|
+
"end": "(?=</jsp:scriptlet>|</jsp:expression>|</jsp:declaration>|%>|\\{|\\})|\\n",
|
119
|
+
"name": "source.java.embedded.html",
|
120
|
+
"patterns": [
|
121
|
+
{
|
122
|
+
"include": "source.java"
|
123
|
+
}
|
124
|
+
]
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"begin": "{",
|
128
|
+
"end": "}",
|
129
|
+
"patterns": [
|
130
|
+
{
|
131
|
+
"begin": "(</jsp:scriptlet>|</jsp:expression>|</jsp:declaration>)|(%>)",
|
132
|
+
"captures": {
|
133
|
+
"1": {
|
134
|
+
"name": "meta.tag.block.jsp"
|
135
|
+
},
|
136
|
+
"2": {
|
137
|
+
"name": "punctuation.section.embedded.jsp"
|
138
|
+
}
|
139
|
+
},
|
140
|
+
"end": "(<jsp:scriptlet>|<jsp:expression>|<jsp:declaration>)|(<%[!=]?)",
|
141
|
+
"patterns": [
|
142
|
+
{
|
143
|
+
"include": "text.html.jsp"
|
144
|
+
}
|
145
|
+
]
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"include": "source.java"
|
149
|
+
}
|
150
|
+
]
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"include": "source.java"
|
154
|
+
}
|
155
|
+
]
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"include": "text.html.basic"
|
159
|
+
}
|
160
|
+
],
|
161
|
+
"scopeName": "text.html.jsp",
|
162
|
+
"uuid": "ACB58B55-9437-4AE6-AF42-854995CF51DF"
|
163
|
+
}
|
data/config/syntax/Java.json
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
"java",
|
4
4
|
"bsh"
|
5
5
|
],
|
6
|
-
"foldingStartMarker": "(\\{\\s*(
|
7
|
-
"foldingStopMarker": "^\\s*(\\}
|
6
|
+
"foldingStartMarker": "(\\{\\s*(//.*)?$|^\\s*// \\{\\{\\{)",
|
7
|
+
"foldingStopMarker": "^\\s*(\\}|// \\}\\}\\}$)",
|
8
8
|
"keyEquivalent": "^~J",
|
9
9
|
"name": "Java",
|
10
10
|
"patterns": [
|
@@ -350,7 +350,7 @@
|
|
350
350
|
"name": "punctuation.definition.comment.java"
|
351
351
|
}
|
352
352
|
},
|
353
|
-
"match": "
|
353
|
+
"match": "/\\*\\*/",
|
354
354
|
"name": "comment.block.empty.java"
|
355
355
|
},
|
356
356
|
{
|
@@ -364,13 +364,13 @@
|
|
364
364
|
"comments-inline": {
|
365
365
|
"patterns": [
|
366
366
|
{
|
367
|
-
"begin": "
|
367
|
+
"begin": "/\\*",
|
368
368
|
"captures": {
|
369
369
|
"0": {
|
370
370
|
"name": "punctuation.definition.comment.java"
|
371
371
|
}
|
372
372
|
},
|
373
|
-
"end": "
|
373
|
+
"end": "\\*/",
|
374
374
|
"name": "comment.block.java"
|
375
375
|
},
|
376
376
|
{
|
@@ -382,7 +382,7 @@
|
|
382
382
|
"name": "punctuation.definition.comment.java"
|
383
383
|
}
|
384
384
|
},
|
385
|
-
"match": "\\s*((
|
385
|
+
"match": "\\s*((//).*$\\n?)"
|
386
386
|
}
|
387
387
|
]
|
388
388
|
},
|
@@ -472,7 +472,7 @@
|
|
472
472
|
"name": "keyword.operator.increment-decrement.java"
|
473
473
|
},
|
474
474
|
{
|
475
|
-
"match": "(
|
475
|
+
"match": "(\\-|\\+|\\*|\\/|%)",
|
476
476
|
"name": "keyword.operator.arithmetic.java"
|
477
477
|
},
|
478
478
|
{
|
@@ -0,0 +1,435 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
|
4
|
+
],
|
5
|
+
"foldingStartMarker": "/\\*\\*",
|
6
|
+
"foldingStopMarker": "\\*\\*/",
|
7
|
+
"name": "JavaDoc",
|
8
|
+
"patterns": [
|
9
|
+
{
|
10
|
+
"begin": "(/\\*\\*)\\s*$",
|
11
|
+
"beginCaptures": {
|
12
|
+
"1": {
|
13
|
+
"name": "punctuation.definition.comment.begin.javadoc"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"contentName": "text.html",
|
17
|
+
"end": "\\*/",
|
18
|
+
"endCaptures": {
|
19
|
+
"0": {
|
20
|
+
"name": "punctuation.definition.comment.end.javadoc"
|
21
|
+
}
|
22
|
+
},
|
23
|
+
"name": "comment.block.documentation.javadoc",
|
24
|
+
"patterns": [
|
25
|
+
{
|
26
|
+
"include": "#inline"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"begin": "((\\@)param)",
|
30
|
+
"beginCaptures": {
|
31
|
+
"1": {
|
32
|
+
"name": "keyword.other.documentation.param.javadoc"
|
33
|
+
},
|
34
|
+
"2": {
|
35
|
+
"name": "punctuation.definition.keyword.javadoc"
|
36
|
+
}
|
37
|
+
},
|
38
|
+
"end": "(?=^\\s*\\*?\\s*@|\\*/)",
|
39
|
+
"name": "meta.documentation.tag.param.javadoc",
|
40
|
+
"patterns": [
|
41
|
+
{
|
42
|
+
"include": "#inline"
|
43
|
+
}
|
44
|
+
]
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"begin": "((\\@)return)",
|
48
|
+
"beginCaptures": {
|
49
|
+
"1": {
|
50
|
+
"name": "keyword.other.documentation.return.javadoc"
|
51
|
+
},
|
52
|
+
"2": {
|
53
|
+
"name": "punctuation.definition.keyword.javadoc"
|
54
|
+
}
|
55
|
+
},
|
56
|
+
"end": "(?=^\\s*\\*?\\s*@|\\*/)",
|
57
|
+
"name": "meta.documentation.tag.return.javadoc",
|
58
|
+
"patterns": [
|
59
|
+
{
|
60
|
+
"include": "#inline"
|
61
|
+
}
|
62
|
+
]
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"begin": "((\\@)throws)",
|
66
|
+
"beginCaptures": {
|
67
|
+
"1": {
|
68
|
+
"name": "keyword.other.documentation.throws.javadoc"
|
69
|
+
},
|
70
|
+
"2": {
|
71
|
+
"name": "punctuation.definition.keyword.javadoc"
|
72
|
+
}
|
73
|
+
},
|
74
|
+
"end": "(?=^\\s*\\*?\\s*@|\\*/)",
|
75
|
+
"name": "meta.documentation.tag.throws.javadoc",
|
76
|
+
"patterns": [
|
77
|
+
{
|
78
|
+
"include": "#inline"
|
79
|
+
}
|
80
|
+
]
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"begin": "((\\@)exception)",
|
84
|
+
"beginCaptures": {
|
85
|
+
"1": {
|
86
|
+
"name": "keyword.other.documentation.exception.javadoc"
|
87
|
+
},
|
88
|
+
"2": {
|
89
|
+
"name": "punctuation.definition.keyword.javadoc"
|
90
|
+
}
|
91
|
+
},
|
92
|
+
"end": "(?=^\\s*\\*?\\s*@|\\*/)",
|
93
|
+
"name": "meta.documentation.tag.exception.javadoc",
|
94
|
+
"patterns": [
|
95
|
+
{
|
96
|
+
"include": "#inline"
|
97
|
+
}
|
98
|
+
]
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"begin": "((\\@)author)",
|
102
|
+
"beginCaptures": {
|
103
|
+
"1": {
|
104
|
+
"name": "keyword.other.documentation.author.javadoc"
|
105
|
+
},
|
106
|
+
"2": {
|
107
|
+
"name": "punctuation.definition.keyword.javadoc"
|
108
|
+
}
|
109
|
+
},
|
110
|
+
"end": "(?=^\\s*\\*?\\s*@|\\*/)",
|
111
|
+
"name": "meta.documentation.tag.author.javadoc",
|
112
|
+
"patterns": [
|
113
|
+
{
|
114
|
+
"include": "#inline"
|
115
|
+
}
|
116
|
+
]
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"begin": "((\\@)version)",
|
120
|
+
"beginCaptures": {
|
121
|
+
"1": {
|
122
|
+
"name": "keyword.other.documentation.version.javadoc"
|
123
|
+
},
|
124
|
+
"2": {
|
125
|
+
"name": "punctuation.definition.keyword.javadoc"
|
126
|
+
}
|
127
|
+
},
|
128
|
+
"end": "(?=^\\s*\\*?\\s*@|\\*/)",
|
129
|
+
"name": "meta.documentation.tag.version.javadoc",
|
130
|
+
"patterns": [
|
131
|
+
{
|
132
|
+
"include": "#inline"
|
133
|
+
}
|
134
|
+
]
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"begin": "((\\@)see)",
|
138
|
+
"beginCaptures": {
|
139
|
+
"1": {
|
140
|
+
"name": "keyword.other.documentation.see.javadoc"
|
141
|
+
},
|
142
|
+
"2": {
|
143
|
+
"name": "punctuation.definition.keyword.javadoc"
|
144
|
+
}
|
145
|
+
},
|
146
|
+
"end": "(?=^\\s*\\*?\\s*@|\\*/)",
|
147
|
+
"name": "meta.documentation.tag.see.javadoc",
|
148
|
+
"patterns": [
|
149
|
+
{
|
150
|
+
"include": "#inline"
|
151
|
+
}
|
152
|
+
]
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"begin": "((\\@)since)",
|
156
|
+
"beginCaptures": {
|
157
|
+
"1": {
|
158
|
+
"name": "keyword.other.documentation.since.javadoc"
|
159
|
+
},
|
160
|
+
"2": {
|
161
|
+
"name": "punctuation.definition.keyword.javadoc"
|
162
|
+
}
|
163
|
+
},
|
164
|
+
"end": "(?=^\\s*\\*?\\s*@|\\*/)",
|
165
|
+
"name": "meta.documentation.tag.since.javadoc",
|
166
|
+
"patterns": [
|
167
|
+
{
|
168
|
+
"include": "#inline"
|
169
|
+
}
|
170
|
+
]
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"begin": "((\\@)serial)",
|
174
|
+
"beginCaptures": {
|
175
|
+
"1": {
|
176
|
+
"name": "keyword.other.documentation.serial.javadoc"
|
177
|
+
},
|
178
|
+
"2": {
|
179
|
+
"name": "punctuation.definition.keyword.javadoc"
|
180
|
+
}
|
181
|
+
},
|
182
|
+
"end": "(?=^\\s*\\*?\\s*@|\\*/)",
|
183
|
+
"name": "meta.documentation.tag.serial.javadoc",
|
184
|
+
"patterns": [
|
185
|
+
{
|
186
|
+
"include": "#inline"
|
187
|
+
}
|
188
|
+
]
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"begin": "((\\@)serialField)",
|
192
|
+
"beginCaptures": {
|
193
|
+
"1": {
|
194
|
+
"name": "keyword.other.documentation.serialField.javadoc"
|
195
|
+
},
|
196
|
+
"2": {
|
197
|
+
"name": "punctuation.definition.keyword.javadoc"
|
198
|
+
}
|
199
|
+
},
|
200
|
+
"end": "(?=^\\s*\\*?\\s*@|\\*/)",
|
201
|
+
"name": "meta.documentation.tag.serialField.javadoc",
|
202
|
+
"patterns": [
|
203
|
+
{
|
204
|
+
"include": "#inline"
|
205
|
+
}
|
206
|
+
]
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"begin": "((\\@)serialData)",
|
210
|
+
"beginCaptures": {
|
211
|
+
"1": {
|
212
|
+
"name": "keyword.other.documentation.serialData.javadoc"
|
213
|
+
},
|
214
|
+
"2": {
|
215
|
+
"name": "punctuation.definition.keyword.javadoc"
|
216
|
+
}
|
217
|
+
},
|
218
|
+
"end": "(?=^\\s*\\*?\\s*@|\\*/)",
|
219
|
+
"name": "meta.documentation.tag.serialData.javadoc",
|
220
|
+
"patterns": [
|
221
|
+
{
|
222
|
+
"include": "#inline"
|
223
|
+
}
|
224
|
+
]
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"begin": "((\\@)deprecated)",
|
228
|
+
"beginCaptures": {
|
229
|
+
"1": {
|
230
|
+
"name": "keyword.other.documentation.deprecated.javadoc"
|
231
|
+
},
|
232
|
+
"2": {
|
233
|
+
"name": "punctuation.definition.keyword.javadoc"
|
234
|
+
}
|
235
|
+
},
|
236
|
+
"end": "(?=^\\s*\\*?\\s*@|\\*/)",
|
237
|
+
"name": "meta.documentation.tag.deprecated.javadoc",
|
238
|
+
"patterns": [
|
239
|
+
{
|
240
|
+
"include": "#inline"
|
241
|
+
}
|
242
|
+
]
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"captures": {
|
246
|
+
"1": {
|
247
|
+
"name": "keyword.other.documentation.custom.javadoc"
|
248
|
+
},
|
249
|
+
"2": {
|
250
|
+
"name": "punctuation.definition.keyword.javadoc"
|
251
|
+
}
|
252
|
+
},
|
253
|
+
"match": "((\\@)\\S+)\\s"
|
254
|
+
}
|
255
|
+
]
|
256
|
+
}
|
257
|
+
],
|
258
|
+
"repository": {
|
259
|
+
"inline": {
|
260
|
+
"patterns": [
|
261
|
+
{
|
262
|
+
"include": "#inline-formatting"
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"include": "text.html.basic"
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"match": "((https?|s?ftp|ftps|file|smb|afp|nfs|(x-)?man|gopher|txmt)://|mailto:)[-:@a-zA-Z0-9_.~%+/?=&#]+(?<![.?:])",
|
269
|
+
"name": "markup.underline.link"
|
270
|
+
}
|
271
|
+
]
|
272
|
+
},
|
273
|
+
"inline-formatting": {
|
274
|
+
"patterns": [
|
275
|
+
{
|
276
|
+
"begin": "(\\{)((\\@)code)",
|
277
|
+
"beginCaptures": {
|
278
|
+
"1": {
|
279
|
+
"name": "punctuation.definition.tag.begin.javadoc"
|
280
|
+
},
|
281
|
+
"2": {
|
282
|
+
"name": "keyword.other.documentation.directive.code.javadoc"
|
283
|
+
},
|
284
|
+
"3": {
|
285
|
+
"name": "punctuation.definition.keyword.javadoc"
|
286
|
+
}
|
287
|
+
},
|
288
|
+
"contentName": "markup.raw.code.javadoc",
|
289
|
+
"end": "\\}",
|
290
|
+
"endCaptures": {
|
291
|
+
"0": {
|
292
|
+
"name": "punctuation.definition.tag.end.javadoc"
|
293
|
+
}
|
294
|
+
},
|
295
|
+
"name": "meta.tag.template.code.javadoc",
|
296
|
+
"patterns": [
|
297
|
+
|
298
|
+
]
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"begin": "(\\{)((\\@)literal)",
|
302
|
+
"beginCaptures": {
|
303
|
+
"1": {
|
304
|
+
"name": "punctuation.definition.tag.begin.javadoc"
|
305
|
+
},
|
306
|
+
"2": {
|
307
|
+
"name": "keyword.other.documentation.directive.literal.javadoc"
|
308
|
+
},
|
309
|
+
"3": {
|
310
|
+
"name": "punctuation.definition.keyword.javadoc"
|
311
|
+
}
|
312
|
+
},
|
313
|
+
"contentName": "markup.raw.literal.javadoc",
|
314
|
+
"end": "\\}",
|
315
|
+
"endCaptures": {
|
316
|
+
"0": {
|
317
|
+
"name": "punctuation.definition.tag.end.javadoc"
|
318
|
+
}
|
319
|
+
},
|
320
|
+
"name": "meta.tag.template.literal.javadoc",
|
321
|
+
"patterns": [
|
322
|
+
|
323
|
+
]
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"captures": {
|
327
|
+
"1": {
|
328
|
+
"name": "punctuation.definition.tag.begin.javadoc"
|
329
|
+
},
|
330
|
+
"2": {
|
331
|
+
"name": "keyword.other.documentation.directive.docRoot.javadoc"
|
332
|
+
},
|
333
|
+
"3": {
|
334
|
+
"name": "punctuation.definition.keyword.javadoc"
|
335
|
+
},
|
336
|
+
"4": {
|
337
|
+
"name": "punctuation.definition.tag.end.javadoc"
|
338
|
+
}
|
339
|
+
},
|
340
|
+
"match": "(\\{)((\\@)docRoot)(\\})",
|
341
|
+
"name": "meta.tag.template.docRoot.javadoc"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"captures": {
|
345
|
+
"1": {
|
346
|
+
"name": "punctuation.definition.tag.begin.javadoc"
|
347
|
+
},
|
348
|
+
"2": {
|
349
|
+
"name": "keyword.other.documentation.directive.inheritDoc.javadoc"
|
350
|
+
},
|
351
|
+
"3": {
|
352
|
+
"name": "punctuation.definition.keyword.javadoc"
|
353
|
+
},
|
354
|
+
"4": {
|
355
|
+
"name": "punctuation.definition.tag.end.javadoc"
|
356
|
+
}
|
357
|
+
},
|
358
|
+
"match": "(\\{)((\\@)inheritDoc)(\\})",
|
359
|
+
"name": "meta.tag.template.inheritDoc.javadoc"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"captures": {
|
363
|
+
"1": {
|
364
|
+
"name": "punctuation.definition.tag.begin.javadoc"
|
365
|
+
},
|
366
|
+
"2": {
|
367
|
+
"name": "keyword.other.documentation.directive.link.javadoc"
|
368
|
+
},
|
369
|
+
"3": {
|
370
|
+
"name": "punctuation.definition.keyword.javadoc"
|
371
|
+
},
|
372
|
+
"4": {
|
373
|
+
"name": "markup.underline.link.javadoc"
|
374
|
+
},
|
375
|
+
"5": {
|
376
|
+
"name": "string.other.link.title.javadoc"
|
377
|
+
},
|
378
|
+
"6": {
|
379
|
+
"name": "punctuation.definition.tag.end.javadoc"
|
380
|
+
}
|
381
|
+
},
|
382
|
+
"match": "(\\{)((\\@)link)(?:\\s+(\\S+?))?(?:\\s+(.+?))?\\s*(\\})",
|
383
|
+
"name": "meta.tag.template.link.javadoc"
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"captures": {
|
387
|
+
"1": {
|
388
|
+
"name": "punctuation.definition.tag.begin.javadoc"
|
389
|
+
},
|
390
|
+
"2": {
|
391
|
+
"name": "keyword.other.documentation.directive.linkplain.javadoc"
|
392
|
+
},
|
393
|
+
"3": {
|
394
|
+
"name": "punctuation.definition.keyword.javadoc"
|
395
|
+
},
|
396
|
+
"4": {
|
397
|
+
"name": "markup.underline.linkplain.javadoc"
|
398
|
+
},
|
399
|
+
"5": {
|
400
|
+
"name": "string.other.link.title.javadoc"
|
401
|
+
},
|
402
|
+
"6": {
|
403
|
+
"name": "punctuation.definition.tag.end.javadoc"
|
404
|
+
}
|
405
|
+
},
|
406
|
+
"match": "(\\{)((\\@)linkplain)(?:\\s+(\\S+?))?(?:\\s+(.+?))?\\s*(\\})",
|
407
|
+
"name": "meta.tag.template.linkplain.javadoc"
|
408
|
+
},
|
409
|
+
{
|
410
|
+
"captures": {
|
411
|
+
"1": {
|
412
|
+
"name": "punctuation.definition.tag.begin.javadoc"
|
413
|
+
},
|
414
|
+
"2": {
|
415
|
+
"name": "keyword.other.documentation.directive.value.javadoc"
|
416
|
+
},
|
417
|
+
"3": {
|
418
|
+
"name": "punctuation.definition.keyword.javadoc"
|
419
|
+
},
|
420
|
+
"4": {
|
421
|
+
"name": "variable.other.javadoc"
|
422
|
+
},
|
423
|
+
"5": {
|
424
|
+
"name": "punctuation.definition.tag.end.javadoc"
|
425
|
+
}
|
426
|
+
},
|
427
|
+
"match": "(\\{)((\\@)value)\\s*(\\S+?)?\\s*(\\})",
|
428
|
+
"name": "meta.tag.template.value.javadoc"
|
429
|
+
}
|
430
|
+
]
|
431
|
+
}
|
432
|
+
},
|
433
|
+
"scopeName": "text.html.javadoc",
|
434
|
+
"uuid": "64BB98A4-59D4-474E-9091-C1E1D04BDD03"
|
435
|
+
}
|