editor

package
v0.483.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

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

Variables

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

Functions

func OpenFileInEditor

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

OpenFileInEditor opens the given file path at the specified position in the selected editor.

Types

This section is empty.

Jump to

Keyboard shortcuts

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