Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-Andre Laperle2017-07-24 15:57:11 +0000
committerMarc-André Laperle2017-09-01 15:31:57 +0000
commit11817c1c6a058b6e0f2049b79920d95915cd5ef0 (patch)
treef246c115b59a7bea5cc085470c682ea550b2a502 /lsp4e-cpp/org.eclipse.lsp4e.cpp.language/.classpath
parent33a7f1e53349bdef9c5bc45926bd8c6410630248 (diff)
downloadorg.eclipse.cdt-11817c1c6a058b6e0f2049b79920d95915cd5ef0.tar.gz
org.eclipse.cdt-11817c1c6a058b6e0f2049b79920d95915cd5ef0.tar.xz
org.eclipse.cdt-11817c1c6a058b6e0f2049b79920d95915cd5ef0.zip
A basic LSP4E integration with Clangd
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>
Diffstat (limited to 'lsp4e-cpp/org.eclipse.lsp4e.cpp.language/.classpath')
-rw-r--r--lsp4e-cpp/org.eclipse.lsp4e.cpp.language/.classpath7
1 files changed, 7 insertions, 0 deletions
diff --git a/lsp4e-cpp/org.eclipse.lsp4e.cpp.language/.classpath b/lsp4e-cpp/org.eclipse.lsp4e.cpp.language/.classpath
new file mode 100644
index 00000000000..eca7bdba8f0
--- /dev/null
+++ b/lsp4e-cpp/org.eclipse.lsp4e.cpp.language/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>

Back to the top