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

Commit

Permalink
[docs] add Dart guide for languages and frameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hellum authored and jankeromnes committed Jun 13, 2020
1 parent 783fffc commit a085ea7
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 0 deletions.
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

0 comments on commit a085ea7

Please sign in to comment.