From 6f535647ca8566ff180305009546a335c87a20c4 Mon Sep 17 00:00:00 2001 From: Jack Steele Date: Fri, 1 Apr 2022 17:42:50 -0700 Subject: [PATCH 1/4] python -> python3 --- Commands/Reformat Document : Selection.tmCommand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/Reformat Document : Selection.tmCommand b/Commands/Reformat Document : Selection.tmCommand index 644f3ba..1c9c617 100644 --- a/Commands/Reformat Document : Selection.tmCommand +++ b/Commands/Reformat Document : Selection.tmCommand @@ -5,7 +5,7 @@ beforeRunningCommand nop command - #!/usr/bin/env python + #!/usr/bin/env python3 import os import sys From 3b002c01a0c5aa5045f1c8a4ce231d1e81003297 Mon Sep 17 00:00:00 2001 From: ogallagher Date: Sat, 2 Apr 2022 20:41:51 -0400 Subject: [PATCH 2/4] Recover jsdoc keywords pattern: keyword.other.documentation.js.jsdoc --- Syntaxes/JavaScript.plist | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Syntaxes/JavaScript.plist b/Syntaxes/JavaScript.plist index 791b1b6..4bef089 100644 --- a/Syntaxes/JavaScript.plist +++ b/Syntaxes/JavaScript.plist @@ -414,6 +414,19 @@ \*/ name comment.block.documentation.js + + patterns + + + + match + (?<!\w)@(abstract|access|alias|arg|argument|async|attribute|augments|author|beta|borrows|bubbes|callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright|default|default[vV]alue|define|deprecated|desc|description|dict|emits|enum|event|example|exports?|extends|extension|extension_for|extension[fF]or|external|file|file[oO]verview|final|fires|for|function|global|host|ignore|implements|inherit[dD]oc|inner|instance|interface|kind|lends|license|listens|main|member|member[oO]f|method|mixex|mixins?|module|name|namespace|no[cC]ollapse|no[sS]ide[eE]ffects|override|overview|package|param|preserve|private|prop|property|protected|public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary|template|this|throws|todo|TODO|tutorial|type|typedef|unrestricted|uses|var|variation|version|virtual|write[oO]nce)\b + name + keyword.other.documentation.js.jsdoc + + begin From d4bee0f872ebb6d1af80b90ef815c2aff2e76204 Mon Sep 17 00:00:00 2001 From: ogallagher Date: Sat, 2 Apr 2022 20:58:18 -0400 Subject: [PATCH 3/4] Missing jsdoc keywords: @field, @link --- Syntaxes/JavaScript.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Syntaxes/JavaScript.plist b/Syntaxes/JavaScript.plist index 4bef089..4625af1 100644 --- a/Syntaxes/JavaScript.plist +++ b/Syntaxes/JavaScript.plist @@ -422,7 +422,7 @@ jsdoc keywords/tags in alphabetical order --> match - (?<!\w)@(abstract|access|alias|arg|argument|async|attribute|augments|author|beta|borrows|bubbes|callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright|default|default[vV]alue|define|deprecated|desc|description|dict|emits|enum|event|example|exports?|extends|extension|extension_for|extension[fF]or|external|file|file[oO]verview|final|fires|for|function|global|host|ignore|implements|inherit[dD]oc|inner|instance|interface|kind|lends|license|listens|main|member|member[oO]f|method|mixex|mixins?|module|name|namespace|no[cC]ollapse|no[sS]ide[eE]ffects|override|overview|package|param|preserve|private|prop|property|protected|public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary|template|this|throws|todo|TODO|tutorial|type|typedef|unrestricted|uses|var|variation|version|virtual|write[oO]nce)\b + (?<!\w)@(abstract|access|alias|arg|argument|async|attribute|augments|author|beta|borrows|bubbes|callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright|default|default[vV]alue|define|deprecated|desc|description|dict|emits|enum|event|example|exports?|extends|extension|extension_for|extension[fF]or|external|file|file[oO]verview|final|fires|for|function|global|host|ignore|implements|inherit[dD]oc|inner|instance|interface|kind|lends|license|link|listens|main|member|member[oO]f|method|mixex|mixins?|module|name|namespace|no[cC]ollapse|no[sS]ide[eE]ffects|override|overview|package|param|preserve|private|prop|property|protected|public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary|template|this|throws|todo|TODO|tutorial|type|typedef|unrestricted|uses|var|variation|version|virtual|write[oO]nce)\b name keyword.other.documentation.js.jsdoc From 4a362cd7ece1e645320e67f11b6d8778167697bf Mon Sep 17 00:00:00 2001 From: ogallagher Date: Sat, 2 Apr 2022 21:00:33 -0400 Subject: [PATCH 4/4] Typo in jsdoc keywords list --- Syntaxes/JavaScript.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Syntaxes/JavaScript.plist b/Syntaxes/JavaScript.plist index 4625af1..7ee32ed 100644 --- a/Syntaxes/JavaScript.plist +++ b/Syntaxes/JavaScript.plist @@ -422,7 +422,7 @@ jsdoc keywords/tags in alphabetical order --> match - (?<!\w)@(abstract|access|alias|arg|argument|async|attribute|augments|author|beta|borrows|bubbes|callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright|default|default[vV]alue|define|deprecated|desc|description|dict|emits|enum|event|example|exports?|extends|extension|extension_for|extension[fF]or|external|file|file[oO]verview|final|fires|for|function|global|host|ignore|implements|inherit[dD]oc|inner|instance|interface|kind|lends|license|link|listens|main|member|member[oO]f|method|mixex|mixins?|module|name|namespace|no[cC]ollapse|no[sS]ide[eE]ffects|override|overview|package|param|preserve|private|prop|property|protected|public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary|template|this|throws|todo|TODO|tutorial|type|typedef|unrestricted|uses|var|variation|version|virtual|write[oO]nce)\b + (?<!\w)@(abstract|access|alias|arg|argument|async|attribute|augments|author|beta|borrows|bubbes|callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright|default|default[vV]alue|define|deprecated|desc|description|dict|emits|enum|event|example|exports?|extends|extension|extension_for|extension[fF]or|external|field|file|file[oO]verview|final|fires|for|function|global|host|ignore|implements|inherit[dD]oc|inner|instance|interface|kind|lends|license|link|listens|main|member|member[oO]f|method|mixex|mixins?|module|name|namespace|no[cC]ollapse|no[sS]ide[eE]ffects|override|overview|package|param|preserve|private|prop|property|protected|public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary|template|this|throws|todo|TODO|tutorial|type|typedef|unrestricted|uses|var|variation|version|virtual|write[oO]nce)\b name keyword.other.documentation.js.jsdoc