Skip to content

release: v1.3.0#114

Merged
michaeldistel merged 7 commits intomainfrom
release-1.3.0
Feb 20, 2026
Merged

release: v1.3.0#114
michaeldistel merged 7 commits intomainfrom
release-1.3.0

Conversation

@michaeldistel
Copy link
Copy Markdown
Collaborator

Summary

  • Merges release-1.3.0 into main for v1.3.0 release
  • Rich FB hover tooltips, advanced diagnostics, code formatting, rename symbol, code actions, AST rewrite, 366 unit tests
  • See CHANGELOG.md for full details

Testing

npm run test:unit: 366 passing
npm run webpack-prod: 0 errors

* docs: pre-release QA checklist with manual test fixtures (#75)

* fix: add missing loop variable declaration in test_highlighting.st

* test: add logical operators, MOD, block comments, double-quoted strings to highlighting test

* fix: reorder number patterns to prevent splitting literals

Moved hex/binary/octal/float patterns before plain integer pattern.
Prevents: 16#ABCD matching '16' first, 1.23E-4 matching '1' and '4'.
Now full literals highlight correctly.

* fix: remove console.warn noise from ast-parser

Removed console.warn on missing END keywords. Diagnostics provider handles user-facing errors. Parser silently returns EOF on unmatched blocks.

* test: add FUNCTION_BLOCK declarations to syntax highlighting fixture

Replaced completion-focused content with proper FB declarations (VAR_INPUT/OUTPUT/IN_OUT, custom FBs). Tests FUNCTION_BLOCK/END_FUNCTION_BLOCK keyword highlighting.

* fix: diagnostics squiggles, missing commands, paren tracking, consistency

- missing semicolon squiggle at insert point (after last char, len 0)
- type mismatch squiggle on RHS expression only
- undefined var column accounts for line indent
- named param assigns (IN :=) no longer flagged as undefined
- typed literal prefixes (T#, DATE#, etc.) no longer flagged
- paren check per-line on statement lines; multi-line FB calls not flagged
- close-paren quick fix inserts before semicolon, not after
- showIndexStats and checkLspStatus commands registered and in package.json
- sendRequest helper exported from lsp-client
- configurationDefaults sets extension as default formatter
- format doc keybinding note updated for Linux (Ctrl+Shift+I)
- block terminator semicolons (END_IF; etc.) removed from all fixtures, samples, spec
- hover tooltips for primitive data types
- completion: FB call param suggestions, dedup, standard FBs + data types
* docs: enforce_admins true in branch protection command

* docs: clarify branch naming conventions and PR targets
* chore: bump version to 1.3.0, finalize changelog

* docs: add v1.3.0 release notes, update releases index

* fix: remove extra space in SR.st comment alignment

* docs: update README for v1.3.0 — fix version header, test count, keybinding

* docs: add demo video to README

* docs: replace MP4 with GIF for marketplace compatibility
* docs: add demo video to README

* docs: replace MP4 with GIF for marketplace compatibility

* samples: add demo.st showcasing key IEC 61131-3 features
@michaeldistel michaeldistel merged commit af57a5d into main Feb 20, 2026
@michaeldistel michaeldistel deleted the release-1.3.0 branch February 20, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant