/vscode-kolmafia-ash

VS Code language definition and syntax coloring for KoLmafia ASH scripts.

Primary LanguageTypeScriptBSD 2-Clause "Simplified" LicenseBSD-2-Clause

KoLmafia ASH++

Language definition for the KoLmafia ASH language, a scripting language for the game Kingdom of Loathing.

Forked from https://github.com/benblank/kolmafia-ash.

Features

  • Syntax Highlighting

    Syntax Highlighting

  • Autosuggest & completion for ASH functions

    Autosuggest & completion

  • Hover tooltips for ASH functions

    Hover Tooltip

  • Symbol Definitions

    Symbol definition

Known Issues/Limitations

  • The symbol parser is currently quite brittle, and there are many things that can cause it to break (this only affects the symbol definition feature). These include:
    • Method calls on integers (e.g. 123.to_skill())
    • Function body without brackets around it
    • ASH record data structures
    • Template strings

Changelog

See CHANGELOG for more information.