File: gocode.1

package info (click to toggle)
gocode 0~git20140530-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 760 kB
  • ctags: 492
  • sloc: lisp: 212; tcl: 60; python: 55; sh: 50; ruby: 46; makefile: 9
file content (57 lines) | stat: -rw-r--r-- 1,231 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.\"                                      Hey, EMACS: -*- nroff -*-
.\" (C) Copyright 2013 Hilko Bengen <bengen@debian.org>
.\"
.TH GOCODE 1
.SH NAME
gocode \- autocompletion daemon for the Go programming language
.SH SYNOPSIS
.B gocode
.RI [-s] [-f=<format>] [-in=<path>] [-sock=<type>] [-addr=<addr>]
       <command> [<args>]
.SH DESCRIPTION
This manual page documents briefly the
.B gocode
command.
.PP
\fBgocode\fP is an autocompletion daemon for the Go programming
language. It is intended to be integraded with a source code editor,
such as Emacs or Vim.
.SH OPTIONS
.TP
.B \-addr="localhost:37373"
Address for tcp socket
.TP
.B \-f="nice"
Output format (vim | emacs | nice | csv | json)
.TP
.B \-in=""
Use this file instead of stdin input
.TP
.B \-s=false
Run a server instead of a client
.TP
.B \-sock="unix"
socket type (unix | tcp)
.SH COMMANDS
.TP
.B autocomplete [<path>] <offset>
main autocompletion command
.TP
.B
close
close the gocode daemon
.TP
.B
status
gocode daemon status report
.TP
.B
drop-cache
drop gocode daemon's cache
.TP
.B
set [<name> [<value>]]
list or set config options
.SH AUTHOR
This manual page was written by Hilko Bengen <bengen@debian.org>, for
the Debian project (and may be used by others).