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

22 commits

Author SHA1 Message Date
Karsten Thoms
652602febd Bug 540610 - Add Automatic-Module-Name header
Change-Id: Ia990b24469751050dd9ec8f9b5550804816308b3
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-10-30 15:49:15 +01:00
Manish Khurana
9d84c30b5a Bug 537102. Add use of position object for inactive code and semantic highlighting
Change-Id: Iaa68fdfc1b6f5141c1c750e5d8af9cc2f5df9bfc
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-09-17 21:31:09 +05:30
Nathan Ridge
2f57d76a20 Bug 538516 - Ensure the validation state is updated correctly on the C/C++ Language Servers Preference Page
Change-Id: Ic3bbbd437081213b40e5ae0cbc2816fa9369449a
2018-09-10 23:22:13 -04:00
Nathan Ridge
3679b7cd90 Give lsp4e-cpp access to some CDT internals
This avoids either littering lsp4e-cpp code with "restriction"
warnings, or suppressing them (which can hide useful warnings).

It seems pointless to expose the relevant internals as public APIs
since lsp4e-cpp is conceptually an internal consumer.

Change-Id: I9d8c70570682fa86b2369445a812af14de4930e6
2018-09-02 01:23:17 -04:00
Manish Khurana
1983d41afb Bug 535428. Add indentation and bracket completion support in LSP4E-CPP
Change-Id: Ib9187a3ad28796305c47fe8e9543e1aed6a7bf58
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-08-11 17:14:41 -04:00
Manish Khurana
02344726c8 Bug 537306 - Add implementation for "$cquery/publishSemanticHighlights"
Change-Id: I598cda18678f7b268a72e4aa5dfe9563d33727bd
Signed-off-by: Manish Khurana <mkmanishkhurana98@gmail.com>
2018-08-01 15:19:57 +05:30
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
Nathan Ridge
9eb262a192 Bug 535427 - Add the lsp4e-cpp plugins to the build
To build and run only lsp4e-cpp tests do:
   mvn verify -P skip-tests-except-lsp4e-cpp

Also-by: Jonah Graham <jonah@kichwacoders.com>
Change-Id: Id6f3cd8ae291283c0cad7f1e63fbcdce683f4d2d
2018-06-28 13:47:07 +01: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
Nathan Ridge
54ecf4699f Add LSP4E dependency to cdt.target
Change-Id: Id990ce962b93dee306101089eb8a15ea2c5374fe
2018-05-17 23:03:37 -04:00
Jonah Graham
9394a679c5 [releng] update maven dependency versions
Change-Id: Id55ef378ed1abf4a71f31ef27b08c3b59be05317
2018-03-19 10:36:23 +00: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