Skip to content

chore: send svelte extension and language id to oxfmt#111

Merged
Sysix merged 1 commit intomainfrom
03-03-chore_send_svelte_extension_and_language_id_to_oxfmt_
Mar 3, 2026
Merged

chore: send svelte extension and language id to oxfmt#111
Sysix merged 1 commit intomainfrom
03-03-chore_send_svelte_extension_and_language_id_to_oxfmt_

Conversation

@Sysix
Copy link
Member

@Sysix Sysix commented Mar 3, 2026

oxc-project/oxc#19807 and oxc-project/oxc#19954

safe to merge, because oxfmt will ignore it until supported

Copy link
Member Author

Sysix commented Mar 3, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the VS Code extension’s formatter tool to recognize Svelte documents so the oxfmt language server is activated for .svelte files and svelte language-id (including for unsaved/untitled docs), aligning with upstream oxc/oxfmt support.

Changes:

  • Add svelte to the formatter’s supported file extensions used in the documentSelector glob patterns.
  • Add svelte to the formatter’s supported VS Code language IDs used in the documentSelector language registrations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Sysix Sysix marked this pull request as ready for review March 3, 2026 22:56
@Sysix Sysix merged commit 59a9948 into main Mar 3, 2026
6 checks passed
@Sysix Sysix deleted the 03-03-chore_send_svelte_extension_and_language_id_to_oxfmt_ branch March 3, 2026 22: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.

2 participants