Documentation
¶
Index ¶
Constants ¶
View Source
const (
OpenNewWindow = "OPEN_NEW_WINDOW"
)
Variables ¶
View Source
var Options = ide.Options{ OpenNewWindow: { Name: OpenNewWindow, Description: "If true, Devsy will open the project in a new window", Default: "true", Enum: []string{ "false", "true", }, }, }
Functions ¶
func EnsureHostSettings ¶ added in v1.3.1
func EnsureHostSettings(flavor Flavor)
EnsureHostSettings ensures required VS Code user settings are configured on the host machine. It disables exec-server mode (useExecServer=false) which is required for both ProxyCommand and tunnel-based SSH connections because VS Code needs a remote TCP port to connect to.
func InstallAPKRequirements ¶
func InstallAPKRequirements()
InstallAPKRequirements installs the requirements using apk.
This is used by Alpine- and Wolfi-based images.
Types ¶
type OpenParams ¶
type ServerOptions ¶
type VsCodeServer ¶
type VsCodeServer struct {
// contains filtered or unexported fields
}
func NewVSCodeServer ¶
func NewVSCodeServer(opts ServerOptions) *VsCodeServer
func (*VsCodeServer) Install ¶
func (o *VsCodeServer) Install() error
func (*VsCodeServer) InstallExtensions ¶
func (o *VsCodeServer) InstallExtensions() error
Click to show internal directories.
Click to hide internal directories.