-
Notifications
You must be signed in to change notification settings - Fork 34
Release Notes 2.1.0
- Datapack Language Server 2.1.0
- ✨ Features
- 🐛 Bugfixes
- ⚡ Performance
- ♻ Refactor
- 🕙 Future Plans
- 💛 Thank You
This version added some small handy features, fixed some bugs, and improved performance.
Wiki: https://github.com/SPGoding/datapack-language-server/wiki/Code-Actions
There are two code actions introduced in this version that can fix all auto-fixable problems:
- Fix all auto-fixable problems in this file
- Fix all auto-fixable problems in the workspace
They can be directly accessed in Source Actions at anytime, or in Quick Fixes when there are auto-fixable errors in the current file.
Please notes that some auto fixes might overlap with each other, therefore they cannot be executed in the same run. You can execute multiple times manually to work around this issue.
There is a new code action to convert Zombified Piglin's old ID (zombie_pigman
) to their new ID (zombified_piglin
).
There's a new THIS
completion item for namespaced IDs which produces the ID of the current document.
There's a new RANDOM
completion item for UUIDs which will generate a random UUID.
Wiki: https://github.com/SPGoding/datapack-language-server/wiki/Env-Options
You can now configure the language of the language server independently from VS Code's locale settings.
-
"Default"
: (Default) Use the same language as VS Code uses. - code: Use the specific language.
Notable fixes:
- #448 - Can not resolve Index nbtdoc type
- #482 - No NBT completions for @a selectors
- #489 - No attribute completions
- #494 - Registry supers in nbtdoc doesn't work
- #502 - No NBT completions for selectors w/o type
See all known 12 bugs that are fixed in 2.1.0: query.
The vanilla data, command syntax tree, and config are now only fetched when needed.
A side effect of this improvement is that the settings will be updated in real time on the language server side after you change them.
There is a large refactor in this version on how to handle text documents. Please report all the bugs you find at GitHub Issues.
See all backlogged issues: query.
A big thank you goes to these wonderful people! (sorted by the Unicode of names)
This project follows the all-contributors specification. Contributions of any kind are welcome!
Thanks a lot! You can consider contributing by sponsoring, reporting bugs/sharing ideas, or helping localization!