Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

[docs] Dart in Gitpod #523

Merged
merged 1 commit into from
Jun 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/docs/images/AfterSyntaxHighlighting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/docs/images/DartIntellisenseExample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/docs/languages-and-frameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Below is a list of language and framework specific tips & tricks.
- [Scala](/docs/languages/scala/)
- [Rust](/docs/languages/rust/)
- [.NET](/docs/languages/dotnet/)
- [Dart](/docs/languages/dart/)
- [Julia](/docs/languages/julia/)
- [LaTeX](/docs/languages/latex/)
- [R](/docs/languages/r/)
Expand Down
38 changes: 38 additions & 0 deletions src/docs/languages/dart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Dart in Gitpod

## Example Repositories

Here are a few Dart example projects that are already automated with Gitpod:

<div class="table-container">

| Repository | Description | Try it |
|------|----------------|-----------|
|[flutter_stock_example](https://github.com/gitpod-io/flutter_stock_example)|The Flutter stock example configured for Gitpod|[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/gitpod-io/flutter_stock_example)|

## Installing Dart

To install the Dart SDK in Gitpod one must add the following to your [.gitpod.Dockerfile](https://gitpod.io/docs/config-docker)

```Dockerfile
RUN brew tap dart-lang/dart && brew install dart
```

## VSCode Extensions

### Dart

This Extension adds cool syntax highlighting

![Syntax highlighting example](images/AfterSyntaxHighlighting.png)


It adds [Intellisense](https://code.visualstudio.com/docs/editor/intellisense) support for autocompletion

![Dart intellisense example](images/DartIntellisenseExample.png)

## Try it

Here is a hello world example of a [Gitpodified](https://www.gitpod.io/blog/gitpodify/) project running in the browser, try it!

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/gitpod-io/Gitpod-Dart)
5 changes: 5 additions & 0 deletions src/docs/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ export const MENU: MenuEntry[] = [
M(
".NET",
"languages/dotnet"

),
M(
"Dart",
"languages/dart"
),
M(
"Julia",
Expand Down