mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
VS Code can handle formatting on save in different ways. The configuration `editor.formatOnSaveMode` is responsible for it. The default value "file" will format the whole file. https://code.visualstudio.com/updates/v1_49#_only-format-modified-text Other values like `modifications` are not supported by `oxfmt` for the moment, because the missing LSP specs: - https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_rangeFormatting - (or) https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_onTypeFormatting Problem found in https://discord.com/channels/1079625926024900739/1461131443215405305/1461160171890938043
⚓ Oxc Editor Plugins
Official
Third-Party
We look forward to your contributions, Feel free to open a PR if you are working on an IDE extension for oxlint(
oxc_language_server).