This extension point is used to contribute folding reconcilers for controlling the folding on a file with a given content type. a fully qualified identifier of the target extension point an optional identifier of the extension instance an optional name of the extension instance The fully qualified class name implementing the interface <code>org.eclipse.jface.text.reconciler.IReconciler</code> To manipulate folding, the implementation reconciler needs to use ProjectionAnnotation and viewer.getProjectionModel(). You can find a sample in org.eclipse.ui.internal.genericeditor.folding.DefaultFoldingReconciler. The target content-type for this extension. Content-types are defined as extension to the org.eclipse.core.contenttype.contentTypes extension point. A core Expression that controls the enabled of the given folding reconciler. The viewer, editor, and editor input are registered in the evaluation context as variable: * <with variable="viewer"/> : use it if your expression requires the viewer. * <with variable="editor"/> : use it if your expression requires the editor. * <with variable="editorInput"/> : use it if your expression requires the editor input. 1.1 Below is an example of how to use the Folding Reconciler extension point: <pre> <extension point="org.eclipse.ui.genericeditor.foldingReconcilers"> <foldingReconciler class="org.eclipse.ui.genericeditor.examples.TargetDefinitionFoldingReconciler" contentType="org.eclipse.pde.targetFile"> <enabledWhen> <with variable="editor"> <test property="org.eclipse.ui.genericeditor.examples.TargetDefinitionPropertyTester"> </test> </with> </enabledWhen> </foldingReconciler> </extension> </pre> Copyright (c) 2017 Red Hat Inc. and others This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at <a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/ SPDX-License-Identifier: EPL-2.0