Skip to content

CmdPal: Fix binary file corruption in Create Extension#46490

Open
jiripolasek wants to merge 1 commit intomainfrom
dev/jpolasek/b/46448-fix-create-extension-corrupts-binary-files
Open

CmdPal: Fix binary file corruption in Create Extension#46490
jiripolasek wants to merge 1 commit intomainfrom
dev/jpolasek/b/46448-fix-create-extension-corrupts-binary-files

Conversation

@jiripolasek
Copy link
Collaborator

Summary of the Pull Request

This PR fixes a problem with invisible icons in newly create Command Palette extensions, when created through built-in command:

  • Avoids modifying binary files during extension creation from the template to prevent corruption.
  • Refactors template expansion and physical extension creation into a separate ExtensionTemplateService.
  • Adds unit tests.

PR Checklist

  • Communication: I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected
  • Tests: Added/updated and all pass
  • Localization: All end-user-facing strings can be localized
  • Dev docs: Added/updated
  • New binaries: Added on the required places
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

- Avoids modifying binary files during extension creation from the template to prevent corruption.
- Refactors template expansion and physical extension creation into a separate ExtensionTemplateService.
- Adds unit tests.
@jiripolasek jiripolasek added the Product-Command Palette Refers to the Command Palette utility label Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Product-Command Palette Refers to the Command Palette utility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CmdPal: Replace transparent icons in the extension template

1 participant