Skip to content

Commit ad1ff62

Browse files
authored
docs(oxfmt): Include links for the VS Code extension in the formatter FAQ (#658)
Lead with the VS Code extension since that's the best route for many users. Also rephrase the wording slightly. Signed-off-by: Connor Shea <connor.james.shea@gmail.com>
1 parent 492e0e5 commit ad1ff62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/docs/guide/usage/formatter.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ For import sorting functionality, we provide experimental behavior based on `esl
162162

163163
### How does editor integration work?
164164

165-
By running `oxfmt --lsp`, you can start a language server that responds to `textDocument/formatting` requests.
165+
For VS Code, the Oxc extension is available from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=oxc.oxc-vscode) and [Open VSX Registry](https://open-vsx.org/extension/oxc/oxc-vscode).
166166

167-
Formatting via stdin and stdout are not supported, but we have confirmed that some editors and extensions can work with the CLI by configuring them to use temporary files.
167+
For other editors, by running `oxfmt --lsp` you can start a language server that responds to standard `textDocument/formatting` requests.
168168

169-
Oxc VS Code extension is also available.
169+
Formatting via stdin and stdout are not supported, but we have confirmed that some editors and extensions can work with the CLI by configuring them to use temporary files.
170170

171-
However, both methods have some limitations, such as not supporting formatting of embedded parts.
171+
However, these methods have some limitations, such as not supporting formatting of embedded parts.

0 commit comments

Comments
 (0)