Skip to content

v2.1.0

Compare
Choose a tag to compare
@ironsheep ironsheep released this 28 Oct 00:34
· 210 commits to main since this release

The first Language Server Release of our Spin/Spin 2 VSCode Extension

In this release:

  • Files included by the current file are parsed, and references to the included objects are validated
  • Documentation from the included object files is shown for Hover Text and Signature help
  • Live parsing on file change, allowing changes in one editor window to affect another editor window (e.g., You have a top-level spin file open and an object spin file open in 2nd window. Changes in the object file can immediately affect the top-level file.)
  • Display of errors found during parse are listed for each file parsed (and with Error Lens errors show on affected line)
  • When a file is parsed, and errors are found, the file entry in the left panel file browser turns light red to highlight that the file contains errors
  • Many improvements in parsing / highlighting for both P1 and P2
  • Our new parse error reporting makes it easier to port P1 code to our P2. Simply copy the P1 file and adjust the suffix to .spin2. At this point, all non-supported P1 code is highlighted, and errors are shown describing the issues found