intellij

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: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

New creates a new IntelliJ plugin instance.

func NewClion added in v0.2.0

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

NewClion creates a CLion plugin instance.

func NewGoLand added in v0.2.0

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

NewGoLand creates a GoLand plugin instance.

func NewIntelliJCommunity added in v0.2.0

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

NewIntelliJCommunity creates an IntelliJ Community plugin instance.

func NewPhpStorm added in v0.2.0

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

NewPhpStorm creates a PhpStorm plugin instance.

func NewPycharm added in v0.2.0

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

NewPycharm creates a PyCharm plugin instance.

func NewRubyMine added in v0.2.0

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

NewRubyMine creates a RubyMine plugin instance.

func NewRustRover added in v0.4.0

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

NewRustRover creates a RustRover plugin instance.

func NewWebStorm added in v0.2.0

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

NewWebStorm creates a WebStorm plugin instance.

func ParseKeyBinding added in v0.6.0

func ParseKeyBinding(ks KeyboardShortcutXML) (keybinding.Keybinding, error)

func TestUnmarshalKeymapXML

func TestUnmarshalKeymapXML(t *testing.T)

Types

type ActionXML

type ActionXML struct {
	ShortcutXML

	ID string `xml:"id,attr"`
}

type KeyboardShortcutXML

type KeyboardShortcutXML struct {
	First  string `xml:"first-keystroke,attr"`
	Second string `xml:"second-keystroke,attr,omitempty"`
}

func FormatKeybinding added in v0.6.0

func FormatKeybinding(keybind keybinding.Keybinding) (*KeyboardShortcutXML, error)

type KeymapXML

type KeymapXML struct {
	XMLName          xml.Name    `xml:"keymap"`
	Name             string      `xml:"name,attr"`
	Version          string      `xml:"version,attr"`
	DisableMnemonics bool        `xml:"disable-mnemonics,attr"`
	Actions          []ActionXML `xml:"action"`
	Parent           string      `xml:"parent,attr"`
}

type MouseShortcutXML

type MouseShortcutXML struct {
	Keystroke string `xml:"keystroke,attr"`
}

type ShortcutXML

type ShortcutXML struct {
	KeyboardShortcuts []KeyboardShortcutXML `xml:"keyboard-shortcut"`
	MouseShortcuts    []MouseShortcutXML    `xml:"mouse-shortcut"`
}

Jump to

Keyboard shortcuts

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