Skip to content

Releases: shdwcat/yui-vs-code-support

0.2.0

09 Mar 03:43

Choose a tag to compare

Available via marketplace

https://marketplace.visualstudio.com/items?itemName=shdwcat.yui-vs-code-support

NOTE: some of the below features will be available in YUI itself in the upcoming 0.6.7 release!

Changes

  • yui: removes YAML cruft that doesn't apply to YUI

    • yes/no/on/off etc are no longer highlighted as literals
    • ` and % no longer highlight as special language characters
    • scalars with comments after them (e.g. foo: bar //) highlight correctly
    • remove scalar highlighting for unsupported data formats like base 60, time stamps, etc
  • yuiscript:

    • [ and ] now get the correct syntax for the expression within them
    • new ~host identifiers, e.g. anything provided by the system (game objects, runtime functions, etc) (added in YUI 0.6.4)
    • new |> infix call (aka pipe operator) (added in YUI 0.6.4)
    • new ? optional operator modifies other infix operators, e.g. foo?.bar foo?[bar] foo?(bar) to evaluate to null if the first operand is null
    • new ! trace operator to trigger trace/breakpoints inside YUI expressions
    • removes lot of cruft from copying the javascript syntax highlighter that doesn't apply
    • identifiers should highlight more correctly and also highlight invalid identifiers