Skip to content

Add support for JetBrains editors during the editor setup question#2204

Draft
KTrain5169 wants to merge 2 commits into
voidzero-dev:mainfrom
KTrain5169:jetbrains-editors
Draft

Add support for JetBrains editors during the editor setup question#2204
KTrain5169 wants to merge 2 commits into
voidzero-dev:mainfrom
KTrain5169:jetbrains-editors

Conversation

@KTrain5169

@KTrain5169 KTrain5169 commented Jul 20, 2026

Copy link
Copy Markdown

Closes #1987

This PR adds JetBrains editors as an option during the editor setup step.
As of writing this, the PR simply writes the Oxc plugin ID to .idea/externalDependencies.xml. I plan to go through editor settings (for WebStorm at least) to evaluate which keys are relevant to Oxc and should be set, hence the draft status.

Up for debate

  • Should the option be named "JetBrains (IntelliJ, WebStorm, etc)" or is just "WebStorm"/"IntelliJ" enough in the menu?
  • The CLI also writes intellij.vitejs to the file. Should this remain in the PR? I'm not confident it supports Vite+ properly.
  • Currently the system is a bit hacky given that all other editors read JSON instead of XML. If this becomes a consistent problem (as in, editors start having their own different file formats), then it may be better to rewrite the system a bit so that the file type is automatically detected from the file extension, and all that needs to be supplied to the entry in EDITORS is a key noting the name of the file, and an object describing the shape of the file, with the writing stage formatting it to the expected file type inferred from the file extension before putting it in the file.
  • It should not 100% work with merging with existing externalDependencies.xml files yet (already having some changes lined up to get this properly working)

@netlify

netlify Bot commented Jul 20, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview failed.

Name Link
🔨 Latest commit e17c5d3
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a5d77a8c35b8b0008544ebe

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.

Allow setting up IntelliJ at the editor setup menu

1 participant