Skip to content

Feat/lsp and ide experience#33

Merged
ulysse-bouchet-simvia merged 3 commits intomainfrom
feat/lsp-and-ide-experience
Apr 28, 2026
Merged

Feat/lsp and ide experience#33
ulysse-bouchet-simvia merged 3 commits intomainfrom
feat/lsp-and-ide-experience

Conversation

@ulysse-bouchet-simvia
Copy link
Copy Markdown
Collaborator

[1.10.1] - 2026-04-28

A round of LSP polish: completion no longer auto-opens on top-level newlines or sticks on "No suggestions", and edit-time diagnostics stop crying wolf on macros that take CO("name") outputs or commands whose keywords live behind a BLOC gate.

Added

  • DEBUT autocompletion now inserts a paired FIN() block with the cursor parked between them.
  • Hovering a CO("name")-declared variable shows which macro will produce it and on what line, matching the regular variable hover.

Fixed

  • Suggest widget no longer auto-opens on a brand-new top-level line, no longer latches on accepted snippet bodies, and still pops parameter suggestions on Enter inside a function call.
  • CO("name") inside a macro is recognised as a future-output declaration, so later references to name no longer flag as undefined.
  • ASSE_ELEM_SSD and similar commands no longer report SOUS_STRUC / LIAISON missing when the keyword's value contains another call (MODELE=CO(...)).
  • CALC_MODES keywords gated by BLOC(condition=...) on defaulted catalog values are no longer reported as unknown.

…words

Stop bailing out of command parsing when an inner line looks like a top-level
call (e.g. `MODELE=CO("name")`), seed BLOC-evaluation context with SIMP
defaults so commands like CALC_MODES expose their gated keywords, and treat
`CO("name")` as a future-output declaration that registers `name` as a
defined variable.
Match popSuggest triggers exactly so accepted snippet bodies don't re-fire
the widget, gate the newline retrigger on being inside an unclosed call so
plain Enter at top level no longer latches VS Code on a "No suggestions"
session, drop the space trigger character that was causing the same latch
on auto-indent, and pair DEBUT autocompletion with a matching FIN() block
with the cursor in between.
Wraps the diagnostics false-positive fixes, the suggest-widget polish, the
DEBUT/FIN snippet pairing, and a hover for CO-declared variables.
@ulysse-bouchet-simvia ulysse-bouchet-simvia self-assigned this Apr 28, 2026
@ulysse-bouchet-simvia ulysse-bouchet-simvia merged commit ff5399a into main Apr 28, 2026
5 checks passed
@ulysse-bouchet-simvia ulysse-bouchet-simvia deleted the feat/lsp-and-ide-experience branch April 28, 2026 12:56
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