vscode

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2025 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConfigNotFound = errors.New("configuration file not found")

Functions

func FormatKeybinding added in v0.6.0

func FormatKeybinding(keybind *keybinding.Keybinding, plat platform.Platform) (string, error)

FormatKeybinding formats a Keybinding struct into a VSCode keybinding string. The plat parameter specifies the target platform for formatting modifier keys. If plat is empty, it defaults to the current runtime platform.

func New

func New(mappingConfig *mappings.MappingConfig, logger *slog.Logger, recorder metrics.Recorder) pluginapi.Plugin

New creates a new VSCodePlugin instance.

func NewCursor added in v0.2.0

func NewCursor(
	mappingConfig *mappings.MappingConfig,
	logger *slog.Logger,
	recorder metrics.Recorder,
) pluginapi.Plugin

NewCursor creates a Cursor plugin instance.

func NewVSCodeKeybindingLookup added in v0.5.2

func NewVSCodeKeybindingLookup() keybindinglookup.KeybindingLookup

NewVSCodeKeybindingLookup creates a new KeybindingLookup instance

func NewWindsurf added in v0.2.0

func NewWindsurf(
	mappingConfig *mappings.MappingConfig,
	logger *slog.Logger,
	recorder metrics.Recorder,
) pluginapi.Plugin

NewWindsurf creates a Windsurf plugin instance.

func NewWindsurfNext added in v0.2.0

func NewWindsurfNext(
	mappingConfig *mappings.MappingConfig,
	logger *slog.Logger,
	recorder metrics.Recorder,
) pluginapi.Plugin

NewWindsurfNext creates a Windsurf-Next plugin instance.

func ParseKeybinding added in v0.6.0

func ParseKeybinding(keybind string, plat platform.Platform) (*keybinding.Keybinding, error)

ParseKeybinding parses a VSCode keybinding string into a Keybinding struct. The plat parameter specifies the platform context for parsing modifier keys. If plat is empty, it defaults to the current runtime platform.

Types

This section is empty.

Jump to

Keyboard shortcuts

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