astro-vscode 2.0.0-next.2 → 2.0.0-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "color": "#17191E",
24
24
  "theme": "dark"
25
25
  },
26
- "version": "2.0.0-next.2",
26
+ "version": "2.0.0-next.4",
27
27
  "author": "withastro",
28
28
  "license": "MIT",
29
29
  "publisher": "astro-build",
@@ -38,7 +38,8 @@
38
38
  "files": [
39
39
  "dist/",
40
40
  "languages/",
41
- "syntaxes/"
41
+ "syntaxes/",
42
+ "assets/"
42
43
  ],
43
44
  "repository": {
44
45
  "type": "git",
@@ -60,16 +61,8 @@
60
61
  ],
61
62
  "commands": [
62
63
  {
63
- "command": "astro.restartLanguageServer",
64
- "title": "Astro: Restart Language Server"
65
- },
66
- {
67
- "command": "astro.showTSXOutput",
68
- "title": "Astro: Debug: Show TSX Output"
69
- },
70
- {
71
- "command": "astro.selectTypescriptVersion",
72
- "title": "Astro: Select Typescript Version..."
64
+ "command": "astro.reloadProjects",
65
+ "title": "Astro: Reload Projects"
73
66
  },
74
67
  {
75
68
  "command": "astro.findFileReferences",
@@ -79,15 +72,7 @@
79
72
  "menus": {
80
73
  "commandPalette": [
81
74
  {
82
- "command": "astro.restartLanguageServer",
83
- "when": "editorLangId == astro"
84
- },
85
- {
86
- "command": "astro.showTSXOutput",
87
- "when": "editorLangId == astro"
88
- },
89
- {
90
- "command": "astro.selectTypescriptVersion",
75
+ "command": "astro.reloadProjects",
91
76
  "when": "editorLangId == astro"
92
77
  },
93
78
  {
@@ -146,158 +131,6 @@
146
131
  ],
147
132
  "default": "off",
148
133
  "description": "Traces the communication between VS Code and the language server."
149
- },
150
- "astro.typescript.enabled": {
151
- "type": "boolean",
152
- "default": true,
153
- "title": "TypeScript",
154
- "description": "Enable TypeScript features"
155
- },
156
- "astro.typescript.allowArbitraryAttributes": {
157
- "type": "boolean",
158
- "default": false,
159
- "title": "TypeScript: Allow arbitrary attributes on HTML elements",
160
- "description": "Enable the usage of non-standard HTML attributes, such as the ones added by AlpineJS or petite-vue"
161
- },
162
- "astro.typescript.diagnostics.enabled": {
163
- "type": "boolean",
164
- "default": true,
165
- "title": "TypeScript: Diagnostics",
166
- "description": "Enable diagnostic messages for TypeScript"
167
- },
168
- "astro.typescript.hover.enabled": {
169
- "type": "boolean",
170
- "default": true,
171
- "title": "TypeScript: Hover Info",
172
- "description": "Enable hover info for TypeScript"
173
- },
174
- "astro.typescript.documentSymbols.enabled": {
175
- "type": "boolean",
176
- "default": true,
177
- "title": "TypeScript: Symbols in Outline",
178
- "description": "Enable document symbols for TypeScript"
179
- },
180
- "astro.typescript.completions.enabled": {
181
- "type": "boolean",
182
- "default": true,
183
- "title": "TypeScript: Completions",
184
- "description": "Enable completions for TypeScript"
185
- },
186
- "astro.typescript.definitions.enabled": {
187
- "type": "boolean",
188
- "default": true,
189
- "title": "TypeScript: Go to Definition",
190
- "description": "Enable go to definition for TypeScript"
191
- },
192
- "astro.typescript.codeActions.enabled": {
193
- "type": "boolean",
194
- "default": true,
195
- "title": "TypeScript: Code Actions",
196
- "description": "Enable code actions for TypeScript"
197
- },
198
- "astro.typescript.signatureHelp.enabled": {
199
- "type": "boolean",
200
- "default": true,
201
- "title": "TypeScript: Signature Help",
202
- "description": "Enable signature help (parameter hints) for TypeScript"
203
- },
204
- "astro.typescript.rename.enabled": {
205
- "type": "boolean",
206
- "default": true,
207
- "title": "TypeScript: Rename",
208
- "description": "Enable rename functionality for JS/TS variables inside Astro files"
209
- },
210
- "astro.typescript.semanticTokens.enabled": {
211
- "type": "boolean",
212
- "default": true,
213
- "title": "TypeScript: Semantic Tokens",
214
- "description": "Enable semantic tokens (used for semantic highlighting) for TypeScript."
215
- },
216
- "astro.html.enabled": {
217
- "type": "boolean",
218
- "default": true,
219
- "title": "HTML",
220
- "description": "Enable HTML features"
221
- },
222
- "astro.html.hover.enabled": {
223
- "type": "boolean",
224
- "default": true,
225
- "title": "HTML: Hover Info",
226
- "description": "Enable hover info for HTML"
227
- },
228
- "astro.html.completions.enabled": {
229
- "type": "boolean",
230
- "default": true,
231
- "title": "HTML: Completions",
232
- "description": "Enable completions for HTML"
233
- },
234
- "astro.html.completions.emmet": {
235
- "type": "boolean",
236
- "default": true,
237
- "title": "HTML: Emmet Completions",
238
- "description": "Enable Emmet completions for HTML"
239
- },
240
- "astro.html.tagComplete.enabled": {
241
- "type": "boolean",
242
- "default": true,
243
- "title": "HTML: Tag Completion",
244
- "description": "Enable tag completion for HTML"
245
- },
246
- "astro.html.documentSymbols.enabled": {
247
- "type": "boolean",
248
- "default": true,
249
- "title": "HTML: Symbols in Outline",
250
- "description": "Enable document symbols for CSS"
251
- },
252
- "astro.css.enabled": {
253
- "type": "boolean",
254
- "default": true,
255
- "title": "CSS",
256
- "description": "Enable CSS features"
257
- },
258
- "astro.css.hover.enabled": {
259
- "type": "boolean",
260
- "default": true,
261
- "title": "CSS: Hover Info",
262
- "description": "Enable hover info for CSS"
263
- },
264
- "astro.css.completions.enabled": {
265
- "type": "boolean",
266
- "default": true,
267
- "title": "CSS: Completions",
268
- "description": "Enable completions for CSS"
269
- },
270
- "astro.css.completions.emmet": {
271
- "type": "boolean",
272
- "default": true,
273
- "title": "CSS: Emmet Completions",
274
- "description": "Enable Emmet completions for CSS"
275
- },
276
- "astro.css.documentColors.enabled": {
277
- "type": "boolean",
278
- "default": true,
279
- "title": "CSS: Document Colors",
280
- "description": "Enable color picker for CSS"
281
- },
282
- "astro.css.documentSymbols.enabled": {
283
- "type": "boolean",
284
- "default": true,
285
- "title": "CSS: Symbols in Outline",
286
- "description": "Enable document symbols for CSS"
287
- },
288
- "astro.format.indentFrontmatter": {
289
- "deprecationMessage": "The `astro.format` settings are deprecated. Formatting is now powered by Prettier and can be configured through a Prettier configuration file.",
290
- "type": "boolean",
291
- "default": false,
292
- "title": "Formatting: Indent frontmatter",
293
- "description": "Indent the formatter by one level of indentation"
294
- },
295
- "astro.format.newLineAfterFrontmatter": {
296
- "deprecationMessage": "The `astro.format` settings are deprecated. Formatting is now powered by Prettier and can be configured through a Prettier configuration file.",
297
- "type": "boolean",
298
- "default": true,
299
- "title": "Formatting: Add line return after the frontmatter",
300
- "description": "Add a line return between the frontmatter and the template"
301
134
  }
302
135
  }
303
136
  },
@@ -358,6 +191,7 @@
358
191
  ]
359
192
  },
360
193
  "devDependencies": {
194
+ "@astrojs/language-server": "^2.0.0-next.0",
361
195
  "@types/glob": "^8.1.0",
362
196
  "@types/mocha": "^10.0.1",
363
197
  "@types/node": "^16.18.26",
@@ -377,8 +211,9 @@
377
211
  "vscode-tmgrammar-test": "^0.1.1"
378
212
  },
379
213
  "dependencies": {
380
- "@astrojs/language-server": "^2.0.0-next.0",
381
- "@astrojs/ts-plugin": "^1.0.5"
214
+ "@astrojs/ts-plugin": "^1.0.5",
215
+ "prettier": "^2.8.8",
216
+ "prettier-plugin-astro": "^0.8.1"
382
217
  },
383
218
  "scripts": {
384
219
  "build": "node scripts/build.mjs -- --minify",