0.4.42 • Published 2 months ago

@spyglassmc/language-server v0.4.42

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@spyglassmc/language-server

banner

npm

This is a language server wrapped around some other Spyglass packages.

Installation

For Use

Sublime Text 3

  1. Install Node.js if you haven't.
  2. Execute npm i -g @spyglassmc/language-server in your command line to install the language server.
  3. Install Package Control if you haven't.
  4. Install Arcensoth's language-mcfunction package by following the instructions if you haven't.
  5. Install LSP package.
  6. Open the Command Palette and select Preferences: LSP Settings.
  7. 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
}
  1. Open the Command Palette, select LSP: Enable Language Server Globally, and choose datapack-language-server.
  2. 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: VSCode Marketplace

For Developers

See our wiki for more information.

0.4.42

2 months ago

0.4.40

2 months ago

0.4.41

2 months ago

0.4.31

6 months ago

0.4.32

5 months ago

0.4.30

6 months ago

0.4.39

3 months ago

0.4.37

3 months ago

0.4.38

3 months ago

0.4.35

5 months ago

0.4.36

5 months ago

0.4.33

5 months ago

0.4.34

5 months ago

0.4.20

7 months ago

0.4.21

7 months ago

0.4.28

6 months ago

0.4.29

6 months ago

0.4.26

6 months ago

0.4.27

6 months ago

0.4.24

6 months ago

0.4.25

6 months ago

0.4.22

7 months ago

0.4.23

7 months ago

0.4.19

7 months ago

0.4.18

8 months ago

0.4.17

8 months ago

0.4.9

1 year ago

0.4.8

1 year ago

0.4.10

1 year ago

0.4.15

10 months ago

0.4.16

10 months ago

0.4.13

11 months ago

0.4.14

11 months 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