| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.4"?> |
| <!-- |
| Copyright (c) 2019 ArSysOp and others |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Public License 2.0 which is available at |
| https://www.eclipse.org/legal/epl-2.0/. |
| |
| SPDX-License-Identifier: EPL-2.0 |
| |
| Contributors: |
| Alexander Fedorov <alexander.fedorov@arsysop.ru> - initial API and implementation |
| --> |
| <plugin> |
| <extension |
| point="org.eclipse.ui.preferencePages"> |
| <page |
| class="org.eclipse.cdt.lsp.internal.ui.preferences.CPPLanguageServerPreferencePage" |
| category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage" |
| id="org.eclipse.cdt.lsp.ui.preferencePages.languageServer" |
| name="%preferencePages.languageServer.name"> |
| </page> |
| </extension> |
| <extension |
| point="org.eclipse.ui.propertyPages"> |
| <page |
| category="org.eclipse.cdt.ui.newui.Page_head_general" |
| class="org.eclipse.cdt.lsp.internal.ui.properties.LanguageServerPropertyPage" |
| id="org.eclipse.cdt.lsp.ui.properties.ls" |
| name="%properties.ls.name"> |
| <filter |
| name="projectNature" |
| value="org.eclipse.cdt.core.cnature"> |
| </filter> |
| <enabledWhen> |
| <or> |
| <adapt |
| type="org.eclipse.core.resources.IProject"> |
| </adapt> |
| </or> |
| </enabledWhen> |
| </page> |
| </extension> |
| <extension |
| point="org.eclipse.ui.editors"> |
| <editorContentTypeBinding |
| contentTypeId="org.eclipse.cdt.lsp.core" |
| editorId="org.eclipse.ui.genericeditor.GenericEditor"> |
| </editorContentTypeBinding> |
| </extension> |
| <extension |
| point="org.eclipse.ui.genericeditor.autoEditStrategies"> |
| <autoEditStrategy |
| class="org.eclipse.cdt.lsp.internal.ui.text.AutoIndentStrategyCPP" |
| contentType="org.eclipse.cdt.lsp.core"> |
| </autoEditStrategy> |
| </extension> |
| <extension |
| point="org.eclipse.ui.genericeditor.presentationReconcilers"> |
| <presentationReconciler |
| class="org.eclipse.cdt.lsp.internal.ui.text.PresentationReconcilerCPP" |
| contentType="org.eclipse.cdt.lsp.core"> |
| </presentationReconciler> |
| </extension> |
| <extension |
| id="org.eclipse.cdt.lsp.core.CDocumentSetupParticipant" |
| name="%cDocumentSetupParticipant" |
| point="org.eclipse.core.filebuffers.documentSetup"> |
| <participant |
| class="org.eclipse.cdt.internal.ui.editor.CDocumentSetupParticipant" |
| contentTypeId="org.eclipse.cdt.lsp.core"> |
| </participant> |
| </extension> |
| <extension |
| point="org.eclipse.core.expressions.propertyTesters"> |
| <propertyTester |
| class="org.eclipse.cdt.lsp.internal.ui.expressions.DocumentsTester" |
| id="org.eclipse.cdt.lsp.workspace.documents" |
| namespace="org.eclipse.cdt.lsp.documents" |
| properties="prefer" |
| type="org.eclipse.ui.texteditor.AbstractDecoratedTextEditor"> |
| </propertyTester> |
| </extension> |
| </plugin> |