minecraft-terms API / register-dictionary / registerDictionary
Function: registerDictionary()
registerDictionary(
context,spellChecker):Promise<void>
Defined in: register-dictionary.ts:13
Registers the extension's packaged Minecraft dictionary configuration.
Parameters
context
Pick<ExtensionContext, "asAbsolutePath">
VS Code extension context used to resolve the packaged configuration path.
spellChecker
CodeSpellCheckerApi
Public API exported by Code Spell Checker.
Returns
Promise<void>