Skip to content

Commit dd183bb

Browse files
committed
Clean
1 parent 59abd44 commit dd183bb

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed
Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,31 @@
1-
# LSP Example
1+
# Bla
22

3-
Heavily documented sample code for https://code.visualstudio.com/api/language-extensions/language-server-extension-guide
3+
## Develop
44

5-
## Functionality
5+
### Functionality
66

77
This Language Server works for plain text file. It has the following language features:
88
- Completions
99
- Diagnostics regenerated on each file change or configuration change
1010

11-
It also includes an End-to-End test.
11+
This is for testing purposes. More importantly, it works on `.res` files:
12+
- Formatting
13+
- Diagnosis (currently off)
1214

13-
## Structure
15+
### Structure
1416

1517
```
1618
.
1719
├── client // Language Client
1820
│ ├── src
19-
│ │ ├── test // End to End tests for Language Client / Server
2021
│ │ └── extension.ts // Language Client entry point
2122
├── package.json // The extension manifest.
2223
└── server // Language Server
2324
└── src
24-
└── server.ts // Language Server entry point
25+
└── testserver.ts // Language Server entry point
2526
```
2627

27-
## Running the Sample
28+
### Running the Sample
2829

2930
- Run `npm install` in this folder. This installs all necessary npm modules in both the client and server folder
3031
- Open VS Code on this folder.
@@ -36,3 +37,4 @@ It also includes an End-to-End test.
3637
- In the [Extension Development Host] instance of VSCode, open a document in 'plain text' language mode.
3738
- Type `j` or `t` to see `Javascript` and `TypeScript` completion.
3839
- Enter text content such as `AAA aaa BBB`. The extension will emit diagnostics for all words in all-uppercase.
40+
- Try `BuckleScript` mode formatting.

0 commit comments

Comments
 (0)