lsp

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConsole

func NewConsole(version string) opts.Opts

func NewTcp

func NewTcp(ver string) opts.Opts

Types

type TronCfg

type TronCfg struct {
	*TronExtCfg
	*TronLangCfg
}

type TronExtCfg

type TronExtCfg struct {
	ApplyPTComp  bool     `json:"autoApplyStructCompletions"`
	Includes     []string `json:"includes"`
	MaxIssues    float64  `json:"maxIssues"`
	AdlcPath     string   `json:"adlc.path"`
	TraceServer  string   `json:"trace.server"`
	TronLspServe struct {
		Port       int    `json:"port"`
		AdlAstPath string `json:"adlast.path"`
		Roots      []struct {
			Dir_Template string `json:"root"`
			Prefix       string `json:"prefix"`
		} `json:"roots"`
	} `json:"lspserve"`

	DevFeatures struct {
		Format       bool `json:"format"`
		AutoComplete bool `json:"autoComplete"`
	} `json:"devFeatures"`
}

type TronLangCfg

type TronLangCfg struct {
	InsertSpaces     bool `json:"editor.insertSpaces"`
	FormatOnSave     bool `json:"editor.formatOnSave"`
	CodeActonsOnSave struct {
		OrganisImports bool `json:"source.organizeImports"`
	} `json:"editor.codeActionsOnSave"`
}

Jump to

Keyboard shortcuts

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