mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Bug 558664 - cquery and clangd: registered each LS from its own bundle
Part 10: Move clangd code to org.eclipse.cdt.lsp.clangd bundle. Change-Id: Ib2938ea34a4996a535658decc61a725f4626c649 Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
This commit is contained in:
parent
1fb6efa9c3
commit
b8427cb54a
8 changed files with 20 additions and 9 deletions
|
@ -20,6 +20,11 @@
|
|||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.pde.ds.core.builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.pde.PluginNature</nature>
|
||||
|
|
|
@ -6,3 +6,8 @@ Bundle-Version: 0.1.0.qualifier
|
|||
Bundle-Name: %Bundle-Name
|
||||
Bundle-Vendor: %Bundle-Vendor
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
||||
Service-Component: OSGI-INF/org.eclipse.cdt.lsp.internal.clangd.ClangdLanguageServer.xml
|
||||
Bundle-ActivationPolicy: lazy
|
||||
Require-Bundle: org.eclipse.cdt.lsp.core;bundle-version="1.1.100",
|
||||
org.eclipse.osgi.services;bundle-version="3.9.0";resolution:=optional,
|
||||
org.eclipse.osgi;bundle-version="3.16.0"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="org.eclipse.cdt.internal.clangd.ClangdLanguageServer">
|
||||
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="org.eclipse.cdt.lsp.internal.clangd.ClangdLanguageServer">
|
||||
<service>
|
||||
<provide interface="org.eclipse.cdt.lsp.LanguageServerConfiguration"/>
|
||||
</service>
|
||||
<implementation class="org.eclipse.cdt.internal.clangd.ClangdLanguageServer"/>
|
||||
<implementation class="org.eclipse.cdt.lsp.internal.clangd.ClangdLanguageServer"/>
|
||||
</scr:component>
|
|
@ -9,7 +9,7 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.internal.clangd;
|
||||
package org.eclipse.cdt.lsp.internal.clangd;
|
||||
|
||||
import java.net.URI;
|
||||
|
|
@ -11,18 +11,21 @@
|
|||
* Contributors:
|
||||
* Alexander Fedorov (ArSysOp) - initial API and implementation
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.internal.clangd;
|
||||
package org.eclipse.cdt.lsp.internal.clangd;
|
||||
|
||||
import org.eclipse.osgi.util.NLS;
|
||||
|
||||
public class ClangdMessages extends NLS {
|
||||
private static final String BUNDLE_NAME = "org.eclipse.cdt.internal.clangd.ClangdMessages"; //$NON-NLS-1$
|
||||
public static String ClangdLanguageServer_label;
|
||||
|
||||
private static final String BUNDLE_NAME = "org.eclipse.cdt.lsp.internal.clangd.ClangdMessages"; //$NON-NLS-1$
|
||||
|
||||
static {
|
||||
// initialize resource bundle
|
||||
NLS.initializeMessages(BUNDLE_NAME, ClangdMessages.class);
|
||||
}
|
||||
|
||||
public static String ClangdLanguageServer_label;
|
||||
|
||||
private ClangdMessages() {
|
||||
}
|
||||
}
|
|
@ -24,17 +24,15 @@ Require-Bundle: com.google.gson;bundle-version="2.8.2",
|
|||
Import-Package: org.eclipse.ui.editors.text,
|
||||
org.eclipse.ui.texteditor
|
||||
Export-Package: org.eclipse.cdt.cquery;x-friends:="org.eclipse.cdt.lsp.ui",
|
||||
org.eclipse.cdt.internal.clangd;x-friends:="org.eclipse.cdt.lsp.ui",
|
||||
org.eclipse.cdt.internal.cquery;x-friends:="org.eclipse.cdt.lsp.ui",
|
||||
org.eclipse.cdt.internal.cquery.ui;x-internal:=true,
|
||||
org.eclipse.cdt.lsp;x-friends:="org.eclipse.cdt.lsp.ui",
|
||||
org.eclipse.cdt.lsp;x-friends:="org.eclipse.cdt.lsp.ui,org.eclipse.cdt.lsp.clangd",
|
||||
org.eclipse.cdt.lsp.core;x-friends:="org.eclipse.cdt.lsp.ui",
|
||||
org.eclipse.cdt.lsp.internal.core;x-internal:=true,
|
||||
org.eclipse.cdt.lsp.internal.text;x-friends:="org.eclipse.cdt.lsp.ui"
|
||||
Bundle-Activator: org.eclipse.cdt.lsp.core.Activator
|
||||
Bundle-ActivationPolicy: lazy
|
||||
Service-Component: OSGI-INF/org.eclipse.cdt.lsp.internal.core.ContributedLanguageServers.xml,
|
||||
OSGI-INF/org.eclipse.cdt.internal.clangd.ClangdLanguageServer.xml,
|
||||
OSGI-INF/org.eclipse.cdt.internal.cquery.CqueryLanguageServer.xml,
|
||||
OSGI-INF/org.eclipse.cdt.lsp.internal.core.ContributedProtocolExtensions.xml,
|
||||
OSGI-INF/org.eclipse.cdt.internal.cquery.ui.CqueryProtocolExtension.xml
|
||||
|
|
Loading…
Add table
Reference in a new issue