File tree Expand file tree Collapse file tree 4 files changed +76
-4
lines changed
Expand file tree Collapse file tree 4 files changed +76
-4
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ interface VitePluginInspectorOptions {
168168 *
169169 * @default code (Visual Studio Code)
170170 */
171- launchEditor? : ' appcode' | ' atom' | ' atom-beta' | ' brackets' | ' clion' | ' code' | ' code-insiders' | ' codium' | ' emacs' | ' idea' | ' notepad++' | ' pycharm' | ' phpstorm' | ' rubymine' | ' sublime' | ' vim' | ' visualstudio' | ' webstorm' | ' cursor'
171+ launchEditor? : ' appcode' | ' atom' | ' atom-beta' | ' brackets' | ' clion' | ' code' | ' code-insiders' | ' codium' | ' emacs' | ' idea' | ' notepad++' | ' pycharm' | ' phpstorm' | ' rubymine' | ' sublime' | ' vim' | ' visualstudio' | ' webstorm' | ' cursor' | ' buddy ' | ' buddycn '
172172}
173173```
174174
@@ -201,6 +201,8 @@ interface VitePluginInspectorOptions {
201201| ` visualstudio ` | [ Visual Studio] ( https://www.visualstudio.com/vs/ ) | | | ✓|
202202| ` webstorm ` | [ WebStorm] ( https://www.jetbrains.com/webstorm/ ) | ✓| ✓| ✓|
203203| ` cursor ` | [ Cursor] ( https://www.cursor.com/ ) | ✓| ✓| ✓|
204+ | ` buddy ` | [ CodeBuddy] ( https://codebuddy.cn/ ) | ✓| ✓| ✓|
205+ | ` buddycn ` | [ CodeBuddy CN] ( https://codebuddy.cn/ ) | ✓| ✓| ✓|
204206
205207## 🔌 Configuration IDE / Editor
206208
@@ -292,6 +294,28 @@ export LAUNCH_EDITOR=vim
292294
293295<br />
294296
297+ ### CodeBuddy CN
298+
299+ - install CodeBuddy CN command line tools (usually automatically installed)
300+
301+ - then set env to shell, like ` .bashrc ` or ` .zshrc `
302+
303+ ``` bash
304+ export LAUNCH_EDITOR=buddycn
305+ ```
306+
307+ ** OR**
308+
309+ - just set env with an absolute path to shell (MacOS example)
310+
311+ ``` bash
312+ export LAUNCH_EDITOR=' /Users/YOUR_USERNAME/.codebuddy/bin/buddycn'
313+ ```
314+
315+ > Note: Replace ` YOUR_USERNAME ` with your actual username. CodeBuddy CN uses the same ` -g file:line:column ` syntax as VS Code.
316+
317+ <br />
318+
295319## 💡 Notice
296320
297321- ** [ BREAKING CHANGE] From v1.0, ` enabled ` option default value changed from ` true ` to ` false ` .**
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ interface VitePluginInspectorOptions {
168168 *
169169 * @default code (Visual Studio Code)
170170 */
171- launchEditor? : ' appcode' | ' atom' | ' atom-beta' | ' brackets' | ' clion' | ' code' | ' code-insiders' | ' codium' | ' emacs' | ' idea' | ' notepad++' | ' pycharm' | ' phpstorm' | ' rubymine' | ' sublime' | ' vim' | ' visualstudio' | ' webstorm' | ' cursor'
171+ launchEditor? : ' appcode' | ' atom' | ' atom-beta' | ' brackets' | ' clion' | ' code' | ' code-insiders' | ' codium' | ' emacs' | ' idea' | ' notepad++' | ' pycharm' | ' phpstorm' | ' rubymine' | ' sublime' | ' vim' | ' visualstudio' | ' webstorm' | ' cursor' | ' buddy ' | ' buddycn '
172172}
173173```
174174
@@ -201,6 +201,8 @@ interface VitePluginInspectorOptions {
201201| ` visualstudio ` | [ Visual Studio] ( https://www.visualstudio.com/vs/ ) | | | ✓|
202202| ` webstorm ` | [ WebStorm] ( https://www.jetbrains.com/webstorm/ ) | ✓| ✓| ✓|
203203| ` cursor ` | [ Cursor] ( https://www.cursor.com/ ) | ✓| ✓| ✓|
204+ | ` buddy ` | [ CodeBuddy] ( https://codebuddy.cn/ ) | ✓| ✓| ✓|
205+ | ` buddycn ` | [ CodeBuddy CN] ( https://codebuddy.cn/ ) | ✓| ✓| ✓|
204206
205207## 🔌 Configuration IDE / Editor
206208
@@ -292,6 +294,28 @@ export LAUNCH_EDITOR=vim
292294
293295<br />
294296
297+ ### CodeBuddy CN
298+
299+ - install CodeBuddy CN command line tools (usually automatically installed)
300+
301+ - then set env to shell, like ` .bashrc ` or ` .zshrc `
302+
303+ ``` bash
304+ export LAUNCH_EDITOR=buddycn
305+ ```
306+
307+ ** OR**
308+
309+ - just set env with an absolute path to shell (MacOS example)
310+
311+ ``` bash
312+ export LAUNCH_EDITOR=' /Users/YOUR_USERNAME/.codebuddy/bin/buddycn'
313+ ```
314+
315+ > Note: Replace ` YOUR_USERNAME ` with your actual username. CodeBuddy CN uses the same ` -g file:line:column ` syntax as VS Code.
316+
317+ <br />
318+
295319## 💡 Notice
296320
297321- ** [ BREAKING CHANGE] From v1.0, ` enabled ` option default value changed from ` true ` to ` false ` .**
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export interface VitePluginInspectorOptions {
109109 *
110110 * @default process.env.LAUNCH_EDITOR ?? code (Visual Studio Code)
111111 */
112- launchEditor ?: 'appcode' | 'atom' | 'atom-beta' | 'brackets' | 'clion' | 'code' | 'code-insiders' | 'codium' | 'emacs' | 'idea' | 'notepad++' | 'pycharm' | 'phpstorm' | 'rubymine' | 'sublime' | 'vim' | 'visualstudio' | 'webstorm' | 'rider' | 'cursor' | string
112+ 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
113113
114114 /**
115115 * Disable animation/transition, will auto disable when `prefers-reduced-motion` is set
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ interface VitePluginInspectorOptions {
168168 *
169169 * @default code (Visual Studio Code)
170170 */
171- launchEditor? : ' appcode' | ' atom' | ' atom-beta' | ' brackets' | ' clion' | ' code' | ' code-insiders' | ' codium' | ' emacs' | ' idea' | ' notepad++' | ' pycharm' | ' phpstorm' | ' rubymine' | ' sublime' | ' vim' | ' visualstudio' | ' webstorm' | ' cursor'
171+ launchEditor? : ' appcode' | ' atom' | ' atom-beta' | ' brackets' | ' clion' | ' code' | ' code-insiders' | ' codium' | ' emacs' | ' idea' | ' notepad++' | ' pycharm' | ' phpstorm' | ' rubymine' | ' sublime' | ' vim' | ' visualstudio' | ' webstorm' | ' cursor' | ' buddy ' | ' buddycn '
172172}
173173```
174174
@@ -201,6 +201,8 @@ interface VitePluginInspectorOptions {
201201| ` visualstudio ` | [ Visual Studio] ( https://www.visualstudio.com/vs/ ) | | | ✓|
202202| ` webstorm ` | [ WebStorm] ( https://www.jetbrains.com/webstorm/ ) | ✓| ✓| ✓|
203203| ` cursor ` | [ Cursor] ( https://www.cursor.com/ ) | ✓| ✓| ✓|
204+ | ` buddy ` | [ CodeBuddy] ( https://codebuddy.cn/ ) | ✓| ✓| ✓|
205+ | ` buddycn ` | [ CodeBuddy CN] ( https://codebuddy.cn/ ) | ✓| ✓| ✓|
204206
205207
206208## 🔌 Configuration IDE / Editor
@@ -293,6 +295,28 @@ export LAUNCH_EDITOR=vim
293295
294296<br />
295297
298+ ### CodeBuddy CN
299+
300+ - install CodeBuddy CN command line tools (usually automatically installed)
301+
302+ - then set env to shell, like ` .bashrc ` or ` .zshrc `
303+
304+ ``` bash
305+ export LAUNCH_EDITOR=buddycn
306+ ```
307+
308+ ** OR**
309+
310+ - just set env with an absolute path to shell (MacOS example)
311+
312+ ``` bash
313+ export LAUNCH_EDITOR=' /Users/YOUR_USERNAME/.codebuddy/bin/buddycn'
314+ ```
315+
316+ > Note: Replace ` YOUR_USERNAME ` with your actual username. CodeBuddy CN uses the same ` -g file:line:column ` syntax as VS Code.
317+
318+ <br />
319+
296320## 💡 Notice
297321
298322- ** [ BREAKING CHANGE] From v1.0, ` enabled ` option default value changed from ` true ` to ` false ` .**
You can’t perform that action at this time.
0 commit comments