Skip to content

Commit

Permalink
Add support for gitpod.io for this repo (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
baronfel authored May 8, 2021
1 parent d2b24ef commit 64d7451
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

ARG DOTNETCORE_VESRION=3.1
FROM mcr.microsoft.com/dotnet/core/sdk:${DOTNETCORE_VESRION}
ARG DOTNETCORE_VESRION=5.0
FROM mcr.microsoft.com/dotnet/sdk:${DOTNETCORE_VESRION}

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or the definition README at
// https://github.com/microsoft/vscode-dev-containers/tree/master/containers/dotnetcore-3.0-fsharp
{
"name": "F# (.NET Core 3.1)",
"name": "F# (.NET Core 5.0)",
"dockerFile": "Dockerfile",
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
Expand Down
10 changes: 10 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
image:
file: .devcontainer/Dockerfile

# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/
tasks:
- init: dotnet tool restore && dotnet restore

vscode:
extensions:
- Ionide.Ionide-fsharp
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
//otherwise take a lot of time to load proj inside
//the test directories
"omnisharp.autoStart": false,
"FSharp.minimizeBackgroundParsing": true
"FSharp.minimizeBackgroundParsing": true,
"FSharp.trace.server": "verbose"
}
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ FsAutoComplete can run on .NET/mono or .NET Core. We highly recommend using .Net

* .NET Core Sdk (Required: >= 2.1, Recommended: >= 3.0 )

### FSAC .NET (deprecated)

* on windows: [Microsoft Build Tools 2015](https://www.microsoft.com/en-us/download/details.aspx?id=48159)
* on unix/mac: Required: Mono >= 5.12, Recommended: Mono >= 5.18


## Building and testing

Expand All @@ -49,6 +44,12 @@ Requirements:

The repository additionally provides DevContainer definition that can be used with VSCode's Remote Containers extension - use it to get stable development environment

### Gitpod.io

This repository is setup to use gitpod for a web-based VSCode-style IDE. Click the button below to begin!

[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/fsharp/fsautocomplete)

## Communication protocol

FsAutoComplete supports [LSP](https://microsoft.github.io/language-server-protocol/) as a communication protocol.
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "5.0.100"
"version": "5.0.200"
}
}

0 comments on commit 64d7451

Please sign in to comment.