Help us shape the future of Go! Take the 2026 Go Developer Survey

ide

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package ide writes the project's services into GoLand and VS Code, so they can be watched, stopped and debugged from the IDE while rig runs them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoLand

func GoLand() string

GoLand finds the GoLand launcher: $RIG_GOLAND, PATH, then where JetBrains Toolbox and snap put it.

func Open

func Open(dir string) error

Open brings the project up in GoLand (a running GoLand just focuses it), detached from rig.

Types

type Result

type Result struct {
	Services, Debug int
	Folders         []string
	VSCode          string
	// Dashboard is false when the GoLand Services view could not be set to show the configs.
	Dashboard bool
}

Result says what Write wrote.

func Write

func Write(a *engine.App, names []string) (Result, error)

Write puts every service into GoLand, in one folder per section of the Services screen: a run config that starts it and follows its logs (stop stops it), and for Go services a Go Remote config that brings its debugger up first. VS Code gets the attach configs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL