Skip to content

Commit 44b1ef5

Browse files
authored
Merge pull request #75 from ghaschel/performance-improvement
Performance improvement
2 parents 70455f5 + 5feb30f commit 44b1ef5

64 files changed

Lines changed: 5057 additions & 2850 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ var tsRules = {
470470
...baseTsRules,
471471
'max-classes-per-file': ['error', { ignoreExpressions: true, max: 1 }],
472472
'@typescript-eslint/no-require-imports': ['error'],
473+
'prettier/prettier': 2,
473474
};
474475

475476
module.exports = {

.github/ISSUE_TEMPLATE/theme_support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ about: Ask for support for a specific theme, or a change in a specific theme.
44
title: Support extra-matched characters colors for XYZ theme
55
labels: theme support
66
assignees: ghaschel
7-
87
---
98

109
**Is your request a change or a new theme?**
10+
1111
- [ ] Change
1212
- [ ] Request
1313

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"type": "extensionHost",
1111
"request": "launch",
1212
"args": ["${workspaceFolder}/out", "--extensionDevelopmentPath=${workspaceFolder}"],
13-
"outFiles": ["${workspaceFolder}/out/**/*.js"],
14-
"preLaunchTask": "${defaultBuildTask}"
13+
"outFiles": ["${workspaceFolder}/out/**/*.js"]
14+
// "preLaunchTask": "${defaultBuildTask}"
1515
},
1616
{
1717
"name": "Run Extension Tests",

.vscode/settings.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"search.exclude": {
3-
"out": true
3+
"out": true,
4+
"node_modules": true
45
},
56
"eslint.options": {
67
"extensions": [".ts"]
78
},
9+
"editor.formatOnSave": true,
810
"eslint.validate": ["typescript", "typescriptreact"],
911
"[typescript]": {
1012
"editor.formatOnSave": false,
@@ -17,8 +19,5 @@
1719
},
1820
"html.format.extraLiners": "head, body, /html, fieldset",
1921
"html.format.wrapAttributes": "force-expand-multiline",
20-
"html.format.indentInnerHtml": true,
21-
"scss.validate": false,
22-
"css.validate": false,
23-
"less.validate": false
22+
"html.format.indentInnerHtml": true
2423
}

.vscode/tasks.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
// See https://go.microsoft.com/fwlink/?LinkId=733558
2-
// for the documentation about the tasks.json format
3-
{
4-
"version": "2.0.0",
5-
"tasks": [
6-
{
7-
"type": "npm",
8-
"script": "watch",
9-
"problemMatcher": "$tsc-watch",
10-
"isBackground": true,
11-
"presentation": {
12-
"reveal": "never"
13-
},
14-
"group": {
15-
"kind": "build",
16-
"isDefault": true
17-
}
18-
}
19-
]
20-
}
1+
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// for the documentation about the tasks.json format
3+
{
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"problemMatcher": "$tsc-watch",
10+
"isBackground": true,
11+
"presentation": {
12+
"reveal": "never"
13+
},
14+
"group": {
15+
"kind": "build",
16+
"isDefault": true
17+
}
18+
}
19+
]
20+
}

.vscodeignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,11 @@ out/**/*.map
1616
commitlint.config.js
1717
gulpfile.js
1818
package-lock.json
19+
tsconfig.json
20+
tsconfig.test.json
21+
node_modules
22+
webpack.config.js
23+
*.todo
24+
.hushlogin
25+
.eslintrc.js
26+
.prettierignore

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ This plugin adds syntax highlighting for angular HTML template files in VS Code.
4242
- [Regex](#regex)
4343
- [Deprecated attributes](#deprecated-attributes)
4444
- [Deprecated tags](#deprecated-tags)
45+
- [ARIA-prefixed attributes](#aria-prefixed-attributes)
46+
- [Data attributes](#data-attributes)
4547
- [SVG](#svg)
4648
- [Non-string attributes](#non-string-attributes)
4749
- [Deprecated tags](#deprecated-tags-1)
@@ -167,6 +169,16 @@ And with [colorize support](https://marketplace.visualstudio.com/items?itemName=
167169
168170
<img src="assets/deprecated-html-tags.png" title="Deprecated tags" alt="Deprecated tags" />
169171

172+
## ARIA-prefixed attributes
173+
174+
> See the [complete list](docs/ARIA-ATTRIBUTES.md)
175+
176+
<img src="assets/aria-attributes.png" title="Aria attributes" alt="Aria attributes" />
177+
178+
## Data attributes
179+
180+
<img src="assets/data-attributes.png" title="Data attributes" alt="Data attributes" />
181+
170182
# SVG
171183

172184
## Non-string attributes

assets/aria-attributes.png

61.4 KB
Loading

assets/data-attributes.png

27.6 KB
Loading

docs/ARIA-ATTRIBUTES.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# ARIA-prefixed attributes
2+
3+
> List of supported ARIA-prefixed attributes
4+
5+
- aria-activedescendant
6+
- aria-atomic
7+
- aria-autocomplete
8+
- aria-busy
9+
- aria-checked
10+
- aria-colcount
11+
- aria-colindex
12+
- aria-colspan
13+
- aria-controls
14+
- aria-current
15+
- aria-describedby
16+
- aria-description
17+
- aria-details
18+
- aria-disabled
19+
- aria-dropeffect
20+
- aria-errormessage
21+
- aria-expanded
22+
- aria-flowto
23+
- aria-grabbed
24+
- aria-haspopup
25+
- aria-hidden
26+
- aria-invalid
27+
- aria-keyshortcuts
28+
- aria-label
29+
- aria-labelledby
30+
- aria-level
31+
- aria-live
32+
- aria-modal
33+
- aria-multiline
34+
- aria-multiselectable
35+
- aria-orientation
36+
- aria-owns
37+
- aria-placeholder
38+
- aria-posinset
39+
- aria-pressed
40+
- aria-readonly
41+
- aria-relevant
42+
- aria-required
43+
- aria-roledescription
44+
- aria-rowcount
45+
- aria-rowindex
46+
- aria-rowspan
47+
- aria-selected
48+
- aria-setsize
49+
- aria-sort
50+
- aria-valuemax
51+
- aria-valuemin
52+
- aria-valuenow
53+
- aria-valuetext
54+
55+
## Reference
56+
57+
- [MDN WebDocs ARIA states and properties spec](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes)

0 commit comments

Comments
 (0)