-
-
Notifications
You must be signed in to change notification settings - Fork 724
chore(vscode): second language server connection for oxfmt
#15837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
chore(vscode): second language server connection for oxfmt
#15837
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
df6d604 to
cc0ec55
Compare
0a8f773 to
99701c2
Compare
56be34f to
f7ff45d
Compare
96a9a86 to
d5ec71f
Compare
f7ff45d to
240f96d
Compare
d5ec71f to
1ec9472
Compare
240f96d to
e919504
Compare
1ec9472 to
cce5a20
Compare
e919504 to
784a33c
Compare
cce5a20 to
0fa8b4c
Compare
784a33c to
0146b4c
Compare
0fa8b4c to
35a58e9
Compare
35a58e9 to
f61e18a
Compare
f61e18a to
f535ff0
Compare
410b208 to
21d8200
Compare
4c41ce7 to
b61c6ca
Compare
21d8200 to
ca939c5
Compare
b61c6ca to
fbd1f92
Compare
ca939c5 to
5a29274
Compare
fbd1f92 to
4244c81
Compare
5a29274 to
62fb4c4
Compare
4244c81 to
fbeed3f
Compare
4e615b4 to
3abbc36
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 13 out of 13 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
0932a4b to
eef3fe2
Compare
eef3fe2 to
ac599cb
Compare

This PR implements a second language server connection only for
oxfmt. Currently, it still uses the shippedoxc_language_serverbinary for formatting. When defining a customoxc.path.oxlint(oroxc.path.server), it will start the search process fornode_modules/.bin/oxfmtor usesoxc.path.oxfmt.This should be not a breaking change. When
node_modules/.bin/oxfmtshould be required for formatting, theConfigService.useOxcLanguageServerForFormattingmust not be modified. I would love to wait for the correct search implementation for.node_modules/.bin/oxlintbefore breaking the server detection (and probably removing the shipped server too).Default / with
oxfmtinstalled:Using the internal language server (once)
with
oxc.path.oxlint:Using the oxlint path server for linting.
Searching for
oxfmtinsidenode_modules/.binwith
oxc.path.fmt:Using the internal language server for linting.
Using
oxc.path.fmtbinary