Skip to content

Commit

Permalink
fix: daytona code windows for vscode-like ides
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Dagelic <[email protected]>
  • Loading branch information
idagelic committed Sep 20, 2024
1 parent 93cfc5e commit 165f99c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/ide/cursor.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ func OpenCursor(activeProfile config.Profile, workspaceId string, projectName st

commandArgument := fmt.Sprintf("vscode-remote://ssh-remote+%s/%s", projectHostname, projectDir)

vscCommand := exec.Command(path, "--folder-uri", commandArgument, "--disable-extension", "ms-vscode-remote.remote-containers")
cursorCommand := exec.Command(path, "--disable-extension", "ms-vscode-remote.remote-containers", "--folder-uri", commandArgument)

err = vscCommand.Run()
err = cursorCommand.Run()
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/ide/vscode.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func OpenVSCode(activeProfile config.Profile, workspaceId string, projectName st

commandArgument := fmt.Sprintf("vscode-remote://ssh-remote+%s/%s", projectHostname, projectDir)

vscCommand := exec.Command("code", "--folder-uri", commandArgument, "--disable-extension", "ms-vscode-remote.remote-containers")
vscCommand := exec.Command("code", "--disable-extension", "ms-vscode-remote.remote-containers", "--folder-uri", commandArgument)

err = vscCommand.Run()
if err != nil {
Expand Down

0 comments on commit 165f99c

Please sign in to comment.