Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Commit 0dae457

Browse files
committed
docs: Add screenshots for features
1 parent 2040866 commit 0dae457

6 files changed

Lines changed: 25 additions & 4 deletions

File tree

README.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,29 @@
11
# WebC for VS Code
22

3-
Please refer to the [WebC documentation](https://www.11ty.dev/docs/languages/webc/) for how to use WebC.
3+
Please refer to the [WebC documentation](https://www.11ty.dev/docs/languages/webc/) for how to use WebC in your Eleventy project.
44

55
## Features
66

7-
- Associates `.webc` files with HTML language
8-
- Suggestions for WebC attributes
7+
- [Autocomplete](#autocomplete)
8+
- [Documentation](#documentation)
9+
- [Definitions](#definitions)
10+
11+
## Autocomplete
12+
13+
Provides `webc:` and `@` attribute autocomplete suggestions for HTML tags.
14+
15+
<img src="images/attribute-autocomplete-webc.webp" alt="List of autocomplete suggestions for WebC attributes." width="396">
16+
17+
<img src="images/attribute-autocomplete-at.webp" alt="List of autocomplete suggestions for WebC @ attributes." width="378">
18+
19+
## Documentation
20+
21+
`webc:` and `@` attributes show a link to the WebC documentation on hover.
22+
23+
<img src="images/documentation-links.webp" alt="Hover tooltip on a webc:for attribute showing a link to the WebC documentation." width="345">
24+
25+
## Definitions
26+
27+
Support for _Go to Definition_ and _Peek Definition_ ([VS Code _Peek_ documentation](https://code.visualstudio.com/docs/editor/editingevolved#_peek)) and <kbd>Ctrl</kbd> + Click on WebC component tags to go the source file.
28+
29+
<img src="images/peek-definition.webp" alt="Peek definition disclosure box for a WebC component." width="748">
6.89 KB
Loading
10.1 KB
Loading

images/documentation-links.webp

11 KB
Loading

images/peek-definition.webp

60.2 KB
Loading

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"repository": {
2222
"type": "git",
23-
"url": "git+https://github.com/mvsde/vscode-webc.git"
23+
"url": "https://github.com/mvsde/vscode-webc.git"
2424
},
2525
"qna": "https://github.com/mvsde/vscode-webc/discussions",
2626
"icon": "images/icon.png",

0 commit comments

Comments
 (0)