Skip to content

Master-Bw3/vscode-hex-casting

 
 

Repository files navigation

vscode-hex-casting

VSCode language features for the Hex Casting mod for Minecraft.

Note to VSCodium users: I don't plan on publishing this extension to Open VSX. I'm not a fan of the amount of personal information that the Eclipse Foundation requires me to make public.

However, if you'd like to install this extension manually, you can download the latest .vsix file from the Visual Studio Marketplace page by clicking Download Extension in the right sidebar under Resources.

To get release notifications, go to the GitHub repo and click Watch > Custom > Releases > Apply. Note that it may take a few minutes between the notification from GitHub and the update actually going live on the marketplace.

Features

Feature demo gif

  • Full syntax highlighting
  • Pattern autocomplete for Hex Casting, Hexal, MoreIotas, Hexbound, HexTweaks, and HexKinetics
  • Pattern hover text with name, arguments, mod name, angle signature, and a picture of the stroke order
  • C-style line and block comments
  • Snippets to speed up your workflow
  • #define support for Brigh's Gambit macros
  • Language diagnostics/linting to highlight unknown patterns and invalid directives
  • And more!

Extension Settings

This extension contributes the following settings:

  • hex-casting.appendNewline: Controls whether the editor should insert a newline after selecting a pattern from the completion list. If set to auto, only appends a newline if the next line is empty or a closing bracket.
  • hex-casting.enableDiagnostics: Controls whether the editor should show diagnostics, such as warnings for unknown patterns.
  • hex-casting.enabledMods: Controls which mods are enabled. Patterns from disabled mods will not be recognized or suggested. Currently, macros will still work if Hexal is disabled, but this may change in a future update.
  • hex-casting.inlayHints.internalName: Enable/disable inlay hints for internal pattern names.
  • hex-casting.inlayHints.macroName: Enable/disable inlay hints for macro names.

Known Issues

  • Many patterns show up twice in the completion list, because it's matching both the name and the translation. As far as I know, there's nothing I can do about this.
  • Pattern suggestions show up in block comments. Due to this open issue, there's not really anything I can do about this.

Unknown Issues

Probably lots of things. This is my first extension, and as such, I'm sure there are many things I've unknowingly done wrong. Please report any issues you may find using the issue tracker.

Development

src/data/registry.json is generated using this script in HexBug.

Attribution

Icon: @d3bugIANgl17ch on Discord

About

VSCode language features for the Hex Casting mod for Minecraft.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.6%
  • PowerShell 0.4%