-->
<?xml-stylesheettype="text/xml"href="../../nbbuild/javadoctools/apichanges.xsl"?>
<!DOCTYPE apichanges PUBLIC "-//NetBeans//DTD API changes list 1.0//EN" "../../nbbuild/javadoctools/apichanges.dtd"
>
<!-- First, a list of API names you may use: -->
<apidefs> <!-- org.netbeans.modules.parsing.api -->
<apidef name="IndexingAPI">Indexing API</apidef>
</apidefs>
<!-- ACTUAL CHANGES BEGIN HERE: -->
<changes>
<change id="ErrorsCache.getErrors">
<api name="IndexingAPI"/>
<summary>Added method to ErrorsCache to return all errors or warnings for the given file</summary>
<version major="9" minor="40"/>
<date day="6" month="9" year="2024"/>
<author login="dbalek"/>
<compatibility source="compatible" binary="compatible" semantic="compatible" addition="yes"/>
<description>
<p>
Added the <a href="@TOP@/org/netbeans/modules/parsing/spi/indexing/ErrorsCache.html#getErrors(org.openide.filesystems.FileObject,org.netbeans.modules.parsing.spi.indexing.ErrorsCache.ReverseConvertor)">getErrors()</a> method to return errors or warnings for the given file.
</p>
</description>
<class package="org.netbeans.modules.parsing.spi.indexing" name="ErrorsCache"/>
</change>
<change id="ErrorsCache.getAllFilesWithRecord">
<api name="IndexingAPI"/>
<summary>Added method to ErrorsCache to return all files with error or warning</summary>
<version major="9" minor="36"/>
<date day="3" month="9" year="2024"/>
<author login="dbalek"/>
<compatibility source="compatible" binary="compatible" semantic="compatible" addition="yes"/>
<description>
<p>
Added the <a href="@TOP@/org/netbeans/modules/parsing/spi/indexing/ErrorsCache.html#getAllFilesWithRecord(java.net.URL)">getAllFilesWithRecord()</a> method to return all files with error or warning.
</p>
</description>
<class package="org.netbeans.modules.parsing.spi.indexing" name="ErrorsCache"/>
</change>
<change id="IndexabilityQuery">
<api name="IndexingAPI"/>
<summary>Allow plugins to exclude files from being indexed.</summary>
<version major="9" minor="24"/>
<date day="14" month="9" year="2021"/>
<author login="matthiasblaesing"/>
<compatibility source="compatible" binary="compatible" semantic="compatible" addition="yes"/>
<description>
<p>
There are situations where it is desireable to exclude files from the NetBeans indexing infrastructure. Implementors of
<a href="@TOP@/org/netbeans/modules/parsing/spi/indexing/IndexabilityQueryImplementation.html">IndexabilityQueryImplementation</a>
are queried whether an indexer should be invoked for a given file.
</p>
<p>
Indexing for a file can be rejected verbatim (<code>boolean preventIndexing(FileObject fo)</code>) or more specific by
indexer name, URL to the file to be indexed and the UTL of the indexing root.
<code>boolean preventIndexing(String indexerName, URL indexable, URL rootUrl)</code>.
</p>
<p>
One such example are Angular projects, where code assistence is provided by the typescript integration by the language server. In these cases the <code>node_modules</code> folder often contains huge amounts of javascript
code, that the IDE user does not need to be indexed, but which take a lot of time to parse. A hypothetical
plugin could check if an <code>angular.json</code> file is present and then prevent the <code>js</code> indexer
from indexing files in the <code>node_modules</code> directory.
</p>
</description>
<class package="org.netbeans.modules.parsing.spi.indexing" name="IndexabilityQueryImplementation"/>
</change>
<change id="IndexingTask">
<api name="IndexingAPI"/>
<summary>Allow Parsers to adjust results for indexing</summary>
<version major="9" minor="22"/>
<date day="28" month="7" year="2021"/>
<author login="sdedic"/>
<compatibility source="compatible" binary="compatible" semantic="compatible" addition="yes"/>
<description>
<p>
<a href="@org-netbeans-modules-parsing-api@/org/netbeans/modules/parsing/spi/Parser.html">Parsers</a> may need to provide reduced data for indexing, or enriched data for source parsing. The
added <a href="@TOP@/org/netbeans/modules/parsing/spi/indexing/support/IndexingSupport.html#isIndexingTask(org.netbeans.modules.parsing.api.Task)">isIndexingTask()</a> method identifies tasks applied by indexing infrastructure.
</p>
</description>
<class package="org.netbeans.modules.parsing.spi.indexing.support" name="IndexingSupport"/>
</change>
<change id="CustomCamelCase">
<api name="IndexingAPI"/>
<summary>Added custom camel case support into <code>QuerySupport</code></summary>
<version major="9" minor="5"/>
<date day="14" month="4" year="2015"/>
<author login="tzezula"/>
<compatibility source="compatible" binary="compatible" semantic="compatible" modification="yes"/>
<description>
<p>
Added a support for custom camel case separators and custom camel case parts into <code>QuerySupport</code>
</p>
</description>
<class package="org.netbeans.modules.parsing.spi.indexing.support" name="QuerySupport"/>
</change>
<change id="Separate.Parsing.Indexing">
<api name="IndexingAPI"/>
<summary>Indexing API separated to its own module</summary>
<version major="9" minor="0"/>
<date day="20" month="4" year="2014"/>
<author login="sdedic"/>
<compatibility source="incompatible" binary="compatible" semantic="compatible" modification="yes"/>
<description>
<p>
Historically the module offered both APIs for Parsing (invoking parser, implementing parser) and
Indexing (refresh index, index SPIs). Those APIs are typically used by unrelated pieces of code,
possibly with the exception of "refresh" actions.
</p>
<p>
The indexing now resides separately in its <code>parsing.indexing</code> module. Binary compatibility
is kept by using module-auto-deps.xml.
</p>
<p>
Please also refer to the <a href="@org-netbeans-modules-parsing-api@/apichanges.html">API Changes document</a> of the parental module.
</p>
</description>
</change>
</changes>
-->
<head>
<title>Change History for the Indexing API</title>
<link rel="stylesheet"href="prose.css"type="text/css"/>
<meta name="CATEGORY" content="OtherDevelopmentDoc"/>
<meta name="DESCRIPTION" content="A cross-indexed list of all changes made to the Parsing & Indexing API."/>
</head>
<body>
<p class="overviewlink">
<a href="overview-summary.html">Overview</a>
</p>
<h1>Introduction</h1>
<h2>What do the Dates Mean?</h2>
<p>
The supplied dates indicate when the API change was made, on the CVS
trunk. From this you can generally tell whether the change should be
present in a given build or not; for trunk builds, simply whether it
was made before or after the change; for builds on a stabilization
branch, whether the branch was made before or after the given date. In
some cases corresponding API changes have been made both in the trunk
and in an in-progress stabilization branch, if they were needed for a
bug fix; this ought to be marked in this list.
</p>
<hr/>
<standard-changelists module-code-name="$codebase"/>
<hr/>
<p>@FOOTER@</p>
</body>
</htmlcontents>
</apichanges>
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-09-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.