Skip to content

Releases: ironsheep/P2-vscode-langserv-extension

v2.2.2

09 Nov 05:42
Compare
Choose a tag to compare

General bug fixes for P1 and P2

General bug fixes for P2 only (round 2)

  • P2 Add DRAFT handling of line continuation "..." - (support only in OBJ section for now!)
  • P2 Repair DAT pasm symbol offset calculations so highlights are in the correct position
  • P2 Add new built-in keyword "with" to syntax highlighter

General bug fixes for Both P1 and P2 (round 2)

  • P1 & P2 Adjusted parameter, return-value, and local variable name collision with global variable to produce error messages.
  • P1 & P2 Repair go to def'n for local variables (limit search scope to the current method)
  • P1 & P2 Repair go to def'n for local pasm labels (limit search scope to between the enclosing global pasm labels)
  • P1 & P2 Increase resolution on go to def'n - was line number only. It is now a line number with a character offset, so now it will position the cursor at the actual symbol within the line (e.g., good for go to enum declaration!)
  • P1 & P2 Repair DAT pasm parser so it doesn't leave pasm mode until the end of the DAT block
  • P1 & P2 Found and fixed a couple of crash causes

Full Changelog: v2.2.1...v2.2.2

v2.2.1

31 Oct 04:04
Compare
Choose a tag to compare

General bug fixes for P1 and P2

  • Repair filename validation in object includes - make checking the same as PNut/Propeller Tool
  • Ensure no parser Error/Warning/Information messages are returned when maxNumberOfReportedIssues is set to zero
  • Clean up issues with the new go-to definition feature (some cases were not recognized)
  • P1 repair hover detection for object#constant references
  • P2 add basic hover text for Streamer Constants
  • P1/P2 CON enhance parsing of operators used within RHS of assignment
  • P1/P2 enhance parsing when {comment} used within the line being parsed
  • P2 OBJ enhance parsing of object override values
  • P1/P2 PUB/PRI enhance parsing left-hand side of assignments

Full Changelog: v2.2.0...v2.2.1

v2.2.0

29 Oct 09:16
Compare
Choose a tag to compare

Awaken Feature: Show Definitions of a Symbol for P1 & P2

Peek at or go to the definition of variables/methods from where the variables/methods are being used.

  • Enables right-mouse commands "Go to Definition" and "Peek -> Peek Definition"
  • In spin, this works for method names, global variables, parameters, return values, method local variables, and pasm global labels.

Full Changelog: v2.1.0...v2.2.0

v2.1.0

28 Oct 00:34
Compare
Choose a tag to compare

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

v2.0.4

27 Oct 00:11
Compare
Choose a tag to compare
v2.0.4 Pre-release
Pre-release

Getting ready for public release. Initial commit from prototype repo