vscode

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DownloadAmd64Option = "DOWNLOAD_AMD64"
	DownloadArm64Option = "DOWNLOAD_ARM64"
)

Variables

View Source
var Options = ide.Options{
	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