Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ interface VitePluginInspectorOptions {
*
* @default code (Visual Studio Code)
*/
launchEditor?: 'appcode' | 'atom' | 'atom-beta' | 'brackets' | 'clion' | 'code' | 'code-insiders' | 'codium' | 'emacs' | 'idea' | 'notepad++' | 'pycharm' | 'phpstorm' | 'rubymine' | 'sublime' | 'vim' | 'visualstudio' | 'webstorm' | 'cursor'
launchEditor?: 'appcode' | 'atom' | 'atom-beta' | 'brackets' | 'clion' | 'code' | 'code-insiders' | 'codium' | 'emacs' | 'idea' | 'notepad++' | 'pycharm' | 'phpstorm' | 'rubymine' | 'sublime' | 'vim' | 'visualstudio' | 'webstorm' | 'cursor' | 'buddy' | 'buddycn'
}
```

Expand Down Expand Up @@ -201,6 +201,8 @@ interface VitePluginInspectorOptions {
| `visualstudio` | [Visual Studio](https://www.visualstudio.com/vs/) | | |βœ“|
| `webstorm` | [WebStorm](https://www.jetbrains.com/webstorm/) |βœ“|βœ“|βœ“|
| `cursor` | [Cursor](https://www.cursor.com/) |βœ“|βœ“|βœ“|
| `buddy` | [CodeBuddy](https://www.codebuddy.ai/) |βœ“|βœ“|βœ“|
| `buddycn` | [CodeBuddy CN](https://copilot.tencent.com/ide/) |βœ“|βœ“|βœ“|

## πŸ”Œ Configuration IDE / Editor

Expand Down Expand Up @@ -292,6 +294,28 @@ export LAUNCH_EDITOR=vim

<br />

### CodeBuddy CN

- install CodeBuddy CN command line tools (usually automatically installed)

- then set env to shell, like `.bashrc` or `.zshrc`

```bash
export LAUNCH_EDITOR=buddycn
```

**OR**

- just set env with an absolute path to shell (MacOS example)

```bash
export LAUNCH_EDITOR='/Users/YOUR_USERNAME/.codebuddy/bin/buddycn'
```

> Note: Replace `YOUR_USERNAME` with your actual username. CodeBuddy CN uses the same `-g file:line:column` syntax as VS Code.

<br />

## πŸ’‘ Notice

- **[BREAKING CHANGE] From v1.0, `enabled` option default value changed from `true` to `false` .**
Expand Down
26 changes: 25 additions & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ interface VitePluginInspectorOptions {
*
* @default code (Visual Studio Code)
*/
launchEditor?: 'appcode' | 'atom' | 'atom-beta' | 'brackets' | 'clion' | 'code' | 'code-insiders' | 'codium' | 'emacs' | 'idea' | 'notepad++' | 'pycharm' | 'phpstorm' | 'rubymine' | 'sublime' | 'vim' | 'visualstudio' | 'webstorm' | 'cursor'
launchEditor?: 'appcode' | 'atom' | 'atom-beta' | 'brackets' | 'clion' | 'code' | 'code-insiders' | 'codium' | 'emacs' | 'idea' | 'notepad++' | 'pycharm' | 'phpstorm' | 'rubymine' | 'sublime' | 'vim' | 'visualstudio' | 'webstorm' | 'cursor' | 'buddy' | 'buddycn'
}
```

Expand Down Expand Up @@ -201,6 +201,8 @@ interface VitePluginInspectorOptions {
| `visualstudio` | [Visual Studio](https://www.visualstudio.com/vs/) | | |βœ“|
| `webstorm` | [WebStorm](https://www.jetbrains.com/webstorm/) |βœ“|βœ“|βœ“|
| `cursor` | [Cursor](https://www.cursor.com/) |βœ“|βœ“|βœ“|
| `buddy` | [CodeBuddy](https://www.codebuddy.ai/) |βœ“|βœ“|βœ“|
| `buddycn` | [CodeBuddy CN](https://copilot.tencent.com/ide/) |βœ“|βœ“|βœ“|

## πŸ”Œ Configuration IDE / Editor

Expand Down Expand Up @@ -292,6 +294,28 @@ export LAUNCH_EDITOR=vim

<br />

### CodeBuddy CN

- install CodeBuddy CN command line tools (usually automatically installed)

- then set env to shell, like `.bashrc` or `.zshrc`

```bash
export LAUNCH_EDITOR=buddycn
```

**OR**

- just set env with an absolute path to shell (MacOS example)

```bash
export LAUNCH_EDITOR='/Users/YOUR_USERNAME/.codebuddy/bin/buddycn'
```

> Note: Replace `YOUR_USERNAME` with your actual username. CodeBuddy CN uses the same `-g file:line:column` syntax as VS Code.

<br />

## πŸ’‘ Notice

- **[BREAKING CHANGE] From v1.0, `enabled` option default value changed from `true` to `false` .**
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export interface VitePluginInspectorOptions {
*
* @default process.env.LAUNCH_EDITOR ?? code (Visual Studio Code)
*/
launchEditor?: 'appcode' | 'atom' | 'atom-beta' | 'brackets' | 'clion' | 'code' | 'code-insiders' | 'codium' | 'emacs' | 'idea' | 'notepad++' | 'pycharm' | 'phpstorm' | 'rubymine' | 'sublime' | 'vim' | 'visualstudio' | 'webstorm' | 'rider' | 'cursor' | string
launchEditor?: 'appcode' | 'atom' | 'atom-beta' | 'brackets' | 'clion' | 'code' | 'code-insiders' | 'codium' | 'emacs' | 'idea' | 'notepad++' | 'pycharm' | 'phpstorm' | 'rubymine' | 'sublime' | 'vim' | 'visualstudio' | 'webstorm' | 'rider' | 'cursor' | 'buddy' | 'buddycn' | string

/**
* Disable animation/transition, will auto disable when `prefers-reduced-motion` is set
Expand Down
26 changes: 25 additions & 1 deletion packages/unplugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ interface VitePluginInspectorOptions {
*
* @default code (Visual Studio Code)
*/
launchEditor?: 'appcode' | 'atom' | 'atom-beta' | 'brackets' | 'clion' | 'code' | 'code-insiders' | 'codium' | 'emacs' | 'idea' | 'notepad++' | 'pycharm' | 'phpstorm' | 'rubymine' | 'sublime' | 'vim' | 'visualstudio' | 'webstorm' | 'cursor'
launchEditor?: 'appcode' | 'atom' | 'atom-beta' | 'brackets' | 'clion' | 'code' | 'code-insiders' | 'codium' | 'emacs' | 'idea' | 'notepad++' | 'pycharm' | 'phpstorm' | 'rubymine' | 'sublime' | 'vim' | 'visualstudio' | 'webstorm' | 'cursor' | 'buddy' | 'buddycn'
}
```

Expand Down Expand Up @@ -201,6 +201,8 @@ interface VitePluginInspectorOptions {
| `visualstudio` | [Visual Studio](https://www.visualstudio.com/vs/) | | |βœ“|
| `webstorm` | [WebStorm](https://www.jetbrains.com/webstorm/) |βœ“|βœ“|βœ“|
| `cursor` | [Cursor](https://www.cursor.com/) |βœ“|βœ“|βœ“|
| `buddy` | [CodeBuddy](https://www.codebuddy.ai/) |βœ“|βœ“|βœ“|
| `buddycn` | [CodeBuddy CN](https://copilot.tencent.com/ide/) |βœ“|βœ“|βœ“|


## πŸ”Œ Configuration IDE / Editor
Expand Down Expand Up @@ -293,6 +295,28 @@ export LAUNCH_EDITOR=vim

<br />

### CodeBuddy CN

- install CodeBuddy CN command line tools (usually automatically installed)

- then set env to shell, like `.bashrc` or `.zshrc`

```bash
export LAUNCH_EDITOR=buddycn
```

**OR**

- just set env with an absolute path to shell (MacOS example)

```bash
export LAUNCH_EDITOR='/Users/YOUR_USERNAME/.codebuddy/bin/buddycn'
```

> Note: Replace `YOUR_USERNAME` with your actual username. CodeBuddy CN uses the same `-g file:line:column` syntax as VS Code.

<br />

## πŸ’‘ Notice

- **[BREAKING CHANGE] From v1.0, `enabled` option default value changed from `true` to `false` .**
Expand Down