Skip to content

Commit 3662af2

Browse files
committed
feat(libraries): added support for kendo ui and ng bootstrap
1 parent 8f10aa8 commit 3662af2

31 files changed

Lines changed: 2309 additions & 72 deletions

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"[typescript]": {
1212
"editor.formatOnSave": false,
1313
"editor.codeActionsOnSave": {
14-
"source.fixAll": true
14+
"source.fixAll": "explicit"
1515
}
1616
},
1717
"[html]": {

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ This plugin adds syntax highlighting for angular HTML template files in VS Code.
3838
- [Comments](#comments)
3939
- [Entities](#entities)
4040
- [PrimeNG](#primeng)
41+
- [NG Bootstrap](#ng-bootstrap)
42+
- [Kendo UI](#kendo-ui)
4143
- [Custom components](#custom-components)
4244
- [DOM events](#dom-events)
4345
- [Generic attributes](#generic-attributes)
@@ -135,6 +137,18 @@ This plugin adds syntax highlighting for angular HTML template files in VS Code.
135137
136138
<img src="assets/prime-ng-tags.png" title="Prime NG Tags" alt="Prime NG Tags" />
137139

140+
## NG Bootstrap
141+
142+
> See the [complete list](docs/NG-BOOTSTRAP.md)
143+
144+
<img src="assets/ng-bootstrap-tags.png" title="NG Bootstrap Tags" alt="NG Bootstrap Tags" />
145+
146+
## Kendo UI
147+
148+
> See the [complete list](docs/KENDO-UI.md)
149+
150+
<img src="assets/kendo-ui-tags.png" title="Kendo UI Tags" alt="Kendo UI Tags" />
151+
138152
## Custom components
139153

140154
> See [color-customization](docs/SETTINGS.MD)

assets/kendo-ui-tags.png

241 KB
Loading

assets/ng-bootstrap-tags.png

145 KB
Loading

docs/KENDO-UI.md

Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
# Kendo UI Specific Tags
2+
3+
> List of Kendo UI element tags which support custom syntax highlithging
4+
5+
- kendo-window
6+
- kendo-upload
7+
- kendo-treeview
8+
- kendo-treelist-spacer
9+
- kendo-treelist-pdf
10+
- kendo-treelist-excel
11+
- kendo-treelist-column
12+
- kendo-treelist-checkbox-column
13+
- kendo-treelist
14+
- kendo-toolbar-splitbutton
15+
- kendo-toolbar-spacer
16+
- kendo-toolbar-separator
17+
- kendo-toolbar-dropdownbutton
18+
- kendo-toolbar-buttongroup
19+
- kendo-toolbar-button
20+
- kendo-toolbar
21+
- kendo-timepicker
22+
- kendo-tilelayout-item-body
23+
- kendo-tilelayout-item
24+
- kendo-tilelayout
25+
- kendo-textbox
26+
- kendo-textarea
27+
- kendo-tabstrip-tab
28+
- kendo-tabstrip
29+
- kendo-switch
30+
- kendo-svgicon
31+
- kendo-stepper
32+
- kendo-stacklayout
33+
- kendo-spreadsheet
34+
- kendo-splitter-pane
35+
- kendo-splitter
36+
- kendo-splitbutton
37+
- kendo-sparkline
38+
- kendo-sortable
39+
- kendo-slider-messages
40+
- kendo-slider
41+
- kendo-skeleton
42+
- kendo-signature
43+
- kendo-scrollview
44+
- kendo-scheduler-week-view
45+
- kendo-scheduler-timeline-view
46+
- kendo-scheduler-month-view
47+
- kendo-scheduler-day-view
48+
- kendo-scheduler-agenda-view
49+
- kendo-scheduler
50+
- kendo-rating
51+
- kendo-rangeslider
52+
- kendo-radialgauge
53+
- kendo-qrcode
54+
- kendo-progressbar
55+
- kendo-popup
56+
- kendo-popover
57+
- kendo-pivotgrid
58+
- kendo-pdfviewer
59+
- kendo-pdf-export
60+
- kendo-panelbar-item
61+
- kendo-panelbar
62+
- kendo-numerictextbox
63+
- kendo-multiviewcalendar
64+
- kendo-multiselecttree
65+
- kendo-multiselect
66+
- kendo-multicolumncombobox
67+
- kendo-menu
68+
- kendo-maskedtextbox
69+
- kendo-map-tile-layer
70+
- kendo-map-shape-layer
71+
- kendo-map-marker-layer
72+
- kendo-map-layers
73+
- kendo-map-bubble-layer
74+
- kendo-map
75+
- kendo-loader
76+
- kendo-listview
77+
- kendo-listbox
78+
- kendo-lineargauge
79+
- kendo-label
80+
- kendo-icon
81+
- kendo-gridlayout-item
82+
- kendo-gridlayout
83+
- kendo-grid-spacer
84+
- kendo-grid-pdf
85+
- kendo-grid-excel
86+
- kendo-grid-column-group
87+
- kendo-grid-column
88+
- kendo-grid-checkbox-column
89+
- kendo-grid
90+
- kendo-gantt-timeline-week-view
91+
- kendo-gantt-timeline-month-view
92+
- kendo-gantt-timeline-day-view
93+
- kendo-gantt-column-group
94+
- kendo-gantt-column
95+
- kendo-gantt
96+
- kendo-formhint
97+
- kendo-formfield
98+
- kendo-formerror
99+
- kendo-floatinglabel
100+
- kendo-floatingactionbutton
101+
- kendo-flatcolorpicker
102+
- kendo-filter
103+
- kendo-fileselect
104+
- kendo-expansionpanel
105+
- kendo-excelexport-column
106+
- kendo-excelexport
107+
- kendo-editor
108+
- kendo-dropdowntree
109+
- kendo-dropdownlist
110+
- kendo-dropdownbutton
111+
- kendo-drawer-content
112+
- kendo-drawer-container
113+
- kendo-drawer
114+
- kendo-dialog-actions
115+
- kendo-dialog
116+
- kendo-datetimepicker
117+
- kendo-daterange
118+
- kendo-datepicker
119+
- kendo-dateinput
120+
- kendo-datapager
121+
- kendo-contextmenu
122+
- kendo-combobox-column
123+
- kendo-combobox
124+
- kendo-colorpicker
125+
- kendo-colorpalette
126+
- kendo-colorgradient
127+
- kendo-circularprogressbar
128+
- kendo-circulargauge
129+
- kendo-chunkprogressbar
130+
- kendo-chiplist
131+
- kendo-chip
132+
- kendo-chat
133+
- kendo-chart-y-axis-item-crosshair-tooltip
134+
- kendo-chart-y-axis-item-crosshair
135+
- kendo-chart-y-axis-item
136+
- kendo-chart-y-axis
137+
- kendo-chart-x-axis-item-crosshair-tooltip
138+
- kendo-chart-x-axis-item-crosshair
139+
- kendo-chart-x-axis-item
140+
- kendo-chart-x-axis
141+
- kendo-chart-value-axis-item
142+
- kendo-chart-value-axis
143+
- kendo-chart-tooltip
144+
- kendo-chart-title
145+
- kendo-chart-series-item-tooltip
146+
- kendo-chart-series-item-markers
147+
- kendo-chart-series-item-labels-to
148+
- kendo-chart-series-item-labels-from
149+
- kendo-chart-series-item-labels
150+
- kendo-chart-series-item
151+
- kendo-chart-series-defaults
152+
- kendo-chart-series
153+
- kendo-chart-legend
154+
- kendo-chart-category-axis-item
155+
- kendo-chart-category-axis
156+
- kendo-chart-area
157+
- kendo-chart
158+
- kendo-card-header
159+
- kendo-card-footer
160+
- kendo-card-body
161+
- kendo-card-actions
162+
- kendo-card
163+
- kendo-calendar
164+
- kendo-buttongroup
165+
- kendo-button
166+
- kendo-breadcrumb
167+
- kendo-bottomnavigation
168+
- kendo-barcode
169+
- kendo-badge-container
170+
- kendo-badge
171+
- kendo-avatar
172+
- kendo-autocomplete
173+
- kendo-arcgauge
174+
- kendo-appbar-spacer
175+
- kendo-appbar-section
176+
- kendo-appbar
177+
- kendo-actionsheet
178+
179+
## Reference
180+
181+
- [Telerik docs](https://telerik.com/kendo-angular-ui)

docs/NG-BOOTSTRAP.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# NG Bootstrap Specific Tags
2+
3+
> List of NG Bootstrap element tags which support custom syntax highlithging
4+
5+
- ngb-typeahead-window
6+
- ngb-tooltip-window
7+
- ngb-toast
8+
- ngb-timepicker
9+
- ngb-rating
10+
- ngb-progressbar-stacked
11+
- ngb-progressbar
12+
- ngb-popover-window
13+
- ngb-pagination
14+
- ngb-offcanvas-panel
15+
- ngb-offcanvas-backdrop
16+
- ngb-modal-window
17+
- ngb-modal-backdrop
18+
- ngb-highlight
19+
- ngb-datepicker-navigation-select
20+
- ngb-datepicker-navigation
21+
- ngb-datepicker-month
22+
- ngb-datepicker
23+
- ngb-carousel
24+
- ngb-alert
25+
26+
## Reference
27+
28+
- [NG Bootstrap docs](https://ng-bootstrap.github.io/#/components)

docs/THEMING.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
- [Interpolations](#interpolations)
1616
- [Control Flow](#control-flow)
1717
- [PrimeNG](#primeng)
18+
- [NG Bootstrap](#ng-bootstrap)
19+
- [Kendo UI](#kendo-ui)
1820
- [HTML](#html)
1921
- [Doctype](#doctype)
2022
- [Entities](#entities)
@@ -124,6 +126,18 @@
124126

125127
- `p-calendar` - entity.name.tag.html.primeng
126128

129+
# NG Bootstrap
130+
131+
<img src="../assets/ng-bootstrap-tags.png" title="NG Bootstrap Tags" alt="NG Bootstrap Tags" />
132+
133+
- `ngb-toast` - entity.name.tag.html.ng-bootstrap
134+
135+
# Kendo UI
136+
137+
<img src="../assets/kendo-ui-tags.png" title="Kendo UI Tags" alt="Kendo UI Tags" />
138+
139+
- `kendo-editor` - entity.name.tag.html.kendo
140+
127141
# HTML
128142

129143
## Doctype

package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,26 @@
306306
}
307307
}
308308
},
309+
{
310+
"title": "NG Bootstrap",
311+
"properties": {
312+
"vscode-angular-html.ngBootstrapElementTags": {
313+
"type": "string",
314+
"default": "",
315+
"markdownDescription": "%ext.settings.ngBootstrap.ngBootstrapElementTags%"
316+
}
317+
}
318+
},
319+
{
320+
"title": "Kendo UI",
321+
"properties": {
322+
"vscode-angular-html.kendoUiElementTags": {
323+
"type": "string",
324+
"default": "",
325+
"markdownDescription": "%ext.settings.kendo.kendoUiElementTags%"
326+
}
327+
}
328+
},
309329
{
310330
"title": "SVG",
311331
"properties": {

package.nls.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
"ext.settings.angular.controlFlowPrefix": "Matches Angular's control flow keyword prefix (@).\n\n* `@`if (showBody) { &#60;body-cmp/&#62; }\n\n* `@`else if (showSummary) { &#60;summary-cmp/&#62; }\n\n* `@`else { Nothing to see here }\n\n```html\n\n@if (showBody) {\n\t<body-cmp />\n} @else if (showSummary) {\n\t<summary-cmp />\n} @else {\n\tNothing to see here\n}\n```\nLeave it empty to disable for this item only",
4141
"ext.settings.angular.controlFlowKeyword": "Matches Angular's control flow keywords.\n\n* @`if` (showBody) { &#60;body-cmp/&#62; }\n\n* @`else if` (showSummary) { &#60;summary-cmp/&#62; }\n\n* @`else` { Nothing to see here }\n\n```html\n\n@if (showBody) {\n\t<body-cmp />\n} @else if (showSummary) {\n\t<summary-cmp />\n} @else {\n\tNothing to see here\n}\n```\nLeave it empty to disable for this item only",
4242
"ext.settings.primeng.primeNgElementTags": "Matches PrimeNG-specific element tags.\n\n* &#60;`p-calendar`&#62;&#60;/`p-calendar`&#62;\n\n* &#60;`p-button`&#62;&#60;/`p-button`&#62;\n\n```html\n\n<p-calendar></p-calendar>\n<p-button></p-button>\n\n\n```\nLeave it empty to disable for this item only",
43+
"ext.settings.ngBootstrap.ngBootstrapElementTags": "Matches NG Bootstrap-specific element tags.\n\n* &#60;`ngb-alert`&#62;&#60;/`ngb-alert`&#62;\n\n* &#60;`ngb-carousel`&#62;&#60;/`ngb-carousel`&#62;\n\n```html\n\n<ngb-alert></ngb-alert>\n<ngb-carousel></ngb-carousel>\n\n\n```\nLeave it empty to disable for this item only",
44+
"ext.settings.kendo.kendoUiElementTags": "Matches Kendo UI-specific element tags.\n\n* &#60;`kendo-window`&#62;&#60;/`kendo-window`&#62;\n\n* &#60;`kendo-upload`&#62;&#60;/`kendo-upload`&#62;\n\n```html\n\n<kendo-window></kendo-window>\n<kendo-upload></kendo-upload>\n\n\n```\nLeave it empty to disable for this item only",
4345
"ext.settings.svg.svgTags": "Matches known SVG elements.\n\n* &#60;`circle`&#62;&#60;/`circle`&#62;\n\n* &#60;`path`&#62;&#60;/`path`&#62;\n\n```html\n\n<circle></circle>\n<svg>\n\t<circle></circle>\n\t<path></path>\n</svg>\n\n\n```\nLeave it empty to disable for this item only",
4446
"ext.settings.svg.svgDAttributePathCommands": "Matches SVG d attribute path commands.\n\n* &#60;path d=\"`M`202.35,163.64`l`-4.38-13.1`h`-2.13`v`-3.85`h`9.1`v`3.85`h`-1.82`l`2.05,6.2`l`3.41-10.05\" /&#62;\n\n```html\n\n<svg>\n\t<path d=\"M202.35,163.64l-4.38-13.1h-2.13v-3.85h9.1v3.85h-1.82l2.05,6.2l3.41-10.05\" />\n</svg>\n\n\n```\nLeave it empty to disable for this item only",
4547
"ext.settings.xml.xmlTagNamespaceDivider": "Matches XML/HTML element namespace colon separator.\n\n* &#60;li`:`title&#62;Book Title&#60;/li`:`title&#62;\n\n```html\n\n<li:title>Book Title</li:title>\n\n\n```\nLeave it empty to disable for this item only",

package.nls.pt-br.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
"ext.settings.angular.controlFlowPrefix": "Corresponde ao prefixo de palavras-chave de fluxo de controle do Angular (@).\n\n* `@`if (showBody) { &#60;body-cmp/&#62; }\n\n* `@`else if (showSummary) { &#60;summary-cmp/&#62; }\n\n* `@`else { Nothing to see here }\n\n```html\n\n@if (showBody) {\n\t<body-cmp />\n} @else if (showSummary) {\n\t<summary-cmp />\n} @else {\n\tNothing to see here\n}\n```\nDeixe em branco para desativar para este item.",
4141
"ext.settings.angular.controlFlowKeyword": "Corresponde a palavras-chave de fluxo de controle do Angular.\n\n* @`if` (showBody) { &#60;body-cmp/&#62; }\n\n* @`else if` (showSummary) { &#60;summary-cmp/&#62; }\n\n* @`else` { Nothing to see here }\n\n```html\n\n@if (showBody) {\n\t<body-cmp />\n} @else if (showSummary) {\n\t<summary-cmp />\n} @else {\n\tNothing to see here\n}\n```\nDeixe em branco para desativar para este item.",
4242
"ext.settings.primeng.primeNgElementTags": "Corresponde a tags específicas do PrimeNG\n\n* &#60;`p-calendar`&#62;&#60;/`p-calendar`&#62;\n\n* &#60;`p-button`&#62;&#60;/`p-button`&#62;\n\n```html\n\n<p-calendar></p-calendar>\n<p-button></p-button>\n\n\n```\nDeixe em branco para desativar para este item.",
43+
"ext.settings.ngBootstrap.ngBootstrapElementTags": "Corresponde a tags específicas do NG Bootstrap\n\n* &#60;`ngb-alert`&#62;&#60;/`ngb-alert`&#62;\n\n* &#60;`ngb-carousel`&#62;&#60;/`ngb-carousel`&#62;\n\n```html\n\n<ngb-alert></ngb-alert>\n<ngb-carousel></ngb-carousel>\n\n\n```\nDeixe em branco para desativar para este item.",
44+
"ext.settings.kendo.kendoUiElementTags": "Corresponde a tags específicas da Kendo UI\n\n* &#60;`kendo-window`&#62;&#60;/`kendo-window`&#62;\n\n* &#60;`kendo-upload`&#62;&#60;/`kendo-upload`&#62;\n\n```html\n\n<kendo-window></kendo-window>\n<kendo-upload></kendo-upload>\n\n\n```\nDeixe em branco para desativar para este item.",
4345
"ext.settings.svg.svgTags": "Corresponde a elementos conhecidos do SVG.\n\n* &#60;`circle`&#62;&#60;/`circle`&#62;\n\n* &#60;`path`&#62;&#60;/`path`&#62;\n\n```html\n\n<circle></circle>\n<svg>\n\t<circle></circle>\n\t<path></path>\n</svg>\n\n\n```\nDeixe em branco para desativar para este item.",
4446
"ext.settings.svg.svgDAttributePathCommands": "Corresponde a comandos do atributo d de tags path no SVG.\n\n* &#60;path d=\"`M`202.35,163.64`l`-4.38-13.1`h`-2.13`v`-3.85`h`9.1`v`3.85`h`-1.82`l`2.05,6.2`l`3.41-10.05\" /&#62;\n\n```html\n\n<svg>\n\t<path d=\"M202.35,163.64l-4.38-13.1h-2.13v-3.85h9.1v3.85h-1.82l2.05,6.2l3.41-10.05\" />\n</svg>\n\n\n```\nDeixe em branco para desativar para este item.",
4547
"ext.settings.xml.xmlTagNamespaceDivider": "Corresponde ao separador de namespace dois pontos de elementos XML/HTML.\n\n* &#60;li`:`title&#62;Book Title&#60;/li`:`title&#62;\n\n```html\n\n<li:title>Book Title</li:title>\n\n\n```\nDeixe em branco para desativar para este item.",

0 commit comments

Comments
 (0)