1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 10:16:03 +02:00

Bug 540978: Rename identifiers and some other places to o.e.cdt.lsp

Change-Id: I6edbbb2cf103010bbc67ea0140bfec694652a685
This commit is contained in:
Jonah Graham 2019-01-04 13:07:26 +00:00
parent 1c595b1187
commit 934fa19482
11 changed files with 26 additions and 26 deletions

View file

@ -22,7 +22,7 @@ Export-Package: org.eclipse.cdt.internal.corext;x-internal:=true,
org.eclipse.cdt.internal.ui.dialogs;x-internal:=true, org.eclipse.cdt.internal.ui.dialogs;x-internal:=true,
org.eclipse.cdt.internal.ui.dialogs.cpaths;x-internal:=true, org.eclipse.cdt.internal.ui.dialogs.cpaths;x-internal:=true,
org.eclipse.cdt.internal.ui.dnd;x-internal:=true, org.eclipse.cdt.internal.ui.dnd;x-internal:=true,
org.eclipse.cdt.internal.ui.editor;x-friends:="org.eclipse.cdt.codan.ui,org.eclipse.cdt.codan.ui.cxx,org.eclipse.cdt.dsf.ui,org.eclipse.lsp4e.cpp.language", org.eclipse.cdt.internal.ui.editor;x-friends:="org.eclipse.cdt.codan.ui,org.eclipse.cdt.codan.ui.cxx,org.eclipse.cdt.dsf.ui,org.eclipse.cdt.lsp.core",
org.eclipse.cdt.internal.ui.editor.asm;x-internal:=true, org.eclipse.cdt.internal.ui.editor.asm;x-internal:=true,
org.eclipse.cdt.internal.ui.filters;x-internal:=true, org.eclipse.cdt.internal.ui.filters;x-internal:=true,
org.eclipse.cdt.internal.ui.help;x-internal:=true, org.eclipse.cdt.internal.ui.help;x-internal:=true,
@ -50,7 +50,7 @@ Export-Package: org.eclipse.cdt.internal.corext;x-internal:=true,
org.eclipse.cdt.internal.ui.resources, org.eclipse.cdt.internal.ui.resources,
org.eclipse.cdt.internal.ui.search;x-internal:=true, org.eclipse.cdt.internal.ui.search;x-internal:=true,
org.eclipse.cdt.internal.ui.search.actions;x-internal:=true, org.eclipse.cdt.internal.ui.search.actions;x-internal:=true,
org.eclipse.cdt.internal.ui.text;x-friends:="org.eclipse.cdt.codan.ui.cxx,org.eclipse.cdt.dsf.ui,org.eclipse.lsp4e.cpp.language", org.eclipse.cdt.internal.ui.text;x-friends:="org.eclipse.cdt.codan.ui.cxx,org.eclipse.cdt.dsf.ui,org.eclipse.cdt.lsp.core",
org.eclipse.cdt.internal.ui.text.asm;x-internal:=true, org.eclipse.cdt.internal.ui.text.asm;x-internal:=true,
org.eclipse.cdt.internal.ui.text.c.hover;x-internal:=true, org.eclipse.cdt.internal.ui.text.c.hover;x-internal:=true,
org.eclipse.cdt.internal.ui.text.contentassist;x-internal:=true, org.eclipse.cdt.internal.ui.text.contentassist;x-internal:=true,

View file

@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: "Tests for LSP4E C/C++ Support" Bundle-Name: "Tests for LSP4E C/C++ Support"
Bundle-SymbolicName: org.eclipse.cdt.lsp.core.tests Bundle-SymbolicName: org.eclipse.cdt.lsp.core.tests
Bundle-Version: 1.0.0.qualifier Bundle-Version: 1.0.0.qualifier
Automatic-Module-Name: org.eclipse.lsp4e.cpp.language.tests Automatic-Module-Name: org.eclipse.cdt.lsp.core.tests
Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: org.eclipse.lsp4e, Require-Bundle: org.eclipse.lsp4e,
org.eclipse.lsp4j, org.eclipse.lsp4j,

View file

@ -26,4 +26,4 @@ Bundle-Activator: org.eclipse.cdt.lsp.core.Activator
Bundle-ActivationPolicy: lazy Bundle-ActivationPolicy: lazy
Import-Package: org.eclipse.ui.editors.text, Import-Package: org.eclipse.ui.editors.text,
org.eclipse.ui.texteditor org.eclipse.ui.texteditor
Automatic-Module-Name: org.eclipse.lsp4e.cpp.language Automatic-Module-Name: org.eclipse.cdt.lsp.core

View file

@ -1,4 +1,4 @@
#Properties file for org.eclipse.lsp4e.cpp.language #Properties file for org.eclipse.cdt.lsp.core
Bundle-Vendor = Eclipse CDT Bundle-Vendor = Eclipse CDT
Bundle-Name = LSP4E C/C++ Support Plug-in Bundle-Name = LSP4E C/C++ Support Plug-in
content-type.name = C/C++ content-type.name = C/C++

View file

@ -6,7 +6,7 @@
<content-type <content-type
base-type="org.eclipse.core.runtime.text" base-type="org.eclipse.core.runtime.text"
file-extensions="cpp,c,h,cxx,cc,hxx,hpp" file-extensions="cpp,c,h,cxx,cc,hxx,hpp"
id="org.eclipse.lsp4e.languages.cpp" id="org.eclipse.cdt.lsp.core"
name="%content-type.name" name="%content-type.name"
priority="normal"> priority="normal">
</content-type> </content-type>
@ -15,28 +15,28 @@
point="org.eclipse.lsp4e.languageServer"> point="org.eclipse.lsp4e.languageServer">
<server <server
class="org.eclipse.cdt.lsp.core.CPPStreamConnectionProvider" class="org.eclipse.cdt.lsp.core.CPPStreamConnectionProvider"
id="org.eclipse.lsp4e.languages.cpp" id="org.eclipse.cdt.lsp.core"
label="%server.label" label="%server.label"
clientImpl="org.eclipse.cdt.lsp.core.Server2ClientProtocolExtension" > clientImpl="org.eclipse.cdt.lsp.core.Server2ClientProtocolExtension" >
</server> </server>
<contentTypeMapping <contentTypeMapping
contentType="org.eclipse.lsp4e.languages.cpp" contentType="org.eclipse.cdt.lsp.core"
id="org.eclipse.lsp4e.languages.cpp"> id="org.eclipse.cdt.lsp.core">
</contentTypeMapping> </contentTypeMapping>
</extension> </extension>
<extension <extension
id="org.eclipse.lsp4e.cpp.language.CDocumentSetupParticipant" id="org.eclipse.cdt.lsp.core.CDocumentSetupParticipant"
name="%cDocumentSetupParticipant" name="%cDocumentSetupParticipant"
point="org.eclipse.core.filebuffers.documentSetup"> point="org.eclipse.core.filebuffers.documentSetup">
<participant <participant
class="org.eclipse.cdt.internal.ui.editor.CDocumentSetupParticipant" class="org.eclipse.cdt.internal.ui.editor.CDocumentSetupParticipant"
contentTypeId="org.eclipse.lsp4e.languages.cpp"> contentTypeId="org.eclipse.cdt.lsp.core">
</participant> </participant>
</extension> </extension>
<extension <extension
point="org.eclipse.ui.editors"> point="org.eclipse.ui.editors">
<editorContentTypeBinding <editorContentTypeBinding
contentTypeId="org.eclipse.lsp4e.languages.cpp" contentTypeId="org.eclipse.cdt.lsp.core"
editorId="org.eclipse.ui.genericeditor.GenericEditor"> editorId="org.eclipse.ui.genericeditor.GenericEditor">
</editorContentTypeBinding> </editorContentTypeBinding>
</extension> </extension>
@ -44,7 +44,7 @@
point="org.eclipse.ui.genericeditor.presentationReconcilers"> point="org.eclipse.ui.genericeditor.presentationReconcilers">
<presentationReconciler <presentationReconciler
class="org.eclipse.cdt.lsp.core.PresentationReconcilerCPP" class="org.eclipse.cdt.lsp.core.PresentationReconcilerCPP"
contentType="org.eclipse.lsp4e.languages.cpp"> contentType="org.eclipse.cdt.lsp.core">
</presentationReconciler> </presentationReconciler>
</extension> </extension>
<extension <extension
@ -52,7 +52,7 @@
<page <page
class="org.eclipse.cdt.lsp.core.CPPLanguageServerPreferencePage" class="org.eclipse.cdt.lsp.core.CPPLanguageServerPreferencePage"
category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage" category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
id="org.eclipse.lsp4e.cpp.language.CPPLanguageServerPreferencePage" id="org.eclipse.cdt.lsp.core.CPPLanguageServerPreferencePage"
name="%PreferencePageTitle"> name="%PreferencePageTitle">
</page> </page>
</extension> </extension>
@ -66,7 +66,7 @@
point="org.eclipse.ui.genericeditor.autoEditStrategies"> point="org.eclipse.ui.genericeditor.autoEditStrategies">
<autoEditStrategy <autoEditStrategy
class="org.eclipse.cdt.lsp.core.AutoIndentStrategyCPP" class="org.eclipse.cdt.lsp.core.AutoIndentStrategyCPP"
contentType="org.eclipse.lsp4e.languages.cpp"> contentType="org.eclipse.cdt.lsp.core">
</autoEditStrategy> </autoEditStrategy>
</extension> </extension>
</plugin> </plugin>

View file

@ -21,7 +21,7 @@ public class Activator extends AbstractUIPlugin {
public Activator() { public Activator() {
} }
public static final String PLUGIN_ID = "org.eclipse.lsp4e.cpp.language"; //$NON-NLS-1$ public static final String PLUGIN_ID = "org.eclipse.cdt.lsp.core"; //$NON-NLS-1$
private static Activator plugin; private static Activator plugin;

View file

@ -30,7 +30,7 @@ import org.eclipse.lsp4e.server.ProcessStreamConnectionProvider;
public class CPPStreamConnectionProvider extends ProcessStreamConnectionProvider { public class CPPStreamConnectionProvider extends ProcessStreamConnectionProvider {
public static final String ID = "org.eclipse.lsp4e.languages.cpp"; //$NON-NLS-1$ public static final String ID = "org.eclipse.cdt.lsp.core"; //$NON-NLS-1$
private IResourceChangeListener fResourceListener; private IResourceChangeListener fResourceListener;

View file

@ -27,7 +27,7 @@ public class CqueryLanguageServer implements ICPPLanguageServer {
// TODO: Allow user to specify cache directory path // TODO: Allow user to specify cache directory path
IPath cacheDirectory = Path.fromOSString(rootPath.getPath()).append(".lsp4e-cpp/cquery_index"); //$NON-NLS-1$ IPath cacheDirectory = Path.fromOSString(rootPath.getPath()).append(".cdt-lsp/cquery_index"); //$NON-NLS-1$
JsonObject result = (defaultInitOptions instanceof JsonObject) ? (JsonObject) defaultInitOptions JsonObject result = (defaultInitOptions instanceof JsonObject) ? (JsonObject) defaultInitOptions
: new JsonObject(); : new JsonObject();
result.addProperty("cacheDirectory", cacheDirectory.toString()); //$NON-NLS-1$ result.addProperty("cacheDirectory", cacheDirectory.toString()); //$NON-NLS-1$

View file

@ -83,8 +83,8 @@ public class PresentationReconcilerCPP extends CPresentationReconciler {
private BracketInserter fBracketInserter; private BracketInserter fBracketInserter;
private DefaultPositionUpdater semanticHighlightingPositionUpdater; private DefaultPositionUpdater semanticHighlightingPositionUpdater;
public static final String SEMANTIC_HIGHLIGHTING_POSITION_CATEGORY = "org.eclipse.lsp4e.cpp.semanticHighlight"; //$NON-NLS-1$ public static final String SEMANTIC_HIGHLIGHTING_POSITION_CATEGORY = "org.eclipse.cdt.lsp.core.semanticHighlight"; //$NON-NLS-1$
public static final String INACTIVE_CODE_HIGHLIGHTING_POSITION_CATEGORY = "org.eclipse.lsp4e.cpp.inactiveCodeHighlight"; //$NON-NLS-1$ public static final String INACTIVE_CODE_HIGHLIGHTING_POSITION_CATEGORY = "org.eclipse.cdt.lsp.core.inactiveCodeHighlight"; //$NON-NLS-1$
// A set containing all active objects of PresentationReconcilerCPP. // A set containing all active objects of PresentationReconcilerCPP.
public static Set<PresentationReconcilerCPP> presentationReconcilers = ConcurrentHashMap.newKeySet(); public static Set<PresentationReconcilerCPP> presentationReconcilers = ConcurrentHashMap.newKeySet();

View file

@ -56,7 +56,7 @@ public class Server2ClientProtocolExtension extends LanguageClientImpl {
Display.getDefault().asyncExec(new Runnable() { Display.getDefault().asyncExec(new Runnable() {
@Override @Override
public void run() { public void run() {
final String cqueryStatusFieldId = "org.eclipse.lsp4e.cpp.status"; //$NON-NLS-1$ final String cqueryStatusFieldId = "org.eclipse.cdt.lsp.core.status"; //$NON-NLS-1$
final int width = 28; final int width = 28;
IWorkbenchWindow[] workbenchWindows = PlatformUI.getWorkbench().getWorkbenchWindows(); IWorkbenchWindow[] workbenchWindows = PlatformUI.getWorkbench().getWorkbenchWindows();
for (IWorkbenchWindow window : workbenchWindows) { for (IWorkbenchWindow window : workbenchWindows) {

10
pom.xml
View file

@ -399,7 +399,7 @@
<cdt-ui.skip.tests>true</cdt-ui.skip.tests> <cdt-ui.skip.tests>true</cdt-ui.skip.tests>
<dsf-gdb.skip.tests>true</dsf-gdb.skip.tests> <dsf-gdb.skip.tests>true</dsf-gdb.skip.tests>
<cdt-other.skip.tests>true</cdt-other.skip.tests> <cdt-other.skip.tests>true</cdt-other.skip.tests>
<lsp4e-cpp.skip.tests>true</lsp4e-cpp.skip.tests> <lsp.skip.tests>true</lsp.skip.tests>
</properties> </properties>
</profile> </profile>
<profile> <profile>
@ -407,7 +407,7 @@
<properties> <properties>
<dsf-gdb.skip.tests>true</dsf-gdb.skip.tests> <dsf-gdb.skip.tests>true</dsf-gdb.skip.tests>
<cdt-other.skip.tests>true</cdt-other.skip.tests> <cdt-other.skip.tests>true</cdt-other.skip.tests>
<lsp4e-cpp.skip.tests>true</lsp4e-cpp.skip.tests> <lsp.skip.tests>true</lsp.skip.tests>
</properties> </properties>
</profile> </profile>
<profile> <profile>
@ -415,11 +415,11 @@
<properties> <properties>
<cdt-ui.skip.tests>true</cdt-ui.skip.tests> <cdt-ui.skip.tests>true</cdt-ui.skip.tests>
<cdt-other.skip.tests>true</cdt-other.skip.tests> <cdt-other.skip.tests>true</cdt-other.skip.tests>
<lsp4e-cpp.skip.tests>true</lsp4e-cpp.skip.tests> <lsp.skip.tests>true</lsp.skip.tests>
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>skip-tests-except-lsp4e-cpp</id> <id>skip-tests-except-lsp</id>
<properties> <properties>
<cdt-ui.skip.tests>true</cdt-ui.skip.tests> <cdt-ui.skip.tests>true</cdt-ui.skip.tests>
<cdt-other.skip.tests>true</cdt-other.skip.tests> <cdt-other.skip.tests>true</cdt-other.skip.tests>
@ -431,7 +431,7 @@
<properties> <properties>
<cdt-ui.skip.tests>true</cdt-ui.skip.tests> <cdt-ui.skip.tests>true</cdt-ui.skip.tests>
<dsf-gdb.skip.tests>true</dsf-gdb.skip.tests> <dsf-gdb.skip.tests>true</dsf-gdb.skip.tests>
<lsp4e-cpp.skip.tests>true</lsp4e-cpp.skip.tests> <lsp.skip.tests>true</lsp.skip.tests>
</properties> </properties>
</profile> </profile>
<profile> <profile>