.\" Man page generated from reStructuredText. . .TH IRONY-SERVER 1 "2017-10-01" "1.2.0" "" .SH NAME irony-server \- The back-end server for Emacs irony-mode . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp irony\-server [\fIoptions\fP] [\fIcommand\fP] [<\fIargs\fP>] .SH DESCRIPTION .sp \fBirony\-server\fP provides the libclang interface to irony\-mode. It uses a simple protocol based on S\-expression. This server is written in C++ and requires the following packages to be installed on your system: CMake >= 2.8.3, and libclang. .SH OPTIONS .INDENT 0.0 .TP .B \-v\fP,\fB \-\-version Show version and exit. .TP .B \-h\fP,\fB \-\-help Show more detailed command help. .TP .B \-i\fP,\fB \-\-interactive Run an interactive command loop. It accepts only the \fBCommands\fP listed below. This is primarily a machine interface that the user interacts with via irony.el. .TP .B \-d\fP,\fB \-\-debug Write debug info to log file. .TP .BI \-\-log\-file \ PATH Write logs to path instead of standard error. .UNINDENT .SH COMMANDS .sp \fBcandidates\fP PREFIX STYLE .INDENT 0.0 .INDENT 3.5 Print completion candidates (require previous complete). STYLE is "exact", "case\-insensitive" or "smart\-case". .UNINDENT .UNINDENT .sp \fBcomplete\fP FILE LINE COL [\-\- [COMPILE_OPTIONS...]] .INDENT 0.0 .INDENT 3.5 Perform code completion at a given location. .UNINDENT .UNINDENT .sp \fBcompletion\-diagnostics\fP .INDENT 0.0 .INDENT 3.5 Print the diagnostics generated during complete. .UNINDENT .UNINDENT .sp \fBdiagnostics\fP .INDENT 0.0 .INDENT 3.5 Print the diagnostics of the last parse. .UNINDENT .UNINDENT .sp \fBexit\fP .INDENT 0.0 .INDENT 3.5 Exit interactive mode, print nothing. .UNINDENT .UNINDENT .sp \fBget\-compile\-options\fP BUILD_DIR FILE .INDENT 0.0 .INDENT 3.5 Get compile options for FILE from JSON database in PROJECT_ROOT. .UNINDENT .UNINDENT .sp \fBget\-type\fP LINE COL .INDENT 0.0 .INDENT 3.5 Get type of symbol at a given location. .UNINDENT .UNINDENT .sp \fBhelp\fP .INDENT 0.0 .INDENT 3.5 Show this message. .UNINDENT .UNINDENT .sp \fBparse\fP FILE [\-\- [COMPILE_OPTIONS...]] .INDENT 0.0 .INDENT 3.5 Parse the given file. .UNINDENT .UNINDENT .sp \fBreset\-unsaved\fP FILE .INDENT 0.0 .INDENT 3.5 Reset FILE, its content is up to date. .UNINDENT .UNINDENT .sp \fBset\-debug\fP [on|off] .INDENT 0.0 .INDENT 3.5 Enable or disable verbose logging. .UNINDENT .UNINDENT .sp \fBset\-unsaved\fP FILE UNSAVED\-CONTENT\-FILE .INDENT 0.0 .INDENT 3.5 Tell irony\-server that UNSAVED\-CONTENT\-FILE contains the effective content of FILE. .UNINDENT .UNINDENT .SH AUTHOR Nicholas D Steeves .\" Generated by docutils manpage writer. .