-
-
Notifications
You must be signed in to change notification settings - Fork 711
Open
Description
- add --lsp to both oxlint and oxfmt binary feat(cli): add --lsp flag to oxlint to run language server #15038
oxlint --lspwill only provide linting andoxfmt --lspwill only provide formatting
refactor oxc_language_server to make linting and formatting capabilities pluggable to support above- zed / jetbrain / vim (coc) will call these servers separately
- for vscode extension, align to the above editors, i.e. no longer bundle its own oxlint / oxfmt version, it will always call the servers from project
- for releasing versions, oxlint and oxfmt will be published at the same time with the exact same version, but people can bump packages individually to avoid chaos.
Change in architecture:
oxc_language_servershould accept different toolsoxlint --lspandoxfmt --lspusesoxc_language_serverwith only the required tool- IDE is calling
oxlint --lspandoxfmt --lsp oxc_language_servershould be generic to support other tools too (vitest, ...)
liangmiQwQ
Metadata
Metadata
Assignees
Labels
No labels