editor

package
v0.510.3 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VSCode   = "vscode"
	IntelliJ = "intellij"
	Cursor   = "cursor"
	Zed      = "zed"
	GitHub   = "github"
)

Variables

View Source
var SupportedEditors = []string{VSCode, IntelliJ, Cursor, Zed, GitHub}

Functions

func OpenFileInEditor

func OpenFileInEditor(ctx context.Context, editor string, pos schema.Position, projectRoot string, module *schema.Module) error

OpenFileInEditor opens the given file path at the specified position in the selected editor. It now requires the overall schema to look up module-specific Git metadata.

Types

This section is empty.

Jump to

Keyboard shortcuts

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