From 32f1ea5ec06e47f6a2920cde77ded527699b8ccc Mon Sep 17 00:00:00 2001 From: Srivatsn Narayanan Date: Mon, 25 Oct 2021 16:53:28 +0000 Subject: [PATCH] Update branding of VSCode in the code command --- pkg/cmd/codespace/code.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/cmd/codespace/code.go b/pkg/cmd/codespace/code.go index 4261bcf7d2b..17b65896374 100644 --- a/pkg/cmd/codespace/code.go +++ b/pkg/cmd/codespace/code.go @@ -17,7 +17,7 @@ func newCodeCmd(app *App) *cobra.Command { codeCmd := &cobra.Command{ Use: "code", - Short: "Open a codespace in VS Code", + Short: "Open a codespace in Visual Studio Code", Args: noArgsConstraint, RunE: func(cmd *cobra.Command, args []string) error { return app.VSCode(cmd.Context(), codespace, useInsiders) @@ -25,7 +25,7 @@ func newCodeCmd(app *App) *cobra.Command { } codeCmd.Flags().StringVarP(&codespace, "codespace", "c", "", "Name of the codespace") - codeCmd.Flags().BoolVar(&useInsiders, "insiders", false, "Use the insiders version of VS Code") + codeCmd.Flags().BoolVar(&useInsiders, "insiders", false, "Use the insiders version of Visual Studio Code") return codeCmd } @@ -45,7 +45,7 @@ func (a *App) VSCode(ctx context.Context, codespaceName string, useInsiders bool url := vscodeProtocolURL(codespaceName, useInsiders) if err := open.Run(url); err != nil { - return fmt.Errorf("error opening vscode URL %s: %s. (Is VS Code installed?)", url, err) + return fmt.Errorf("error opening vscode URL %s: %s. (Is Visual Studio Code installed?)", url, err) } return nil