Skip to content

Commit

Permalink
Merge pull request roc-lang#6604 from roc-lang/editor-extension-update
Browse files Browse the repository at this point in the history
Editor extension update   getting started improvements
  • Loading branch information
Anton-4 authored Mar 23, 2024
2 parents bbb779f 8c26e72 commit 4dca054
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 4 deletions.
6 changes: 6 additions & 0 deletions getting_started/linux_x86_64.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
6 changes: 6 additions & 0 deletions getting_started/macos_apple_silicon.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
6 changes: 6 additions & 0 deletions getting_started/macos_x86_64.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
6 changes: 6 additions & 0 deletions getting_started/nix.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
6 changes: 6 additions & 0 deletions getting_started/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
5 changes: 3 additions & 2 deletions getting_started/windows.md
Original file line number Diff line number Diff line change
@@ -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).
4 changes: 2 additions & 2 deletions www/content/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 4dca054

Please sign in to comment.