ide

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateIntelijJTasks

func GenerateIntelijJTasks(tasks []Task, root string)

func GenerateVSCode

func GenerateVSCode(tasks []Task, root string)

Types

type Task

type Task struct {
	Name    string
	Program string
	Args    []string
	Env     map[string]string
	LDFlags string
}

Task defines single task

type VSCodeLunchConfig

type VSCodeLunchConfig struct {
	Name       string            `json:"name"`
	Type       string            `json:"type"`
	Request    string            `json:"request"`
	Mode       string            `json:"mode"`
	Program    string            `json:"program"`
	Args       []string          `json:"args,omitempty"`
	Env        map[string]string `json:"env,omitempty"`
	EnvFile    string            `json:"envFile,omitempty"`
	BuildFlags string            `json:"buildFlags,omitempty"`
}

Jump to

Keyboard shortcuts

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