intellij

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: MIT Imports: 27 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) pluginapi.Plugin

New creates a new IntelliJ plugin instance.

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"`
}

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