mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Bug 558591 - Move editor-related contribution to the UI part of CDT LSP
Move all editor contributions Move AutoIndentStrategyCPP Let's switch friends of org.eclipse.cdt.ui later Change-Id: Idf9e1f0d0646917a4ead62a8e930b1268a8ce292 Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
This commit is contained in:
parent
448829fb59
commit
f0f962d54d
6 changed files with 36 additions and 33 deletions
|
@ -21,5 +21,3 @@ server.label = C/C++ Language Server
|
|||
|
||||
reindex.command.name = Reindex
|
||||
reindex.command.label = Reindex
|
||||
|
||||
cDocumentSetupParticipant =C Document Setup Participant
|
||||
|
|
|
@ -37,40 +37,10 @@
|
|||
id="org.eclipse.cdt.lsp.core">
|
||||
</contentTypeMapping>
|
||||
</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.ui.editors">
|
||||
<editorContentTypeBinding
|
||||
contentTypeId="org.eclipse.cdt.lsp.core"
|
||||
editorId="org.eclipse.ui.genericeditor.GenericEditor">
|
||||
</editorContentTypeBinding>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.genericeditor.presentationReconcilers">
|
||||
<presentationReconciler
|
||||
class="org.eclipse.cdt.lsp.core.PresentationReconcilerCPP"
|
||||
contentType="org.eclipse.cdt.lsp.core">
|
||||
</presentationReconciler>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.core.runtime.preferences">
|
||||
<initializer
|
||||
class="org.eclipse.cdt.lsp.core.PreferenceInitializer">
|
||||
</initializer>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.genericeditor.autoEditStrategies">
|
||||
<autoEditStrategy
|
||||
class="org.eclipse.cdt.lsp.core.AutoIndentStrategyCPP"
|
||||
contentType="org.eclipse.cdt.lsp.core">
|
||||
</autoEditStrategy>
|
||||
</extension>
|
||||
</plugin>
|
||||
|
|
|
@ -8,8 +8,11 @@ Bundle-Vendor: %Bundle-Vendor
|
|||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
||||
Require-Bundle: org.eclipse.osgi;bundle-version="[3.15.0,4.0.0)",
|
||||
org.eclipse.equinox.preferences;bundle-version="[3.7.0,4.0.0)",
|
||||
org.eclipse.jface.text;bundle-version="3.16.0",
|
||||
org.eclipse.ui;bundle-version="[3.115.0,4.0.0)",
|
||||
org.eclipse.lsp4e;bundle-version="0.13.1",
|
||||
org.eclipse.cdt.core;bundle-version="6.10.0",
|
||||
org.eclipse.cdt.ui;bundle-version="6.6.0",
|
||||
org.eclipse.cdt.lsp.core;bundle-version="[1.1.0,2.0.0)"
|
||||
Export-Package: org.eclipse.cdt.lsp.internal.ui;x-internal:=true,
|
||||
org.eclipse.cdt.lsp.internal.ui.preferences;x-internal:=true
|
||||
|
|
|
@ -16,3 +16,5 @@ Bundle-Name = CDT LSP UI
|
|||
Bundle-Vendor = Eclipse CDT
|
||||
|
||||
preferencePages.languageServer.name=C/C++ Language Server
|
||||
|
||||
cDocumentSetupParticipant =C Document Setup Participant
|
||||
|
|
|
@ -22,4 +22,34 @@
|
|||
name="%preferencePages.languageServer.name">
|
||||
</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.core.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>
|
||||
</plugin>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.lsp.core;
|
||||
package org.eclipse.cdt.lsp.internal.ui.text;
|
||||
|
||||
import org.eclipse.cdt.internal.ui.text.CAutoIndentStrategy;
|
||||
import org.eclipse.cdt.ui.CUIPlugin;
|
Loading…
Add table
Reference in a new issue