3.4.19 • Published 4 months ago

@spgoding/datapack-language-server v3.4.19

Weekly downloads
532
License
MIT
Repository
github
Last release
4 months ago

banner

Discord GitHub Actions npm Codecov License semantic-release Gitmoji

Data-pack Language Server can provide many heavy language features for documents in your datapack, including advancements, dimensions, dimension types, functions, loot tables, predicates, recipes, all kinds of tags, and all kinds of worldgen files.

Installation

For Use

Sublime Text 3

  1. Install Node.js if you haven't.
  2. Execute npm i -g @spgoding/datapack-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.

Also please note that only the DatapackLanguageService class and its methods are considered as public API. All other exported classes/functions/variables, including but not limited to everything under the nodes directory, are not part of the public API and are subject to change breakingly in even patch/minor versions. Do not make your systems depend on them.

Contributors

This project follows the all-contributors specification. Contributions of any kind are welcome!

Contributors for 3.1.0

Contributors for older versions

Contributing

If you'd like to contribute, check CONTRIBUTING.md for more information.

3.4.19

4 months ago

3.4.17

7 months ago

3.4.18

7 months ago

3.4.14

11 months ago

3.4.15

11 months ago

3.4.16

10 months ago

3.4.11

12 months ago

3.4.12

12 months ago

3.4.13

12 months ago

3.4.10

1 year ago

3.4.8

1 year ago

3.4.7

1 year ago

3.4.9

1 year ago

3.4.4

1 year ago

3.4.3

1 year ago

3.4.6

1 year ago

3.4.5

1 year ago

3.3.38

1 year ago

3.4.0

1 year ago

3.4.2

1 year ago

3.4.1

1 year ago

3.3.37

2 years ago

3.3.36

2 years ago

3.3.35

2 years ago

3.3.31

2 years ago

3.3.32

2 years ago

3.3.33

2 years ago

3.3.34

2 years ago

3.3.30

2 years ago

3.3.28

2 years ago

3.3.29

2 years ago

3.3.25

2 years ago

3.3.26

2 years ago

3.3.27

2 years ago

3.3.24

2 years ago

3.3.22

2 years ago

3.3.23

2 years ago

3.3.20

2 years ago

3.3.21

2 years ago

3.3.18

2 years ago

3.3.19

2 years ago

3.3.14

2 years ago

3.3.15

2 years ago

3.3.16

2 years ago

3.3.17

2 years ago

3.3.13

3 years ago

3.3.12

3 years ago

3.3.11

3 years ago

3.3.10

3 years ago

3.3.9

3 years ago

3.3.8

3 years ago

3.3.7

3 years ago

3.3.6

3 years ago

3.3.5

3 years ago

3.3.4

3 years ago

3.3.3

3 years ago

3.3.1

3 years ago

3.3.2

3 years ago

3.3.0-rc.1

3 years ago

3.3.0

3 years ago

3.2.0

3 years ago

3.1.2

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.9

3 years ago

3.0.8

3 years ago

3.0.7

4 years ago

3.0.6

4 years ago

3.0.5

4 years ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.2.0

4 years ago

3.0.0-rc.2

4 years ago

3.0.0-rc.1

4 years ago

3.0.0-beta.10

4 years ago

3.0.0-beta.9

4 years ago

3.0.0-beta.8

4 years ago

3.0.0-beta.7

4 years ago

3.0.0-beta.6

4 years ago

3.0.0-beta.5

4 years ago

3.0.0-beta.4

4 years ago

2.1.14

4 years ago

3.0.0-beta.3

4 years ago

3.0.0-beta.2

4 years ago

2.1.12

4 years ago

2.1.13

4 years ago

2.1.11

4 years ago

2.1.10

4 years ago

2.1.9

4 years ago

2.1.8

4 years ago

2.1.7

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.6

4 years ago

2.1.5

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago