vscode

package
v0.5.18 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MPL-2.0 Imports: 18 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 InstallAPKRequirements added in v0.5.18

func InstallAPKRequirements(logger log.Logger)

InstallAPKRequirements installs the requirements using apk.

This is used by Alpine- and Wolfi-based images.

func Open added in v0.3.2

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

Types

type ReleaseChannel added in v0.5.5

type ReleaseChannel string
const (
	ReleaseChannelStable   ReleaseChannel = "stable"
	ReleaseChannelInsiders ReleaseChannel = "insiders"
)

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, releaseChannel ReleaseChannel, 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