Skip to content

Commit 67429aa

Browse files
committed
feat(primeng support): fixes an issue with custom-elements matching and adds support for primeng
fix #65 re #63
1 parent 22c0b6b commit 67429aa

26 files changed

Lines changed: 24924 additions & 24581 deletions

CHANGELOG.md

Lines changed: 364 additions & 364 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ This plugin adds syntax highlighting for angular HTML template files in VS Code.
3434
- [Doctype](#doctype)
3535
- [Comments](#comments)
3636
- [Entities](#entities)
37+
- [PrimeNG](#primeng)
3738
- [Custom components](#custom-components)
3839
- [DOM events](#dom-events)
3940
- [Generic attributes](#generic-attributes)
@@ -78,6 +79,8 @@ This plugin adds syntax highlighting for angular HTML template files in VS Code.
7879
7980
> See [SVG-specific list](docs/SVG-SPECIFIC-TAGS.md)
8081
82+
> See [PrimeNG-specific list](docs/PRIMENG.md)
83+
8184
<img src="assets/tag-differentiation.png" title="Element differentiation" alt="Element differentiation" />
8285

8386
## Customizations
@@ -116,6 +119,12 @@ This plugin adds syntax highlighting for angular HTML template files in VS Code.
116119
117120
<img src="assets/html-entities.png" title="HTML Entities" alt="HTML Entities" />
118121

122+
## PrimeNG
123+
124+
> See the [complete list](docs/PRIMENG.md)
125+
126+
<img src="assets/prime-ng-tags.png" title="Prime NG Tags" alt="Prime NG Tags" />
127+
119128
## Custom components
120129

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

assets/prime-ng-tags.png

102 KB
Loading

docs/PRIMENG.md

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# PrimeNG Specific Tags
2+
3+
> List of PrimeNG element tags which support custom syntax highlithging
4+
5+
- p-accordionTab
6+
- p-accordion
7+
- p-autocomplete
8+
- p-avatarGroup
9+
- p-avatar
10+
- p-badge
11+
- p-blockUI
12+
- p-breadcrumb
13+
- p-button
14+
- p-calendar
15+
- p-captcha
16+
- p-card
17+
- p-carousel
18+
- p-cascadeSelect
19+
- p-cellEditor
20+
- p-chart
21+
- p-checkbox
22+
- p-chips
23+
- p-chip
24+
- p-colorPicker
25+
- p-columnFilter
26+
- p-confirmDialog
27+
- p-confirmPopup
28+
- p-contextMenu
29+
- p-dataView
30+
- p-dialog
31+
- p-divider
32+
- p-dock
33+
- p-dropdown
34+
- p-editor
35+
- p-fieldset
36+
- p-fileUpload
37+
- p-fullCalendar
38+
- p-galleria
39+
- p-gmap
40+
- p-image
41+
- p-inplace
42+
- p-inputMask
43+
- p-inputNumber
44+
- p-inputSwitch
45+
- p-knob
46+
- p-listbox
47+
- p-megaMenu
48+
- p-menubar
49+
- p-menu
50+
- p-messages
51+
- p-message
52+
- p-multiSelect
53+
- p-orderList
54+
- p-organizationChart
55+
- p-overlayPanel
56+
- p-paginator
57+
- p-panelMenu
58+
- p-panel
59+
- p-password
60+
- p-pickList
61+
- p-progressBar
62+
- p-progressSpinner
63+
- p-radioButton
64+
- p-rating
65+
- p-scroller
66+
- p-scrollPanel
67+
- p-scrollTop
68+
- p-selectButton
69+
- p-skeleton
70+
- p-slideMenu
71+
- p-slider
72+
- p-sortIcon
73+
- p-speedDial
74+
- p-splitButton
75+
- p-splitter
76+
- p-steps
77+
- p-tableCheckbox
78+
- p-tableHeaderCheckbox
79+
- p-tableRadioButton
80+
- p-table
81+
- p-tabMenu
82+
- p-tabPanel
83+
- p-tabView
84+
- p-tag
85+
- p-terminal
86+
- p-tieredMenu
87+
- p-timeline
88+
- p-toast
89+
- p-toggleButton
90+
- p-toolbar
91+
- p-treeSelect
92+
- p-treeTableCellEditor
93+
- p-treeTableCheckbox
94+
- p-treeTableSortIcon
95+
- p-treeTableToggler
96+
- p-treeTable
97+
- p-tree
98+
- p-triStateCheckbox
99+
- p-virtualScroller
100+
101+
## Reference
102+
103+
- [PrimeFaces docs](https://www.primefaces.org/primeng)

docs/THEMING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- [Angular](#angular)
1212
- [Directives](#directives)
1313
- [Interpolations](#interpolations)
14+
- [PrimeNG](#primeng)
1415
- [HTML](#html)
1516
- [Doctype](#doctype)
1617
- [Entities](#entities)
@@ -104,6 +105,12 @@
104105
- `??`, `&` - html-template.ng.expression.operator.bitwise
105106
- `}}` - html-template.ng.interpolation.end
106107

108+
# PrimeNG
109+
110+
<img src="../assets/prime-ng-tags.png" title="Prime NG Tags" alt="Prime NG Tags" />
111+
112+
- `p-calendar` - entity.name.tag.html.primeng
113+
107114
# HTML
108115

109116
## Doctype

0 commit comments

Comments
 (0)