astro-vscode 2.0.0-next.8 → 2.0.12
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/README.md +4 -12
- package/dist/astro.wasm +0 -0
- package/dist/node/client.js +1889 -2014
- package/dist/node/server.js +3017 -2077
- package/package.json +21 -4
- package/syntaxes/astro.tmLanguage.json +55 -1
- package/syntaxes/astro.tmLanguage.src.yaml +19 -1
package/README.md
CHANGED
|
@@ -13,29 +13,21 @@ Provides language support for `.astro` files. This extension is powered by the [
|
|
|
13
13
|
- Props completions for JSX/TSX, Vue (Composition API only) and Svelte components
|
|
14
14
|
- [Code actions](https://code.visualstudio.com/docs/editor/editingevolved#_code-action) (quick fixes, sort imports etc)
|
|
15
15
|
- [Formatting](https://code.visualstudio.com/docs/editor/codebasics#_formatting) (powered by [Prettier](https://prettier.io/) and [prettier-plugin-astro](https://github.com/withastro/prettier-plugin-astro))
|
|
16
|
-
- [Symbols](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-symbol) ([outline view](https://code.visualstudio.com/docs/getstarted/userinterface#_outline-view), [breadcrumb navigation](https://code.visualstudio.com/docs/editor/editingevolved#_breadcrumbs) etc)
|
|
16
|
+
- [Symbols](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-symbol) ([outline view](https://code.visualstudio.com/docs/getstarted/userinterface#_outline-view), [breadcrumb navigation](https://code.visualstudio.com/docs/editor/editingevolved#_breadcrumbs), [Go to Symbol](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-symbol) etc)
|
|
17
17
|
- [Hover information](https://code.visualstudio.com/Docs/languages/typescript#_hover-information)
|
|
18
|
-
- [Go to Definition](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-definition)
|
|
18
|
+
- [Go to Definition](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-definition), [Go to Type Definition](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-type-definition), [Go to Implementation](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-implementation) etc
|
|
19
19
|
- [Inlay hints](https://code.visualstudio.com/docs/editor/editingevolved#_inlay-hints)
|
|
20
20
|
- [Code folding](https://code.visualstudio.com/docs/editor/codebasics#_folding)
|
|
21
21
|
- and more!
|
|
22
22
|
|
|
23
|
-
A TypeScript plugin adding support for importing Astro components inside JavaScript and TypeScript files is also included.
|
|
23
|
+
A TypeScript plugin adding support for importing and exporting Astro components inside JavaScript and TypeScript files is also included.
|
|
24
24
|
|
|
25
25
|
## Configuration
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
Formatting can be configured through [Prettier's different configuration methods](https://prettier.io/docs/en/configuration.html). TypeScript settings can be configured using VS Code's TypeScript settings (`typescript.xxx`).
|
|
27
|
+
HTML, CSS and TypeScript settings can be configured through the `html`, `css` and `typescript` namespaces respectively. For example, HTML documentation on hover can be disabled using `'html.hover.documentation': false`. Formatting can be configured through [Prettier's different configuration methods](https://prettier.io/docs/en/configuration.html).
|
|
30
28
|
|
|
31
29
|
## Troubleshooting
|
|
32
30
|
|
|
33
|
-
### Unable to update to latest version
|
|
34
|
-
|
|
35
|
-
Starting from 0.19.0, the minimum VS Code version supported by this extension is 1.67.0 (April 2022). If using an older version of VS Code, 0.18.1 will be installed instead.
|
|
36
|
-
|
|
37
|
-
Before submitting an issue, please make sure you're using the latest version of both VS Code and the extension!
|
|
38
|
-
|
|
39
31
|
### Inlay Hints don't work
|
|
40
32
|
|
|
41
33
|
Currently, only inlay hints provided by TypeScript are supported. TypeScript inlay hints are disabled by default and needs to be enabled using the settings under the `typescript.inlayHints` namespace, for example, to enable inlay hints for parameter names, you would do the following:
|
package/dist/astro.wasm
CHANGED
|
Binary file
|