Commit Graph
4 Commits
Author SHA1 Message Date
lazar 0f829552c2 fix: limit auto-semicolon to control structure END_* keywords only
- Only auto-add semicolon for END_IF, END_FOR, END_WHILE, END_REPEAT, END_CASE
- Exclude block definitions (END_FUNCTION, END_FUNCTION_BLOCK, END_VAR, etc.)
2026-02-21 01:50:39 +01:00
lazar 97176508d3 feat: auto-uppercase keywords and auto-semicolon for END_* keywords
- Auto-uppercase SCL keywords (IF, CASE, FOR, NOT, AND, etc.) when typing space
- Auto-add semicolon after END_* keywords (END_IF, END_FOR, etc.) when:
  - Leaving insert mode on a line ending with END_*
  - Pressing Enter after typing END_*
- Added complete keyword list including TYPE, STRUCT, DATA_BLOCK, etc.
- Works for .scl, .udt, and .db files
2026-02-21 01:50:39 +01:00
lazar c1500f954b Fix multiline params feature and auto-prefix
- Fix FB/function call parameter detection to prevent incorrect # prefixing
- Preserve # prefix when filling multiline params
- Add comma after first parameter and closing bracket on last param line
- Fix Tab navigation to position cursor after :=/=> operators
- Clean up dead code in multiline_params.lua
- Add setup functions for multiline params feature in both scl and scl_lsp
2026-02-17 12:34:59 +01:00
lazar fbbd357ee2 Inintal commit 2026-02-14 15:05:12 +01:00