0.4.42 • Published 4 months ago
@spyglassmc/language-server v0.4.42
@spyglassmc/language-server
This is a language server wrapped around some other Spyglass packages.
Installation
For Use
Sublime Text 3
- Install Node.js if you haven't.
- Execute
npm i -g @spyglassmc/language-server
in your command line to install the language server. - Install Package Control if you haven't.
- Install Arcensoth's language-mcfunction package by following the instructions if you haven't.
- Install LSP package.
- Open the Command Palette and select
Preferences: LSP Settings
. - Configure LSP to add the Data-pack Language Server. Here's one example:
{
"clients": {
"datapack-language-server": {
"command": [
"datapack-language-server",
"--stdio"
],
"enabled": true,
"languages": [
{
"languageId": "mcfunction",
"scopes": [
"source.mcfunction"
],
"syntaxes": [
"Packages/language-mcfunction/mcfunction.tmLanguage"
]
},
{
"languageId": "json",
"scopes": [
"source.json"
],
"syntaxes": [
"Packages/JavaScript/JSON.sublime-syntax"
]
}
]
}
},
"only_show_lsp_completions": true
}
- Open the Command Palette, select
LSP: Enable Language Server Globally
, and choosedatapack-language-server
. - Enjoy. Do note that you need to execute the command in step 2 manually if you want to update the language server.
- TODO (for SPGoding): make a fine-tuned Sublime package, so that the language server can be updated automatically and the user doesn't need to set all these crazy stuff.
Visual Studio Code
We have a ready-for-use VS Code extension:
For Developers
See our wiki for more information.
0.4.42
4 months ago
0.4.40
4 months ago
0.4.41
4 months ago
0.4.31
7 months ago
0.4.32
7 months ago
0.4.30
7 months ago
0.4.39
5 months ago
0.4.37
5 months ago
0.4.38
5 months ago
0.4.35
7 months ago
0.4.36
7 months ago
0.4.33
7 months ago
0.4.34
7 months ago
0.4.20
9 months ago
0.4.21
9 months ago
0.4.28
8 months ago
0.4.29
8 months ago
0.4.26
8 months ago
0.4.27
8 months ago
0.4.24
8 months ago
0.4.25
8 months ago
0.4.22
9 months ago
0.4.23
8 months ago
0.4.19
9 months ago
0.4.18
9 months ago
0.4.17
10 months ago
0.4.9
1 year ago
0.4.8
1 year ago
0.4.10
1 year ago
0.4.15
12 months ago
0.4.16
12 months ago
0.4.13
1 year ago
0.4.14
1 year ago
0.4.11
1 year ago
0.4.12
1 year ago
0.4.5
1 year ago
0.4.4
1 year ago
0.4.7
1 year ago
0.4.6
1 year ago
0.4.3
1 year ago
0.4.2
2 years ago
0.4.1
2 years ago
0.3.0
3 years ago
0.4.0
3 years ago
0.1.2
3 years ago
0.2.0
3 years ago
0.1.3
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago