voidzero-dev / voidzero-dev/vite-plus
Extension Pack for IntelliJ
- Dominant language
- Rust
- Stars
- 5.8k
- Forks
- 261
- Avg merge
- 1d 34m
- Merged PRs (30d)
- 135
Description
### Description
Coming from https://discord.com/channels/1079625926024900739/1429522693190979685/1482723054143672341
We already created a VSCode extension which include `oxc.oxc-vscode` and `vitest.explorer` VSCode extension.
https://github.com/voidzero-dev/vite-plus-extension-pack
The same extension pack is missing for IntelliJ/JetBrains Editors.
### Suggested solution
Asked ChatGPT if there is a concept like VS Code `extensionPack` for IntelliJ.
#### 1. Create a normal IntelliJ plugin
You can create it using the IntelliJ Platform Gradle Plugin or the plugin template.
Typical structure:
````
my-meta-plugin/
├─ build.gradle.kts
├─ settings.gradle.kts
└─ src/main/resources/META-INF/plugin.xml
````
#### 2. Declare plugin dependencies in plugin.xml
Add the plugins you want to bundle as required dependencies:
````
com.example.my-plugin-pack
My Plugin Pack
Me
org.intellij.plugins.markdown
com.jetbrains.rust
````
When users install your plugin:
IntelliJ checks whether these plugins are installed
If not, it automatically installs them
So your plugin acts like a plugin pack.
### Alternative
_No response_
### Additional context
_No response_
### Validations
- [x] Read the [Contributing Guidelines](https://github.com/voidzero-dev/vite-plus/blob/main/CONTRIBUTING.md).
- [x] Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
- [x] Check that there isn't already an issue requesting the same feature.
Contributor guide
Assessment
This issue has not been assessed yet.