vscode

package
v0.5.28 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 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 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, flavor Flavor, log log.Logger) error

Types

type Flavor added in v0.5.20

type Flavor string
const (
	FlavorStable   Flavor = "stable"
	FlavorInsiders Flavor = "insiders"
	FlavorCursor   Flavor = "cursor"
	FlavorPositron Flavor = "positron"
)

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, flavor Flavor, 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