vscode

package
v0.3.4-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2023 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenNewWindow = "OPEN_NEW_WINDOW"
)

Variables

View Source
var Options = ide.Options{
	OpenNewWindow: {
		Name:        OpenNewWindow,
		Description: "If true, DevPod will open the project in a new vscode window",
		Default:     "true",
		Enum: []string{
			"false",
			"true",
		},
	},
}

Functions

func Open added in v0.3.2

func Open(ctx context.Context, workspace, folder string, newWindow bool, log log.Logger) error

func PrepareVSCodeServerLocation

func PrepareVSCodeServerLocation(userName string, create bool) (string, error)

Types

type VsCodeServer

type VsCodeServer struct {
	// contains filtered or unexported fields
}

func NewVSCodeServer

func NewVSCodeServer(extensions []string, settings string, userName string, values map[string]config.OptionValue, log log.Logger) *VsCodeServer

func (*VsCodeServer) Install

func (o *VsCodeServer) Install() error

func (*VsCodeServer) InstallExtensions

func (o *VsCodeServer) InstallExtensions() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL