<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="gedit-plugins-code-assistance" xml:lang="de">
  <info>
    <link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/>  
    <revision version="3.4" date="2011-01-28" status="draft"/>

    <credit type="author">
      <name>Jim Campbell</name>
      <email>jwcampbell@gmail.com</email>
    </credit>

    <desc>Echtzeit-Fehlerhervorhebung für unterstützte Sprachen</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Jan Arne Petersen</mal:name>
      <mal:email>jap@gnome.org</mal:email>
      <mal:years>2007</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Mario Blättermann</mal:name>
      <mal:email>mario.blaettermann@gmail.com</mal:email>
      <mal:years>2008-2012</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Christian Kirbach</mal:name>
      <mal:email>Christian.Kirbach@googlemail.com</mal:email>
      <mal:years>2011</mal:years>
    </mal:credit>
  </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>Edit</gui><gui>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>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>Natürlich ist das nicht wirklich narrensicher. In zukünftigen Versionen wird es möglich sein, für dieses Plugin die Compiler-Flags manuell anzugeben.</p>
  </section>
  
</page>
