Merge pull request #6604 from roc-lang/editor-extension-update

Editor extension update + getting started improvements
This commit is contained in:
Anton-4 2024-03-23 13:50:04 +01:00 committed by GitHub
commit 4dca0546f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 35 additions and 4 deletions

View File

@ -73,3 +73,9 @@ you'll need to install one or more of these platform languages too.
./roc examples/platform-switching/rocLovesC.roc
```
## Next Steps
- [editor setup](https://www.roc-lang.org/install#editor-extensions)
- [tutorial](https://www.roc-lang.org/tutorial)
- [examples](https://www.roc-lang.org/examples)

View File

@ -56,3 +56,9 @@ you'll need to install one or more of these platform languages too.
./roc examples/platform-switching/rocLovesC.roc
```
## Next Steps
- [editor setup](https://www.roc-lang.org/install#editor-extensions)
- [tutorial](https://www.roc-lang.org/tutorial)
- [examples](https://www.roc-lang.org/examples)

View File

@ -56,3 +56,9 @@ you'll need to install one or more of these platform languages too.
./roc examples/platform-switching/rocLovesC.roc
```
## Next Steps
- [editor setup](https://www.roc-lang.org/install#editor-extensions)
- [tutorial](https://www.roc-lang.org/tutorial)
- [examples](https://www.roc-lang.org/examples)

View File

@ -46,3 +46,9 @@ nix flake init --template github:roc-lang/roc#simple --refresh
);
}
```
## Next Steps
- [editor setup](https://www.roc-lang.org/install#editor-extensions)
- [tutorial](https://www.roc-lang.org/tutorial)
- [examples](https://www.roc-lang.org/examples)

View File

@ -15,3 +15,9 @@
# This requires installing the `clang` C compiler, too.
cargo run examples/platform-switching/rocLovesC.roc
```
## Next Steps
- [editor setup](https://www.roc-lang.org/install#editor-extensions)
- [tutorial](https://www.roc-lang.org/tutorial)
- [more examples](https://www.roc-lang.org/examples)

View File

@ -1,4 +1,5 @@
# Roc installation guide for Windows systems
Windows support is limited, [folkertdev](https://github.com/folkertdev) is working on improving this 🚀.
Until that is done we recommend using Ubuntu through the "Windows Subsystem for Linux".
Windows support is limited, [folkertdev](https://github.com/folkertdev) and [lukewilliamboswell](https://github.com/lukewilliamboswell) are working on improving this 🚀. Until that is done we recommend using [Ubuntu 22.04](https://apps.microsoft.com/detail/9pn20msr04dw?hl=en-us&gl=US) through the "Windows Subsystem for Linux" (WSL).
Once you're inside Ubuntu, [install Roc](https://github.com/roc-lang/roc/blob/main/getting_started/linux_x86_64.md).

View File

@ -22,9 +22,9 @@ Here are some Getting Started guides for different operating systems:
### [Editor Extensions](#editor-extensions) {#editor-extensions}
There is currently a [VS Code extension](https://marketplace.visualstudio.com/items?itemName=IvanDemchenko.roc-lang-unofficial) for Roc which includes instructions in its README for how to enable a Roc language server.
[VS Code extension](https://marketplace.visualstudio.com/items?itemName=IvanDemchenko.roc-lang-unofficial) ❗ make sure to follow ["Configuring language server"](https://github.com/ivan-demchenko/roc-vscode-unofficial?tab=readme-ov-file#configuring-language-server).
Currently that language server has to be built from source; it would be a fantastic contribution if anyone could get it incorporated it into the extension directly. If you'd like to help with this, just make a post in [the "new contributors" topic on Zulip](https://roc.zulipchat.com/#narrow/stream/316715-contributing/topic/new.20contributors) and say hello!
It would be a fantastic contribution for the language server to be set up automatically. If you'd like to help with this, just make a post in [the "new contributors" topic on Zulip](https://roc.zulipchat.com/#narrow/stream/316715-contributing/topic/new.20contributors) and say hello!
### [Tutorial](#tutorial) {#tutorial}