Skip to content

Commit

Permalink
Add link to the rust-yew vscode plugin to the yew docs (#3116)
Browse files Browse the repository at this point in the history
* ADD rust-yew to devel docs

* ADD rust-yew to` v0.20 `docs

* FIX run prettier format

* Add community maintained notice and re-formatting
  • Loading branch information
ttax00 authored Feb 22, 2023
1 parent c7b7e45 commit 47b60ec
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
8 changes: 7 additions & 1 deletion website/docs/getting-started/editor-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,13 @@ Utilities like Rename, Go to Declaration, Find Usages will work inside the macro

### VS Code

There isn't support for the specialized syntax of `html!`. However, the default HTML IntelliSense can be used by adding this to your `settings.json` file:
#### Rust-Yew extension

> This is a **work in progress**, and **community maintained** project! [Please see details and direct related bug reports / issues / questions over to the extension's repository](https://github.com/TechTheAwesome/code-yew-server)
Rust-Yew extension is [avaliable on VSC Marketplace](https://marketplace.visualstudio.com/items?itemName=TechTheAwesome.rust-yew), providing syntax highlight, renames, hover, and more.

Emmet support should work out of the box, if not please fall back to edditing the `settings.json` file:

```json
"emmet.includeLanguages": {
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const FEATURES = [
},
]

function Feature(props: { feature: typeof FEATURES[number] }) {
function Feature(props: { feature: (typeof FEATURES)[number] }) {
return (
<div className="card-demo">
<div className="card">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,13 @@ Utilities like Rename, Go to Declaration, Find Usages will work inside the macro

### VS Code

There isn't support for the specialized syntax of `html!`. However, the default HTML IntelliSense can be used by adding this to your `settings.json` file:
#### Rust-Yew extension

> This is a **work in progress**, and **community maintained** project! [Please see details and direct related bug reports / issues / questions over to the extension's repository](https://github.com/TechTheAwesome/code-yew-server)
Rust-Yew extension is [avaliable on VSC Marketplace](https://marketplace.visualstudio.com/items?itemName=TechTheAwesome.rust-yew), providing syntax highlight, renames, hover, and more.

Emmet support should work out of the box, if not please fall back to edditing the `settings.json` file:

```json
"emmet.includeLanguages": {
Expand Down

0 comments on commit 47b60ec

Please sign in to comment.