MCPcopy Create free account
hub / github.com/nsf/gocode / config

Struct config

config.go:22–35  ·  view source on GitHub ↗

------------------------------------------------------------------------- config Structure represents persistent config storage of the gocode daemon. Usually the config is located somewhere in ~/.config/gocode directory. -------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

20//-------------------------------------------------------------------------
21
22type config struct {
23 ProposeBuiltins bool `json:"propose-builtins"`
24 LibPath string `json:"lib-path"`
25 CustomPkgPrefix string `json:"custom-pkg-prefix"`
26 CustomVendorDir string `json:"custom-vendor-dir"`
27 Autobuild bool `json:"autobuild"`
28 ForceDebugOutput string `json:"force-debug-output"`
29 PackageLookupMode string `json:"package-lookup-mode"`
30 CloseTimeout int `json:"close-timeout"`
31 UnimportedPackages bool `json:"unimported-packages"`
32 Partials bool `json:"partials"`
33 IgnoreCase bool `json:"ignore-case"`
34 ClassFiltering bool `json:"class-filtering"`
35}
36
37var g_config_desc = map[string]string{
38 "propose-builtins": "If set to {true}, gocode will add built-in types, functions and constants to autocompletion proposals.",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected