Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added maven info #148

Merged
merged 3 commits into from
Oct 9, 2019
Merged
Changes from 1 commit
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
24 changes: 16 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Contributions are essential for keeping this extension great. We try to keep it
* latest [Visual Studio Code](https://code.visualstudio.com/)
* [Node.js](https://nodejs.org/) v4.0.0 or higher
* [JDK 8+](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
* [Maven](https://maven.apache.org/)

### Steps
1. Fork and clone this repository
Expand All @@ -24,21 +25,28 @@ Contributions are essential for keeping this extension great. We try to keep it
├──── vscode-xml/
```

3. `cd vscode-xml/`

4. Install the dependencies:
3. `cd lsp4xml/`

4. Install the maven dependencies:
NikolasKomonen marked this conversation as resolved.
Show resolved Hide resolved
```bash
$ mvn install
NikolasKomonen marked this conversation as resolved.
Show resolved Hide resolved
```


```bash
5. `cd vscode-xml/`

6. Install the dependencies:
```bash
$ npm install
```

5. In `vscode-xml/`, build the server by running:
7. In `vscode-xml/`, build the server by running:

```bash
```bash
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trailing whitespace

$ npm run build-server
```

6. To run the extension, open the Debugging tab in VSCode.
7. Select and run 'Launch Extension (vscode-xml)' at the top left:
8. To run the extension, open the Debugging tab in VSCode.
9. Select and run 'Launch Extension (vscode-xml)' at the top left:

![ Launch Extension ](./images/LaunchExtension.png)