Commit 601f0e60 authored by Burkhard Lück's avatar Burkhard Lück

add sects for documentswitcher + lumen plugins

parent 860ee080
......@@ -49,7 +49,8 @@ The available application plugins are:
<para>CTags - Look up definitions/declarations with CTags</para>
<para>Document switcher - Quick document switching with <keycombo action="simul">&Alt;&Tab;</keycombo> behavior</para>
<para><link linkend="kate-application-plugin-documentswitcher">Document switcher</link> -
Quick document switching with <keycombo action="simul">&Alt;&Tab;</keycombo> behavior</para>
<para><link linkend="kate-application-plugin-fsbrowser">File system browser</link> -
......@@ -68,7 +69,8 @@ simple &gdb; frontend</para>
<para>Lumen - Lumen is a Autocompletion Plugin for D, using the DCD autocompletion server</para>
<para><link linkend="kate-application-plugin-lumen">Lumen</link> - Lumen
is a Autocompletion Plugin for D, using the DCD autocompletion server</para>
<para>Open Header - Opens the corresponding .h/[.cpp|.c] file</para>
......@@ -312,8 +314,48 @@
Menu CTags with 5 items
<!--FIXME Document switcher
Menu View -->
<sect1 id="kate-application-plugin-documentswitcher">
<title>Document Switcher Plugin</title>
<sect2 id="documentswitcher-menu">
<title>Menu Structure</title>
<varlistentry id="view-documentswitcher">
<keycombo action="simul">&Ctrl;&Tab;</keycombo>
<guisubmenu>Last Used Views</guisubmenu>
<para><action>Opens</action> a list with the last viewed documents:</para>
<screenshot id="screenshot-documentswitcher">
<screeninfo>Last viewed documents</screeninfo>
<imageobject><imagedata fileref="documentswitcher.png" format="PNG"/></imageobject>
<para>Keep the shortcut <keycombo action="simul">&Ctrl;&Tab;</keycombo> pressed and
can use the <keysym>Up</keysym>, <keysym>Down</keysym>, <keycap>Home</keycap> or
<keycap>End</keycap> keys to navigate in the list. Pressing a char key consecutively
will cycle through all items with the first matching in the list.
If you release the shortcut keys the view will switch to the selected document in the list.
<sect1 id="kate-application-plugin-fsbrowser">
......@@ -480,14 +522,9 @@ list, and order them using the arrow buttons at the side of the list.</para>
<!--FIXME Documents
configuring docbook sect config-dialog-documents
menu View 3 items filetree_prev_document filetree_next_document filetree_show_active_document
<sect1 id="kate-application-plugin-documents">
<title>The Documents List</title>
<sect2 id="documents-intro">
......@@ -969,9 +1006,70 @@ writing much of this section.</para>
<!--FIXME Lumen
<sect1 id="kate-application-plugin-lumen">
<!-- -->
<title>Lumen Plugin</title>
<para>Lumen is a plugin providing code-completion for the <ulink url="">
D programming language</ulink>. It is just a connection between the editor and the D Completion
Daemon (a server providing all the information) called DCD. The plugin currently supports
all major features of the completion server: feeding the server with import files,
displaying documentation and several types of completion:
<screenshot id="screenshot-lumen-import">
<imageobject><imagedata fileref="lumen-import.png" format="PNG"/></imageobject>
<para>Basic Completion:</para>
<screenshot id="screenshot-lumen-completition">
<screeninfo>Basic Completion</screeninfo>
<imageobject><imagedata fileref="lumen-completition.png" format="PNG"/></imageobject>
<para>Completion (overloaded Function):</para>
<screenshot id="screenshot-lumen-completitionoverload">
<screeninfo>Completion (overloaded Function)</screeninfo>
<imageobject><imagedata fileref="lumen-completition-overload.png" format="PNG"/></imageobject>
<screenshot id="screenshot-lumen-calltips">
<imageobject><imagedata fileref="lumen-calltips.png" format="PNG"/></imageobject>
<para>To make Lumen work you have to install DCD, using the information provided by
the <ulink url="">D community</ulink>.
<para>After installing DCD edit <filename>~/.config/dcd/dcd.conf</filename> (create if it does not exist already)
and add a path to your D include/import files &eg; <filename class="directory">/usr/include/dlang/dmd</filename>
or <filename class="directory">/usr/include/d</filename>.
<para>Furthermore Lumen will try to read a <filename>.lumenconfig</filename> in every parent folder
of the currently opened D source file and add every line in this file as include path to the
DCD server. Add all dependencies of your current project to this file.
<para>Now start the completion server with <command>dcd-server</command>, enable the Lumen
plugin in your settings and you will have code completion for the D programming
language in &kate;
<!--FIXME Open header
menu File Open header-->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment