/usr/share/help/C/gedit/code-assistance.page is in gedit-plugins 3.18.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <page xmlns="http://projectmallard.org/1.0/"
xmlns:its="http://www.w3.org/2005/11/its"
type="topic" style="task"
id="plugin-code-assistance">
<info>
<link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/>
<revision version="3.4" date="2013-02-24" status="review"/>
<credit type="author">
<name>Jim Campbell</name>
<email its:translate="no">jwcampbell@gmail.com</email>
</credit>
<desc>Real-time error highlighting for supported languages.</desc>
</info>
<title>Code Assistance</title>
<!-- NOTE: This is draft documentation. It is not yet ready for translation.
Thank you! -->
<p>The <app>gedit-code-assistance</app> plugin provides real-time error
highlighting for C, C++ and Objective-C. To enable this plugin, select
<guiseq><gui style="menu">gedit</gui><gui style="menuitem">Preferences</gui>
<gui>Plugins</gui><gui>Code Assistance</gui></guiseq>.</p>
<!--
<section id="code-assistance-features">
<title>Code assistance features</title>
<list>
<item><p>Feature #1</p></item>
<item><p>Feature #2</p></item>
<item><p>Feature #3</p></item>
<item><p>Feature #4</p></item>
</list>
</section>
-->
<section id="how-gedit-code-assistance-works">
<title>How the code assistance plugin works</title>
<p>The plugin currently relies on information in the makefile to deduce the
Clang error-highlighting rules. It examines the
<code its:translate="no">make</code> rules and determines which targets
depend on the the file that is being parsed. The plugin then extracts the
compiler flags by simulating an execution of those targets.</p>
<p>This is not completely fool proof, of course. In the future, the plugin
will allow you to manually specify the compile flags.</p>
</section>
</page>
|