Skip to content

Commit

Permalink
fix: set vscode as initial default IDE (#222)
Browse files Browse the repository at this point in the history
Signed-off-by: Toma Puljak <[email protected]>
  • Loading branch information
Tpuljak authored Mar 15, 2024
1 parent aec8164 commit 94ad017
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/daytona/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ func (c *Config) GetProfile(profileId string) (Profile, error) {
func getDefaultConfig() Config {
return Config{
ActiveProfileId: "default",
DefaultIdeId: "vscode",
Profiles: []Profile{
{
Id: "default",
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/workspace/code.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func openIDE(ideId string, activeProfile config.Profile, workspaceId string, pro
}
}

return errors.New("invalid IDE")
return errors.New("invalid IDE. Please choose one by running `daytona ide`")
}

var ideFlag string
Expand Down

0 comments on commit 94ad017

Please sign in to comment.