Skip to content

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 11 Jun 00:12
f2db356

Features

  • Workspace symbol search: The editor's workspace symbol list shows all classes, functions, enums, or other symbol across all your .ws files
  • Document highlight: Selecting a symbol now highlights every use of that symbol in the current file (rather than the default text-match)
  • Parameter name inlay hints: Call sites now show the parameter name each argument fills, so you can read which value goes where without opening the signature; out parameters are marked, and the hint is hidden when the names already match
  • Collapse/expand switch: With the cursor on a switch, case, or default, a code action collapses every case onto one line or expands each onto its own
  • Collapse/expand if/else: The same code action is now available for if/else chains
  • New warning when a state declares an owner class that is not marked statemachine, with an error when the owner is not a class at all
  • New error for private, protected, or public modifiers on struct properties, which WitcherScript does not allow

Bug fixes

  • The server no longer deadlocks on startup when you have many editor tabs open
  • A switch arm with a trailing // comment no longer gets split across multiple lines
  • A blank line is no longer inserted above a comment sitting between two statements
  • A comment between else if and its condition is no longer pulled inside the parentheses
  • Consecutive single-line @addField declarations no longer get a blank line forced between them
  • Collapsing or expanding a switch now copies the case bodies verbatim instead of reformatting them

What's Changed

Full Changelog: v0.8.0...v0.9.0