@ripple-ts/language-server 0.2.208 → 0.2.210
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/CHANGELOG.md +15 -0
- package/README.md +24 -12
- package/bin/language-server.js +0 -1
- package/package.json +6 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# @ripple-ts/language-server
|
|
2
|
+
|
|
3
|
+
## 0.2.210
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies []:
|
|
8
|
+
- @ripple-ts/typescript-plugin@0.2.210
|
|
9
|
+
|
|
10
|
+
## 0.2.209
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies []:
|
|
15
|
+
- @ripple-ts/typescript-plugin@0.2.209
|
package/README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# @ripple-ts/language-server
|
|
2
2
|
|
|
3
|
-
Language Server Protocol (LSP) implementation for Ripple. This package provides
|
|
4
|
-
Ripple files and can be integrated into any
|
|
3
|
+
Language Server Protocol (LSP) implementation for Ripple. This package provides
|
|
4
|
+
language intelligence features for Ripple files and can be integrated into any
|
|
5
|
+
editor that supports LSP.
|
|
5
6
|
|
|
6
7
|
## Features
|
|
7
8
|
|
|
@@ -20,11 +21,13 @@ npm install @ripple-ts/language-server -g
|
|
|
20
21
|
|
|
21
22
|
## Editor Integration
|
|
22
23
|
|
|
23
|
-
This language server can be integrated into any editor that supports LSP. There
|
|
24
|
+
This language server can be integrated into any editor that supports LSP. There
|
|
25
|
+
are also specialized plugins for popular editors.
|
|
24
26
|
|
|
25
27
|
#### VS Code
|
|
26
28
|
|
|
27
|
-
Use the [official
|
|
29
|
+
Use the [official
|
|
30
|
+
extension](https://marketplace.visualstudio.com/items?itemName=Ripple-TS.ripple-ts-vscode-plugin
|
|
28
31
|
It uses this language server internally.
|
|
29
32
|
|
|
30
33
|
#### WebStorm/IntelliJ
|
|
@@ -36,13 +39,15 @@ It uses this language server internally.
|
|
|
36
39
|
2. Install the [LSP4IJ plugin](https://plugins.jetbrains.com/plugin/23257-lsp4ij).
|
|
37
40
|
3. Add a new language server in it
|
|
38
41
|
4. Specify `ripple-language-server --stdio` as the command in it.
|
|
39
|
-
5. Go to `Mappings` —> `File name patterns` and add a new value with
|
|
42
|
+
5. Go to `Mappings` —> `File name patterns` and add a new value with
|
|
43
|
+
`File name patterns` set to `*.ripple` and `Language Id` set to `ripple.
|
|
40
44
|
|
|
41
45
|
#### Neovim (v0.11+)
|
|
42
46
|
|
|
43
47
|
Use the official plugin.
|
|
44
48
|
|
|
45
|
-
1. Install
|
|
49
|
+
1. Install
|
|
50
|
+
[`nvim-treesitter`](https://github.com/nvim-treesitter/nvim-treesitter).
|
|
46
51
|
2. Install the plugin.
|
|
47
52
|
|
|
48
53
|
<details>
|
|
@@ -60,27 +65,34 @@ Use the official plugin.
|
|
|
60
65
|
|
|
61
66
|
</details>
|
|
62
67
|
|
|
63
|
-
If you're using another plugin manager and wish to share installation
|
|
68
|
+
If you're using another plugin manager and wish to share installation
|
|
69
|
+
instructions, please consider opening a PR.
|
|
64
70
|
|
|
65
71
|
#### Sublime Text
|
|
66
72
|
|
|
67
|
-
Until the plugin lands on Package Control you need to install it from the packaged
|
|
73
|
+
Until the plugin lands on Package Control you need to install it from the packaged
|
|
74
|
+
release:
|
|
68
75
|
|
|
69
|
-
1. Make sure [Package Control](https://packagecontrol.io/installation) is
|
|
76
|
+
1. Make sure [Package Control](https://packagecontrol.io/installation) is
|
|
77
|
+
installed, then install the [LSP](https://packagecontrol.io/packages/LSP)
|
|
78
|
+
package (`Tools → Command Palette… → Package Control: Install Package → LSP`).
|
|
70
79
|
2. Clone this repository.
|
|
71
80
|
3. Go into `packages/sublime-text-plugin/` directory and run:
|
|
72
81
|
```bash
|
|
73
82
|
npm run build
|
|
74
83
|
```
|
|
75
84
|
This will create a `Ripple.sublime-package` file in the same directory.
|
|
76
|
-
4. In Sublime Text, open `Preferences → Browse Packages…`, go up one level, and
|
|
77
|
-
|
|
85
|
+
4. In Sublime Text, open `Preferences → Browse Packages…`, go up one level, and
|
|
86
|
+
open the `Installed Packages/` directory.
|
|
87
|
+
5. Copy the `Ripple.sublime-package` file into `Installed Packages/` and restart
|
|
88
|
+
Sublime Text.
|
|
78
89
|
|
|
79
90
|
Diagnostics, completions, and other features should work in `.ripple` files now.
|
|
80
91
|
|
|
81
92
|
## Standalone Usage
|
|
82
93
|
|
|
83
|
-
You can use the language server in any other editor that supports LSP. You can
|
|
94
|
+
You can use the language server in any other editor that supports LSP. You can
|
|
95
|
+
install it globally:
|
|
84
96
|
|
|
85
97
|
```bash
|
|
86
98
|
npm install -g @ripple-ts/language-server
|
package/bin/language-server.js
CHANGED
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.210",
|
|
4
4
|
"description": "Language Server Protocol implementation for Ripple",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -19,12 +19,15 @@
|
|
|
19
19
|
"volar-service-typescript": "0.0.68",
|
|
20
20
|
"vscode-languageserver-textdocument": "^1.0.12",
|
|
21
21
|
"vscode-uri": "^3.1.0",
|
|
22
|
-
"@ripple-ts/typescript-plugin": "0.2.
|
|
22
|
+
"@ripple-ts/typescript-plugin": "0.2.210"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"ripple": "0.2.
|
|
25
|
+
"ripple": "0.2.210"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"typescript": "^5.9.2"
|
|
29
|
+
},
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public"
|
|
29
32
|
}
|
|
30
33
|
}
|