@ripple-ts/language-server 0.2.163 → 0.2.165
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# ripple-language-server
|
|
1
|
+
# @ripple-ts/language-server
|
|
2
2
|
|
|
3
3
|
Language Server Protocol (LSP) implementation for Ripple. This package provides language intelligence features for
|
|
4
4
|
Ripple files and can be integrated into any editor that supports LSP.
|
|
@@ -30,9 +30,9 @@ It uses this language server internally.
|
|
|
30
30
|
#### WebStorm/IntelliJ
|
|
31
31
|
|
|
32
32
|
1. Install the language server:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
```bash
|
|
34
|
+
npm install @ripple-ts/language-server -g
|
|
35
|
+
```
|
|
36
36
|
2. Install the [LSP4IJ plugin](https://plugins.jetbrains.com/plugin/23257-lsp4ij).
|
|
37
37
|
3. Add a new language server in it
|
|
38
38
|
4. Specify `ripple-language-server --stdio` as the command in it.
|
|
@@ -79,16 +79,19 @@ Diagnostics, completions, and other features should work in `.ripple` files now.
|
|
|
79
79
|
## Standalone Usage
|
|
80
80
|
|
|
81
81
|
You can use the language server in any other editor that supports LSP. You can install it globally:
|
|
82
|
+
|
|
82
83
|
```bash
|
|
83
84
|
npm install -g @ripple-ts/language-server
|
|
84
85
|
```
|
|
85
86
|
|
|
86
87
|
Then run the server with:
|
|
88
|
+
|
|
87
89
|
```bash
|
|
88
90
|
ripple-language-server --stdio
|
|
89
91
|
```
|
|
90
92
|
|
|
91
93
|
Or you can run it via `npx` without installing:
|
|
94
|
+
|
|
92
95
|
```bash
|
|
93
96
|
npx @ripple-ts/language-server --stdio
|
|
94
97
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ripple-ts/language-server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.165",
|
|
4
4
|
"description": "Language Server Protocol implementation for Ripple",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"volar-service-typescript": "0.0.65",
|
|
19
19
|
"vscode-languageserver-textdocument": "^1.0.12",
|
|
20
20
|
"vscode-uri": "^3.1.0",
|
|
21
|
-
"@ripple-ts/typescript-plugin": "0.2.
|
|
21
|
+
"@ripple-ts/typescript-plugin": "0.2.165"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"typescript": "^5.9.2"
|