Skip to content

Commit b79d075

Browse files
committed
added Gitpod for development
Signed-off-by: Anton Kosyakov <[email protected]>
1 parent beca1e6 commit b79d075

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.gitpod

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ports:
2+
- port: 3000
3+
protocol: "http"
4+
tasks:
5+
- command: "npm config set unsafe-perm true && npm i && cd example && npm i && npm run start"

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Monaco language client
2-
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/TypeFox/monaco-languageclient/labels/help%20wanted)
2+
[![Gitpod - Code Now](https://img.shields.io/badge/Gitpod-code%20now-blue.svg?longCache=true)](https://gitpod.io#https://github.com/TypeFox/monaco-languageclient)
3+
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?longCache=true)](https://github.com/TypeFox/monaco-languageclient/labels/help%20wanted)
34
[![Build Status](https://travis-ci.org/TypeFox/monaco-languageclient.svg?branch=master)](https://travis-ci.org/TypeFox/monaco-languageclient)
45
[![NPM Version](https://img.shields.io/npm/v/monaco-languageclient.svg)](https://www.npmjs.com/package/monaco-languageclient)
56
[![NPM Download](https://img.shields.io/npm/dt/monaco-languageclient.svg)](https://www.npmjs.com/package/monaco-languageclient)
@@ -14,12 +15,21 @@ Click [here](http://typefox.io/teaching-the-language-server-protocol-to-microsof
1415

1516
## Getting started
1617

18+
### Local dev env
19+
1720
```bash
1821
git clone https://github.com/TypeFox/monaco-languageclient.git
1922
cd monaco-languageclient
2023
npm install
2124
```
2225

26+
### Gitpod
27+
28+
In order to develop and run the master branch: https://gitpod.io#https://github.com/TypeFox/monaco-languageclient.
29+
Gitpod will create a dev workspace for you with a properly configured env and checked out code, run the build and start a Node.js example.
30+
31+
[Gitpod](https://www.gitpod.io) is a one-click online IDE for GitHub. It is based on [Theia IDE framework](http://www.theia-ide.org) and make use of Monaco and the language server protocol by means of monaco-languageclient.
32+
2333
## Examples
2434

2535
There are two different examples that demonstrate how the `monaco-languageclient` can be used. The Node.js example uses Express and WebSockets to enable communication between the language server process and the web application. The browser example shows how a language service written in JavaScript can be used in a Monaco Editor contained in a simple HTML page.

0 commit comments

Comments
 (0)