Skip to content

Commit a572a38

Browse files
authored
feat: add support for trae editor (#99)
1 parent 6807db6 commit a572a38

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

packages/launch-editor/editor-info/linux.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = {
55
code: 'code',
66
vscodium: 'vscodium',
77
codium: 'codium',
8+
trae: 'trae',
89
emacs: 'emacs',
910
gvim: 'gvim',
1011
idea: 'idea',

packages/launch-editor/editor-info/macos.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ module.exports = {
1616
'code-insiders',
1717
'/Applications/VSCodium.app/Contents/MacOS/Electron': 'codium',
1818
'/Applications/Cursor.app/Contents/MacOS/Cursor': 'cursor',
19+
'/Applications/Trae.app/Contents/MacOS/Electron': 'trae',
1920
'/Applications/AppCode.app/Contents/MacOS/appcode':
2021
'/Applications/AppCode.app/Contents/MacOS/appcode',
2122
'/Applications/CLion.app/Contents/MacOS/clion':

packages/launch-editor/editor-info/windows.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ module.exports = [
2222
'goland.exe',
2323
'goland64.exe',
2424
'rider.exe',
25-
'rider64.exe'
25+
'rider64.exe',
26+
'trae.exe'
2627
]

packages/launch-editor/get-args.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ module.exports = function getArgumentsForPosition (
3939
case 'code-insiders':
4040
case 'Code - Insiders':
4141
case 'codium':
42+
case 'trae':
4243
case 'cursor':
4344
case 'vscodium':
4445
case 'VSCodium':

0 commit comments

Comments
 (0)