@@ -29,7 +29,7 @@ export interface CodeEditorOption {
2929 icon ?: string
3030 descriptionKey ?: string
3131 groupKey : string
32- defaultCommand : string
32+ initialCommand ? : string
3333 openInTerminal ?: boolean
3434 monochromeIcon ?: boolean
3535}
@@ -40,7 +40,7 @@ export interface EditorCommandOption {
4040 icon ?: string
4141 descriptionKey ?: string
4242 groupKey : string
43- defaultCommand : string
43+ initialCommand ? : string
4444 openInTerminal : boolean
4545 monochromeIcon ?: boolean
4646 editors : CodeEditorEnum [ ]
@@ -78,119 +78,108 @@ export const codeEditors: Record<CodeEditorEnum, CodeEditorOption> = {
7878 label : 'IntelliJ IDEA' ,
7979 descriptionKey : 'app.settings.editors.descriptions.intellij_idea' ,
8080 icon : 'i-custom:jetbrains-intellij-idea' ,
81- defaultCommand : 'idea {project}' ,
8281 } ,
8382 [ CodeEditorEnum . PyCharm ] : {
8483 groupKey : 'app.settings.editors.groups.jetbrains' ,
8584 label : 'PyCharm' ,
8685 descriptionKey : 'app.settings.editors.descriptions.pycharm' ,
8786 icon : 'i-custom:jetbrains-pycharm' ,
88- defaultCommand : 'pycharm {project}' ,
8987 } ,
9088 [ CodeEditorEnum . PhpStorm ] : {
9189 groupKey : 'app.settings.editors.groups.jetbrains' ,
9290 label : 'PhpStorm' ,
9391 descriptionKey : 'app.settings.editors.descriptions.phpstorm' ,
9492 icon : 'i-custom:jetbrains-phpstorm' ,
95- defaultCommand : 'phpstorm {project}' ,
9693 } ,
9794 [ CodeEditorEnum . GoLand ] : {
9895 groupKey : 'app.settings.editors.groups.jetbrains' ,
9996 label : 'GoLand' ,
10097 descriptionKey : 'app.settings.editors.descriptions.goland' ,
10198 icon : 'i-custom:jetbrains-goland' ,
102- defaultCommand : 'goland {project}' ,
10399 } ,
104100 [ CodeEditorEnum . Rider ] : {
105101 groupKey : 'app.settings.editors.groups.jetbrains' ,
106102 label : 'Rider' ,
107103 descriptionKey : 'app.settings.editors.descriptions.rider' ,
108104 icon : 'i-custom:jetbrains-rider' ,
109- defaultCommand : 'rider {project}' ,
110105 } ,
111106 [ CodeEditorEnum . Clion ] : {
112107 groupKey : 'app.settings.editors.groups.jetbrains' ,
113108 label : 'CLion' ,
114109 descriptionKey : 'app.settings.editors.descriptions.clion' ,
115110 icon : 'i-custom:jetbrains-clion' ,
116- defaultCommand : 'clion {project}' ,
117111 } ,
118112 [ CodeEditorEnum . RustRover ] : {
119113 groupKey : 'app.settings.editors.groups.jetbrains' ,
120114 label : 'RustRover' ,
121115 descriptionKey : 'app.settings.editors.descriptions.rust_rover' ,
122116 icon : 'i-custom:jetbrains-rustrover' ,
123- defaultCommand : 'rustrover {project}' ,
124117 } ,
125118 [ CodeEditorEnum . WebStorm ] : {
126119 groupKey : 'app.settings.editors.groups.jetbrains' ,
127120 label : 'WebStorm' ,
128121 descriptionKey : 'app.settings.editors.descriptions.webstorm' ,
129122 icon : 'i-custom:jetbrains-webstorm' ,
130- defaultCommand : 'webstorm {project}' ,
131123 } ,
132124 [ CodeEditorEnum . RubyMine ] : {
133125 groupKey : 'app.settings.editors.groups.jetbrains' ,
134126 label : 'RubyMine' ,
135127 descriptionKey : 'app.settings.editors.descriptions.rubymine' ,
136128 icon : 'i-custom:jetbrains-rubymine' ,
137- defaultCommand : 'rubymine {project}' ,
138129 } ,
139130 [ CodeEditorEnum . VisualStudio ] : {
140131 groupKey : 'app.settings.editors.groups.microsoft' ,
141132 label : 'Visual Studio' ,
142133 icon : 'i-custom:visual-studio' ,
143- defaultCommand : 'devenv {project}' ,
144134 } ,
145135 [ CodeEditorEnum . VisualStudioCode ] : {
146136 groupKey : 'app.settings.editors.groups.microsoft' ,
147137 label : 'Visual Studio Code' ,
148138 icon : 'i-custom:visual-studio-code' ,
149- defaultCommand : 'code {project}' ,
139+ initialCommand : 'code {project}' ,
150140 } ,
151141 [ CodeEditorEnum . Cursor ] : {
152142 groupKey : 'app.settings.editors.groups.ai_editors' ,
153143 label : 'Cursor' ,
154144 descriptionKey : 'app.settings.editors.descriptions.cursor' ,
155145 icon : 'i-custom:cursor' ,
156- defaultCommand : 'cursor {project}' ,
146+ initialCommand : 'cursor {project}' ,
157147 monochromeIcon : true ,
158148 } ,
159149 [ CodeEditorEnum . Windsurf ] : {
160150 groupKey : 'app.settings.editors.groups.ai_editors' ,
161151 label : 'Windsurf' ,
162152 descriptionKey : 'app.settings.editors.descriptions.windsurf' ,
163153 icon : 'i-custom:windsurf' ,
164- defaultCommand : 'windsurf {project}' ,
154+ initialCommand : 'windsurf {project}' ,
165155 monochromeIcon : true ,
166156 } ,
167157 [ CodeEditorEnum . Trae ] : {
168158 groupKey : 'app.settings.editors.groups.ai_editors' ,
169159 label : 'Trae' ,
170160 descriptionKey : 'app.settings.editors.descriptions.trae' ,
171161 icon : 'i-custom:trae-color' ,
172- defaultCommand : 'trae {project}' ,
173162 } ,
174163 [ CodeEditorEnum . Zed ] : {
175164 groupKey : 'app.settings.editors.groups.editors' ,
176165 label : 'Zed' ,
177166 descriptionKey : 'app.settings.editors.descriptions.zed' ,
178167 icon : 'i-custom:zed-industries' ,
179- defaultCommand : 'zed {project}' ,
168+ initialCommand : 'zed {project}' ,
180169 monochromeIcon : true ,
181170 } ,
182171 [ CodeEditorEnum . SublimeText ] : {
183172 groupKey : 'app.settings.editors.groups.editors' ,
184173 label : 'Sublime Text' ,
185174 icon : 'i-custom:sublime-text' ,
186- defaultCommand : 'subl {project}' ,
175+ initialCommand : 'subl {project}' ,
187176 monochromeIcon : true ,
188177 } ,
189178 [ CodeEditorEnum . Neovim ] : {
190179 groupKey : 'app.settings.editors.groups.terminal_editors' ,
191180 label : 'Neovim' ,
192181 icon : 'i-custom:neovim' ,
193- defaultCommand : 'nvim .' ,
182+ initialCommand : 'nvim .' ,
194183 openInTerminal : true ,
195184 monochromeIcon : true ,
196185 } ,
@@ -199,30 +188,29 @@ export const codeEditors: Record<CodeEditorEnum, CodeEditorOption> = {
199188 label : 'Codex CLI' ,
200189 descriptionKey : 'app.settings.editors.descriptions.codex_cli' ,
201190 icon : 'i-custom:codex-color' ,
202- defaultCommand : 'codex' ,
191+ initialCommand : 'codex' ,
203192 openInTerminal : true ,
204193 } ,
205194 [ CodeEditorEnum . ClaudeCode ] : {
206195 groupKey : 'app.settings.editors.groups.ai_cli' ,
207196 label : 'Claude Code' ,
208197 descriptionKey : 'app.settings.editors.descriptions.claude_code' ,
209198 icon : 'i-custom:claude-color' ,
210- defaultCommand : 'claude' ,
199+ initialCommand : 'claude' ,
211200 openInTerminal : true ,
212201 } ,
213202 [ CodeEditorEnum . GeminiCli ] : {
214203 groupKey : 'app.settings.editors.groups.ai_cli' ,
215204 label : 'Gemini CLI' ,
216205 descriptionKey : 'app.settings.editors.descriptions.gemini_cli' ,
217206 icon : 'i-custom:gemini-color' ,
218- defaultCommand : 'gemini' ,
207+ initialCommand : 'gemini' ,
219208 openInTerminal : true ,
220209 } ,
221210 [ CodeEditorEnum . AndroidStudio ] : {
222211 groupKey : 'app.settings.editors.groups.google' ,
223212 label : 'Android Studio' ,
224213 icon : 'i-custom:android-studio-stable' ,
225- defaultCommand : 'studio {project}' ,
226214 } ,
227215}
228216
@@ -296,7 +284,7 @@ export const editorCommandOptions: EditorCommandOption[] = [
296284 icon : option . icon ,
297285 descriptionKey : option . descriptionKey ,
298286 groupKey : option . groupKey ,
299- defaultCommand : option . defaultCommand ,
287+ initialCommand : option . initialCommand ,
300288 openInTerminal : option . openInTerminal === true ,
301289 monochromeIcon : option . monochromeIcon ,
302290 editors : [ editor ] ,
0 commit comments