1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00
Commit graph

13 commits

Author SHA1 Message Date
Nathan Ridge
09d4a1121c Bug 537357 - [lsp4e-cpp] Set the document partitioner in a document setup participant
Change-Id: I2d672cac5bb924a91457bf2e4cc552d596ae5d0d
2018-08-01 02:54:59 -04:00
Manish Khurana
c00975241d Bug 537385. Add initialization options for inactive regions and semantic highlights
Change-Id: I79ef622fa3ae48f055a55d9347a53eddc4fc6b8b
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-07-25 21:20:39 -04:00
Nathan Ridge
0127ad7c93 Remove lsp4e-cpp code related to the unused 'reindex' command
This code was mostly commented out and non-functional anyways.

Change-Id: Ib0713a1c419438c0973bac49d4bb1786517914ff
2018-07-25 01:49:30 -04:00
Manish Khurana
9b2de3ca06 Bug 537030. Add implementation for "$cquery/setInactiveRegions" notification message
Change-Id: Ieda3a95d0ea427425a6c7c08047e05e211cd74fd
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-07-18 21:39:39 -04:00
Manish Khurana
79331d755a Bug 536797. Add implement for "$cquery/progress" notification message from cquery
Change-Id: I1e49023262facab821b2278c38b82076c2bf21f9
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-07-08 17:06:59 -04:00
Manish Khurana
33e15fae72 Bug 536381. Add propertyChange() method to Preference Page
Change-Id: Ib0631251feaa1f0c33eac523e3c203713e9443fb
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-07-04 11:27:00 -04:00
Manish Khurana
4215a26612 Bug 535631. Cquery is now able to find compile_commands.json
Change-Id: I06515bf1ee9a210dc5ac4ff15fcc1f15d185b2f3
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-07-01 01:54:32 -04:00
Manish Khurana
527c2d64a5 Bug 535629. Add empty implementation for unsupported CQuery notifications
Change-Id: Ic1c91acd00f6d3aca64c82d4abffd8c41396b15c
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-06-25 02:59:27 -04:00
Manish Khurana
e02e28eec1 Bug 535632. Set a cache directory for CQuery LS
Change-Id: I80b88f48207b5091fe1c634c730a8fd6983f40b9
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-06-11 00:35:20 -04:00
manish
4410123437 Bug 534669. Added Preference Page for LSP4E-CPP
Change-Id: I8ad9be37643c6de4591db9161fbe60589ff92f07
Signed-off-by: manish <mkmanishkhurana98@gmail.com>
2018-06-06 09:05:31 -04:00
Doug Schaefer
eed39fe4f8 Fix API error in lsp4e.cpp plugin.
Not sure we have the right dependency in the cdt target file but
I get a compile error when I use it.

Change-Id: Ie357ea76da82ac552b6c95662d725fb660434ff6
2017-11-02 11:57:08 -04:00
Marc-Andre Laperle
9dbf2af399 lsp4e-cpp: Generate LSP FileEvents from ResourceChangeEvents
FileEvents are useful for indexing and lsp4e (so far) does not send
them. It is not clear whether or not this will be implemented in lsp4e.
In the mean time, lsp4e-cpp can have its own mechanism to generate
the events.

Change-Id: I09aac4fda7755260f47b73fd683ca6d2ad317f81
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-09-26 14:07:03 -04:00
Marc-Andre Laperle
11817c1c6a 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>
2017-09-01 11:31:57 -04:00