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
|
/**-*-C++-*-
* \file
* \author Guillaume Papin <guillaume.papin@epitech.eu>
*
* \brief Command list.
*
* This file is distributed under the GNU General Public License. See
* COPYING for details.
*/
#ifndef X
#error Please define the 'X(id, command, description)' macro before inclusion!
#endif
X(Candidates, "candidates",
"PREFIX STYLE - print completion candidates (require previous complete). "
"STYLE is \"exact\", \"case-insensitive\" or \"smart-case\"")
X(Complete, "complete",
"FILE LINE COL [-- [COMPILE_OPTIONS...]] - perform code completion at a given location")
X(CompletionDiagnostics, "completion-diagnostics",
"print the diagnostics generated during complete")
X(Diagnostics, "diagnostics", "print the diagnostics of the last parse")
X(Exit, "exit", "exit interactive mode, print nothing")
X(GetCompileOptions, "get-compile-options", "BUILD_DIR FILE - "
"get compile options for FILE from JSON database in BUILD_DIR")
X(GetType, "get-type", "LINE COL - get type of symbol at a given location")
X(Help, "help", "show this message")
X(Parse, "parse", "FILE [-- [COMPILE_OPTIONS...]] - parse the given file")
X(ResetUnsaved, "reset-unsaved", "FILE - reset FILE, its content is up to date")
X(SetDebug, "set-debug", "ON|OFF - enable or disable verbose logging")
X(SetUnsaved,
"set-unsaved",
"FILE UNSAVED-CONTENT-FILE - tell irony-server that "
"UNSAVED-CONTENT-FILE contains the effective content of FILE")
// sentinel value, should be the last one
X(Unknown, "<unkown>", "<unspecified>")
#undef X
|