GithubHelp home page GithubHelp logo

renovate-tests / datapack-language-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spyglassmc/spyglass

0.0 0.0 0.0 375 KB

(WIP) Language server for Minecraft: Java Edition datapacks.

License: MIT License

TypeScript 100.00%

datapack-language-server's Introduction

datapack-language-server

CircleCI npm Codecov License semantic-release Gitmoji

Language server for Minecraft: Java Edition datapacks.

Todo

Lint Rules

There are lots of lint rules which can help format your commands.

quoteType: 'always single' | 'always double' | 'prefer single' | 'prefer double'

Quotes used in NBT strings and phrase strings.
'always single': Always use single quotes.
'always double': Always use double quotes.
'prefer single': Always use single quotes, unless there are single quotes in the string.
'prefer double': Always use double quotes, unless there are double quotes in the string.
@default 'prefer double'

quoteEntitySelectorStrings: boolean

When the strings in entity selectors should be quoted.
true: Always.
false: Only when there are special characters in the string.
@default false

quoteSnbtStringKeys: boolean

When the string keys in SNBT should be quoted.
true: Always.
false: Only when there are special characters in the string.
@default false

quoteNbtStringValues: boolean

When the string values in SNBT should be quoted.
true: Always.
false: Only when there are special characters in the string.
@default true

snbtAppendSpaceAfterColon: boolean

Whether to append spaces after colons in SNBT or not.
@default true

snbtAppendSpaceAfterComma: boolean

Whether to append spaces after commas in SNBT or not.
@default true

snbtAppendSpaceAfterSemicolon: boolean

Whether to append spaces after semicolons in SNBT or not.
@default true

snbtByteSuffix: 'b' | 'B'

The suffix used for TAG_Byte in SNBT.
@default 'b'

snbtUseBooleans: boolean

Whether 0b and 1b should be represents by false and true in SNBT or not.
@default false

snbtShortSuffix: 's' | 'S'

The suffix used for TAG_Short in SNBT.
@default 's'

snbtLongSuffix: 'l' | 'L'

The suffix used for TAG_Long in SNBT.
@default 'L'

snbtFloatSuffix: 'f' | 'F'

The suffix used for TAG_Float in SNBT.
@default 'f'

snbtDoubleSuffix: 'd' | 'D'

The suffix used for TAG_Double in SNBT.
@default 'd'

snbtOmitDoubleSuffix: boolean

Whether to omit the suffix of double numbers when possible in SNBT or not.
@default false

snbtKeepDecimalPlace: boolean

Whether to keep at least one decimal place in SNBT or not.
@default true

snbtSortKeys: boolean

Whether to sort the keys of a compound tag in SNBT or not.
@default false

nameOfTags: NamingConventionConfig

The naming convension for scoreboard tags.
@default 'whatever'

nameOfObjectives: NamingConventionConfig

The naming convension for scoreboard objectives.
@default 'whatever'

nameOfSnbtCompoundTagKeys: NamingConventionConfig

The naming convension for compound tag keys in SNBT.
@default ['PascalCase', 'camelCase']

Contributing

Contributions are welcome!

Sponsers

  • 夏白千层心
  • 爱发电用户_4vCR
  • uuu2011
  • Ganxiaozhe

datapack-language-server's People

Contributors

marscloud avatar spgoding avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.