mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00

This plug-in adds an simple integration between LSP4E and Clangd. It simply launches clangd when opening C/C++ files with the Generic Editor. To try it, you need to: - Import the projects in your Eclipse workspace (you can only import the lsp4-cpp ones, the sources for CDT are not needed) - Open lsp4e.cpp-staging.target and set it as the target platform - You need to have clangd built and on the PATH. See https://clang.llvm.org/get_started.html - Start Eclipse: right-click on a project > Run as > Eclipse Application - In the new Eclipse instance, you can right-click on a C/C++ file > Open As > Generic Editor. This should make use of clangd, providing some basic diagnostics and formatting commands. This should help the Eclipse community to start playing with Clangd. Change-Id: I688d3a952dbc80d9f61186178f3c8a033afcc587 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
21 lines
652 B
Text
21 lines
652 B
Text
Manifest-Version: 1.0
|
|
Bundle-ManifestVersion: 2
|
|
Bundle-Name: %Bundle-Name
|
|
Bundle-SymbolicName: org.eclipse.lsp4e.cpp.language;singleton:=true
|
|
Bundle-Version: 1.0.0.qualifier
|
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
|
Require-Bundle: org.apache.commons.io,
|
|
org.eclipse.core.runtime,
|
|
org.eclipse.lsp4e,
|
|
org.eclipse.ui.genericeditor;bundle-version="1.0.0",
|
|
org.eclipse.jface.text,
|
|
org.eclipse.cdt.ui,
|
|
org.eclipse.cdt.core,
|
|
org.eclipse.jface,
|
|
org.eclipse.ui,
|
|
org.eclipse.lsp4j,
|
|
org.eclipse.core.commands,
|
|
org.eclipse.core.expressions,
|
|
org.eclipse.core.resources
|
|
Bundle-Vendor: %Bundle-Vendor
|
|
Export-Package: org.eclipse.lsp4e.cpp.language
|