toolbox

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ShellSuffix    = ".cmd"
	IconSuffix     = ".ico"
	TemplateSuffix = ".tmp"
	TemplateDir    = "template"
	AddTemplate    = "toolboxAdd.reg.tmp"
	RemoveTemplate = "toolboxRemove.reg.tmp"
	OutPutDir      = "regx"
)

Variables

This section is empty.

Functions

func EscapeRegxPath

func EscapeRegxPath(path string) string

EscapeRegxPath regx脚本转义

func Generate

func Generate(output string, top bool) error

Generate 生成reg注册表脚本

Types

type JetBrainItem

type JetBrainItem struct {
	Display   string
	Name      string
	ShellPath string
	IconPath  string
	HKey      string
}

JetBrainItem JetBrain结构体,代表着一个IDE

type JetBrainItemGroup

type JetBrainItemGroup map[string]JetBrainItem

type JetBrainToolBox

type JetBrainToolBox struct {
	FLag        string
	Icon        string
	SubCommands string
	Top         bool
	IdeGroup    JetBrainItemGroup
}

JetBrainToolBox 代表着ToolBox

func NewToolBox

func NewToolBox() JetBrainToolBox

Jump to

Keyboard shortcuts

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