Skip to content

Feat/export form qol improvements#26

Merged
ulysse-bouchet-simvia merged 4 commits intomainfrom
feat/export-form-qol-improvements
Apr 20, 2026
Merged

Feat/export form qol improvements#26
ulysse-bouchet-simvia merged 4 commits intomainfrom
feat/export-form-qol-improvements

Conversation

@ulysse-bouchet-simvia
Copy link
Copy Markdown
Collaborator

[1.8.1] - 2026-04-20

Follow-up polish on the .export editor form: smarter autocomplete suggestions and the saved file now opens automatically after create/save.

Added

  • Type-aware autocomplete — file name suggestions in the export form are now filtered by the selected F-line type so irrelevant files are hidden:
    • mmed / rmed rows accept .med, .mmed, .rmed, and any custom extension registered in vs-code-aster.medFileExtensions (so user-added MED extensions like .71 show up).
    • comm rows accept .com* (covers .comm, .com0, .com1, ...).
    • mess, msh, and dat rows require a literal extension match.
    • Types without a conventional extension (mail, base, libr, tab, nom) still accept any file.
  • Autocomplete on output rows — output file name fields now use the same autocomplete dropdown as inputs, making it easy to reuse existing file names for outputs.
  • Reveal on save — creating or saving an .export file from the form now opens the file in a text editor (or focuses the existing tab if it's already open), so you immediately see the formatted result. Stale tabs left over from a rename are closed automatically.

Fixed

  • The hidden .vs-code-aster/ folder no longer appears in the export form's autocomplete suggestions.

Suggestions are now scoped to files matching the selected type (.com* for
comm, any configured MED extension for mmed/rmed, literal match for mess/
msh/dat), the hidden .vs-code-aster/ folder is excluded, and output rows
get the same autocomplete treatment as inputs.
Saving or creating a file from the Svelte export form now opens the
resulting .export in a text editor, reusing the existing tab when one
is already open and closing any stale tab left over from a rename.
@ulysse-bouchet-simvia ulysse-bouchet-simvia self-assigned this Apr 20, 2026
@ulysse-bouchet-simvia ulysse-bouchet-simvia merged commit b705788 into main Apr 20, 2026
5 checks passed
@ulysse-bouchet-simvia ulysse-bouchet-simvia deleted the feat/export-form-qol-improvements branch April 20, 2026 14:20
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