Skip to content

Commit d5551c8

Browse files
committed
Revert to icon theme and VBA lang identifier
1 parent 7387a94 commit d5551c8

File tree

2 files changed

+39
-59
lines changed

2 files changed

+39
-59
lines changed

icon-theme.json

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,34 @@
11
{
2-
"fileExtensions": {
3-
"cls": "_class",
4-
"bas": "_module",
5-
"frm": "_userform"
6-
},
72
"iconDefinitions": {
83
"_class": {
9-
"iconPath": "icons/vba_blue.svg"
4+
"iconPath": "icons/vba_90sGreen_dark.svg"
5+
},
6+
"_class_light": {
7+
"iconPath": "icons/vba_90sGreen_light.svg"
108
},
119
"_module": {
12-
"iconPath": "icons/vba_orange.svg"
10+
"iconPath": "icons/vba_90sPurple_dark.svg"
11+
},
12+
"_module_light": {
13+
"iconPath": "icons/vba_90sPurple_light.svg"
1314
},
1415
"_userform": {
15-
"iconPath": "icons/vba_green.svg"
16+
"iconPath": "icons/vba_90sYellow_dark.svg"
17+
},
18+
"_userform_light": {
19+
"iconPath": "icons/vba_90sPurple_light.svg"
20+
}
21+
},
22+
"fileExtensions": {
23+
"cls": "_class",
24+
"bas": "_module",
25+
"frm": "_userform"
26+
},
27+
"light": {
28+
"fileExtensions": {
29+
"cls": "_class_light",
30+
"bas": "_module_light",
31+
"frm": "_userform_light"
1632
}
1733
}
1834
}

package.json

Lines changed: 15 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"Programming Languages",
1717
"Snippets",
1818
"Linters",
19-
"Formatters"
19+
"Formatters",
20+
"Themes"
2021
],
2122
"keywords": [
2223
"multi-root ready"
@@ -30,46 +31,27 @@
3031
"contributes": {
3132
"languages": [
3233
{
33-
"id": "vba-class",
34+
"id": "vba",
3435
"aliases": [
35-
"VBA Class"
36+
"VBA"
3637
],
3738
"extensions": [
38-
".cls"
39+
".cls",
40+
".bas",
41+
".frm"
3942
],
4043
"configuration": "./vba.language-configuration.json",
4144
"icon": {
4245
"dark": "icons/vba_90sGreen_dark.svg",
4346
"light": "icons/vba_90sGreen_light.svg"
4447
}
45-
},
46-
{
47-
"id": "vba-module",
48-
"aliases": [
49-
"VBA Module"
50-
],
51-
"extensions": [
52-
".bas"
53-
],
54-
"configuration": "./vba.language-configuration.json",
55-
"icon": {
56-
"dark": "icons/vba_90sPurple_dark.svg",
57-
"light": "icons/vba_90sPurple_light.svg"
58-
}
59-
},
48+
}
49+
],
50+
"iconThemes": [
6051
{
61-
"id": "vba-form",
62-
"aliases": [
63-
"VBA Form"
64-
],
65-
"extensions": [
66-
".frm"
67-
],
68-
"configuration": "./vba.language-configuration.json",
69-
"icon": {
70-
"dark": "icons/vba_90sYellow_dark.svg",
71-
"light": "icons/vba_90sYellow_light.svg"
72-
}
52+
"id": "vba-lsp",
53+
"label": "VBA Icons",
54+
"path": "icon-theme.json"
7355
}
7456
],
7557
"configurationDefaults": {
@@ -148,32 +130,14 @@
148130
},
149131
"grammars": [
150132
{
151-
"language": "vba-class",
152-
"scopeName": "source.vba",
153-
"path": "./client/syntaxes/vba.tmLanguage.json"
154-
},
155-
{
156-
"language": "vba-module",
157-
"scopeName": "source.vba",
158-
"path": "./client/syntaxes/vba.tmLanguage.json"
159-
},
160-
{
161-
"language": "vba-form",
133+
"language": "vba",
162134
"scopeName": "source.vba",
163135
"path": "./client/syntaxes/vba.tmLanguage.json"
164136
}
165137
],
166138
"snippets": [
167139
{
168-
"language": "vba-class",
169-
"path": "./snippets/vba.json"
170-
},
171-
{
172-
"language": "vba-module",
173-
"path": "./snippets/vba.json"
174-
},
175-
{
176-
"language": "vba-form",
140+
"language": "vba",
177141
"path": "./snippets/vba.json"
178142
}
179143
]

0 commit comments

Comments
 (0)