vscode

package
v0.3.1-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DownloadAmd64Option = "DOWNLOAD_AMD64"
	DownloadArm64Option = "DOWNLOAD_ARM64"
	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:     "false",
		Enum: []string{
			"false",
			"true",
		},
	},
	DownloadArm64Option: {
		Name:        DownloadArm64Option,
		Description: "The download url for the arm64 vscode server binary",
		Default:     "https://aka.ms/vscode-server-launcher/aarch64-unknown-linux-gnu",
	},
	DownloadAmd64Option: {
		Name:        DownloadAmd64Option,
		Description: "The download url for the amd64 vscode server binary",
		Default:     "https://aka.ms/vscode-server-launcher/x86_64-unknown-linux-gnu",
	},
}

Functions

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