You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is basically a copy of what @Ran350 asked before (#3222), I'd like to ask for Windsurf support for the rebase custom editor.
As more AI editors based on vscode become popular, like Windsurf, and probably soon Trae as well, it would be a nice move to let the user specify their own "code" command at the settings.
Problem
There was a problem with the behavior of the GitLens: Git rebase command when using the Windsurf Editor.
What is expected is to open an "interactive rebase" tab on the Windsurf editor, but it actually opens on the VSCode.
Also, it opens a text file based rebase edit tab instead of a GUI.
Cause
I checked the git command executed in the terminal and found that code (VSCode) was specified in the editor option.
However, I am concerned that this may complicate the implementation since there is no easy way to determine whether the environment is a Windsurf Editor environment or not.
Question
Therefore, I would like to ask you, the maintainer, the following questions,
Do you intend to support Windsurf, the unofficial VSCode editor, in the first place?
If so, what would be the best way to implement it?
Description
This is basically a copy of what @Ran350 asked before (#3222), I'd like to ask for Windsurf support for the rebase custom editor.
As more AI editors based on vscode become popular, like Windsurf, and probably soon Trae as well, it would be a nice move to let the user specify their own "code" command at the settings.
Problem
There was a problem with the behavior of the GitLens: Git rebase command when using the Windsurf Editor.
What is expected is to open an "interactive rebase" tab on the Windsurf editor, but it actually opens on the VSCode.
Also, it opens a text file based rebase edit tab instead of a GUI.
Cause
I checked the git command executed in the terminal and found that code (VSCode) was specified in the editor option.
Solution
I ran the git command with core.editor and sequence.editor set to windsurf, and it opened the rebase edit tab in the Cursor Editor, as expected.
To support the Windsurf editor, I would expect the following parts of the GitLens source code to be changed.
vscode-gitlens/src/system/-webview/vscode.ts
Lines 73 to 93 in bf589c2
However, I am concerned that this may complicate the implementation since there is no easy way to determine whether the environment is a Windsurf Editor environment or not.
Question
Therefore, I would like to ask you, the maintainer, the following questions,
Do you intend to support Windsurf, the unofficial VSCode editor, in the first place?
If so, what would be the best way to implement it?
Version
GitLens Version: 16.2.1
Windsurf Version: 1.2.2
OS: Windows_NT x64 10
The text was updated successfully, but these errors were encountered: