Skip to content

Commit

Permalink
updated CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
soltys authored and evidolob committed Oct 25, 2021
1 parent 75f3f8c commit b84129f
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,15 @@ All contributions are welcome!

3. Run `yarn install` in both directories to initialize `node_modules` dependencies.

4. In `vscode-yaml/src/extension.ts` set the `serverModule` variable to:
4. In `vscode-yaml/webpack.config.js` set the `config.entry.languageserver` property to:

```ts
serverModule = context.asAbsolutePath(path.join("..", "yaml-language-server", "out", "server", "src", "server.js"));
```js
languageserver: './../yaml-language-server/out/server/src/server.js',
```

_This will redirect which YAML LS to use._

5. In BOTH directories run:

```bash
yarn run compile
```
5. First run `yarn run compile` in `yaml-language-server` then in `vscode-yaml` directory

6. To run the language server in VSCode, click `View -> Debug`, then from the drop down menu beside the green arrow select `Launch Extension (vscode-yaml)`, click the arrow, and a new VSCode window should load with the YAML LS running.

Expand Down

0 comments on commit b84129f

Please sign in to comment.