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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ To launch files, send requests to the server like the following:
| `code-insiders` | [Visual Studio Code Insiders](https://code.visualstudio.com/insiders/) | ✓ | ✓ | ✓ |
| `codium` | [VSCodium](https://github.com/VSCodium/vscodium) | ✓ | ✓ | ✓ |
| `cursor` | [Cursor](https://www.cursor.com/) | ✓ | ✓ | ✓ |
| `windsurf` | [Windsurf](https://windsurf.ai/) | ✓ | ✓ | ✓ |
| `emacs` | [Emacs](https://www.gnu.org/software/emacs/) | ✓ | | |
| `idea` | [IDEA](https://www.jetbrains.com/idea/) | ✓ | ✓ | ✓ |
| `notepad++` | [Notepad++](https://notepad-plus-plus.org/download/v7.5.4.html) | | ✓ | |
Expand Down
3 changes: 2 additions & 1 deletion packages/launch-editor/editor-info/linux.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ module.exports = {
'goland.sh': 'goland',
rider: 'rider',
'rider.sh': 'rider',
zed: 'zed'
zed: 'zed',
windsurf: 'windsurf'
}
3 changes: 2 additions & 1 deletion packages/launch-editor/editor-info/macos.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ module.exports = {
'/Applications/GoLand.app/Contents/MacOS/goland',
'/Applications/Rider.app/Contents/MacOS/rider':
'/Applications/Rider.app/Contents/MacOS/rider',
'/Applications/Zed.app/Contents/MacOS/zed': 'zed'
'/Applications/Zed.app/Contents/MacOS/zed': 'zed',
'/Applications/Windsurf.app/Contents/MacOS/Windsurf': 'windsurf'
}
3 changes: 2 additions & 1 deletion packages/launch-editor/editor-info/windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ module.exports = [
'rider64.exe',
'Trae.exe',
'zed.exe',
'Antigravity.exe'
'Antigravity.exe',
'Windsurf.exe'
]
3 changes: 2 additions & 1 deletion packages/launch-editor/get-args.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const path = require('path')

// normalize file/line numbers into command line args for specific editors
module.exports = function getArgumentsForPosition (
module.exports = function getArgumentsForPosition(
editor,
fileName,
lineNumber,
Expand Down Expand Up @@ -44,6 +44,7 @@ module.exports = function getArgumentsForPosition (
case 'cursor':
case 'vscodium':
case 'VSCodium':
case 'windsurf':
return ['-r', '-g', `${fileName}:${lineNumber}:${columnNumber}`]
case 'appcode':
case 'clion':
Expand Down