Skip to content

Insert generated form stubs after the PowerShell script preamble#180

Merged
adamdriscoll merged 2 commits into
mainfrom
codex/pr-173-fix-form-stub-formatting
Jul 24, 2026
Merged

Insert generated form stubs after the PowerShell script preamble#180
adamdriscoll merged 2 commits into
mainfrom
codex/pr-173-fix-form-stub-formatting

Conversation

@adamdriscoll

Copy link
Copy Markdown
Member

Summary

  • Insert generated form event stubs after #requires, using, and param preamble statements
  • Support both file-based and Visual Studio document insertion
  • Add unit coverage for preamble and no-preamble scripts

Testing

  • Added unit tests covering multiline and single-line parameter blocks, preamble directives, and scripts without a preamble

adamdriscoll and others added 2 commits July 21, 2026 17:29
Insert generated Windows Forms event and function stubs after script preamble statements so #requires, using, and param blocks remain first in generated scripts.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@adamdriscoll
adamdriscoll merged commit b90f477 into main Jul 24, 2026
1 check passed
@adamdriscoll
adamdriscoll deleted the codex/pr-173-fix-form-stub-formatting branch July 24, 2026 14:40
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