Documentation
¶
Index ¶
- func FindIntelliJ() (string, error)
- func OpenIntelliJ(path string) error
- type IntelliJProject
- type IntelliJWindow
- type ResolveOptions
- type Resolved
- func Open(path string, cfg config.EditorConfig, override string) (Resolved, error)
- func OpenWithOptions(path string, cfg config.EditorConfig, opts ResolveOptions) (Resolved, error)
- func Resolve(cfg config.EditorConfig, override string) (Resolved, error)
- func ResolveWithOptions(cfg config.EditorConfig, opts ResolveOptions) (Resolved, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindIntelliJ ¶
func OpenIntelliJ ¶
Types ¶
type IntelliJProject ¶
type IntelliJProject struct {
ID string
Alias string
Name string
Path string
Active bool
Open bool
WindowName string
}
func MatchIntelliJProjects ¶
func MatchIntelliJProjects(reg registry.Registry, windows []IntelliJWindow) []IntelliJProject
func OpenIntelliJProjects ¶
func OpenIntelliJProjects(projects []IntelliJProject) []IntelliJProject
type IntelliJWindow ¶
type IntelliJWindow struct {
Name string
}
func ListIntelliJWindows ¶
func ListIntelliJWindows(ctx context.Context) ([]IntelliJWindow, error)
type ResolveOptions ¶
type Resolved ¶
type Resolved struct {
Name string
DisplayName string
Launcher string
Command string
Args []string
}
func OpenWithOptions ¶
func OpenWithOptions(path string, cfg config.EditorConfig, opts ResolveOptions) (Resolved, error)
func ResolveWithOptions ¶
func ResolveWithOptions(cfg config.EditorConfig, opts ResolveOptions) (Resolved, error)
Click to show internal directories.
Click to hide internal directories.