Skip to content

feat: support Vite+ detection and per-tool source selection - #247

Open
fengmk2 wants to merge 3 commits into
oxc-project:mainfrom
fengmk2:feat/vite-plus-lsp
Open

fengmk2 wants to merge 3 commits into
oxc-project:mainfrom
fengmk2:feat/vite-plus-lsp

Conversation

@fengmk2

@fengmk2 fengmk2 commented Sep 13, 2026

Copy link
Copy Markdown

The extension detects a direct vite-plus dependency and starts vp lint --lsp or vp fmt --lsp. Detection stops at the monorepo root. Local binaries take priority over PATH.

Users select each tool with oxc.oxlint.binarySource and oxc.oxfmt.binarySource. Both settings support auto, vite-plus, and oxc. The oxc.vp.binPath setting selects a specific vp executable. Explicit standalone binary paths keep priority.

Vite+ servers disable nested configuration without changes to saved settings. Missing binaries and startup failures show install or upgrade instructions. Source changes restart the affected server, and restart commands repeat detection.

This implements the Vite+ detection RFC and follows the VS Code implementation.

@fengmk2
fengmk2 marked this pull request as ready for review September 14, 2026 08:11
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.

1 participant