Skip to content

Releases: Talv/plaxtony

v1.7.5

19 Apr 18:04
Compare
Choose a tag to compare
  • respect static modifier 588bc2f
    • when providing completions exclude not eligible items
    • show an error message when attempting to reference
      static symbol outside the scope of its definition
  • fix wrong mapping of TriggerLib Elements to symbols in code 9f1ad3c
    • specifically UserData related functions
  • add reserved Galaxy keywords: switch, default, new efd0895
  • parser: forbid multiline strings by escaping EOL character 7d4be72

v1.7.4

19 Apr 18:02
Compare
Choose a tag to compare
  • trigger libs indexing enhancements

v1.7.3

24 Feb 13:57
Compare
Choose a tag to compare
  • fix 'expected return' for nested ifs #3 64e0882
  • disallow multiple variable assigment in one statement #2 541d186
  • disallow dummy expressions abb0d74
  • update SC2 files to v4.2

v1.7.2

01 Jan 15:25
Compare
Choose a tag to compare
  • fix crash when checking return statement for expected value 50c19c9
  • check for expected return statement fe59aa9
  • improve content updating of documents - add second phase for diagnostics 41b3380
  • improve parsing if statements when { is omitted 6fe9404
  • fix code completions crashing for TriggerAddEvent functions 902ae63

v1.7.0

29 Dec 06:50
Compare
Choose a tag to compare

General:

  • add configurable delay before reindexing dirty documents cf7cb4f
  • queue document content changes while project is still being indexed 399a3f3

Parser:

  • better error recovery for invalid parameter declarations 24522a0
  • require local variables to be declared at the begining of function block 429470f
  • print numeric codes of invalid characters b90aa97

Typechecker:

  • improve validation of symbols: ee1fb60
    • redeclaration
    • reference before declaration
    • function declaration missmatch its previous signature
  • fix typechecker running before symbol indexing has completed d3ef75b

References provider:

initial implementation

bac923b

Rename provider:

initial implementation

394d8b6
cf22180
6b48c15
600e9eb

Code completions:

  • provide keywords 3d88251
  • provide natives missing in *.galaxy files of core dependency - via auto-generated dummy file from TriggerLib 13b3ec4

v1.6.1

18 Dec 12:54
Compare
Choose a tag to compare

Parser:

  • fix array of reference type 6366b9e

v1.6.0

06 Dec 19:50
Compare
Choose a tag to compare

Typechecker:

  • Considerable refactor. It is more or less completed now. Every operation should be properly type checked now. It might not report yet about some obscure behaviors of SC2 compiler - especially its implict type casting issues... but the goal is to have error reporting on pair with the one SC2 provides.

v1.5.0

04 Dec 01:00
Compare
Choose a tag to compare

General

  • Basic indexing of Game Data XML files
  • LSP configuration options

Fixes:

  • Disallow non ascii chars in code comments
  • Typechecker: property access on undeclared symbol
  • Don't parse documents that haven't changed
  • Add implict dependency rules for default sc2 mods

Completions provider:

  • Suggest valid trigger function handlers for TriggerCreate
  • Prioritize suggestions of bound functions presets from Triggers scheme.
  • Suggest gamelinks (names of units, effects etc.)