-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(scope customization): new scope customization (html, custom-elem…
…ents, svg, ng operators) All the elements scopes were meta-named and separated into known and unknown elements, html, custom-elements, angular and angular material elements, some fixes were made also, and there is only one more fix to do before only chores missing and documentation to do BREAKING CHANGE: same as before
- Loading branch information
Showing
162 changed files
with
6,046 additions
and
3,050 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
textMateRules: [ | ||
{ | ||
scope: 'html-template.ng.expression.operator.logical', | ||
configRule: 'vscode-angular-html.angularExpressionOperatorsAndNavigatorsColor', | ||
}, | ||
{ | ||
scope: 'html-template.ng.expression.operator.compound', | ||
configRule: 'vscode-angular-html.angularExpressionOperatorsAndNavigatorsColor', | ||
}, | ||
{ | ||
scope: 'html-template.ng.expression.operator.bitwise', | ||
configRule: 'vscode-angular-html.angularExpressionOperatorsAndNavigatorsColor', | ||
}, | ||
{ | ||
scope: 'html-template.ng.expression.operator.comparison', | ||
configRule: 'vscode-angular-html.angularExpressionOperatorsAndNavigatorsColor', | ||
}, | ||
{ | ||
scope: 'html-template.ng.expression.operator.relational', | ||
configRule: 'vscode-angular-html.angularExpressionOperatorsAndNavigatorsColor', | ||
}, | ||
{ | ||
scope: 'html-template.ng.expression.operator.arithmetic', | ||
configRule: 'vscode-angular-html.angularExpressionOperatorsAndNavigatorsColor', | ||
}, | ||
{ | ||
scope: 'html-template.ng.expression.operator.navigator', | ||
configRule: 'vscode-angular-html.angularExpressionOperatorsAndNavigatorsColor', | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
textMateRules: [ | ||
{ | ||
scope: 'html-template.tag.svg', | ||
configRule: 'vscode-angular-html.svgTags', | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
textMateRules: [ | ||
{ | ||
scope: 'html-template.tag.custom', | ||
configRule: 'vscode-angular-html.htmlCustomTags', | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
textMateRules: [ | ||
{ | ||
scope: 'html-template.tag.html', | ||
configRule: 'vscode-angular-html.htmlTags', | ||
}, | ||
], | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 12 additions & 9 deletions
21
...utes/generic/tag-prefixed-attribute.json5 → ...s/angular/tag-alt-template-variable.json5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
...inified-boolean-prefixed-attributes.json5 → ...r/tag-boolean-alt-template-variable.json5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
{ | ||
repository: { | ||
'tag-minified-boolean-prefixed-attributes': { | ||
'tag-boolean-alt-template-variable': { | ||
captures: { | ||
'2': { | ||
name: 'entity.other.attribute-name.html html-template.ng.attributes.prefix.let', | ||
'0': { | ||
name: 'meta.ng-binding.template.variable.boolean.alt.html', | ||
}, | ||
'3': { | ||
'1': { | ||
name: 'entity.other.attribute-name.html html-template.ng.attributes.prefix.ref', | ||
}, | ||
'4': { | ||
'2': { | ||
name: 'entity.other.attribute-name.html html-template.ng.attributes.suffix.name', | ||
}, | ||
'5': { | ||
'3': { | ||
name: 'entity.other.attribute-name.html html-template.ng.attributes.suffix.rxjs', | ||
}, | ||
}, | ||
match: '((let\\-)|(ref\\-))\\b([\\w\\-\\_]+)([$]*)(?!=)[\\s]?', | ||
match: '(ref\\-)\\b([\\w\\-\\_]+)([$]*)(?!=)[\\s]?', | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/grammar/repository/attributes/angular/tag-boolean-template-input-variable.json5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
repository: { | ||
'tag-boolean-template-input-variable': { | ||
captures: { | ||
'0': { | ||
name: 'meta.ng-binding.template.input.variable.boolean.html', | ||
}, | ||
'1': { | ||
name: 'entity.other.attribute-name.html html-template.ng.attributes.prefix.let', | ||
}, | ||
'2': { | ||
name: 'entity.other.attribute-name.html html-template.ng.attributes.suffix.name', | ||
}, | ||
'3': { | ||
name: 'entity.other.attribute-name.html html-template.ng.attributes.suffix.rxjs', | ||
}, | ||
}, | ||
match: '(let\\-)\\b([\\w\\-\\_]+)([$]*)(?!=)[\\s]?', | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.