Commit graph

173 commits

Author SHA1 Message Date
Christian Dietrich
bc6d04d382 made wrapping injector provider guice 4 ready
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-06 15:35:34 +02:00
Sebastian Zarnekow
b15fd84cfe
[#1467] Made lookAhead independent from encountered hidden tokens (#1469)
Made lookAhead independent from encountered hidden tokens

closes #1467
2020-05-04 17:18:34 +02:00
Christian Dietrich
7b0d63dbd3 [eclipse/xtext#1679]ported more code to java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-30 13:41:11 +02:00
Christian Dietrich
71f17744eb [eclipse/xtext#1679]ported more code to java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-29 11:42:44 +02:00
Christian Dietrich
52166dd122
Merge pull request #1406 from eclipse/cd_issue1394b
[#1394] remove lsp api methods that were scheduled for removal with 2.22
2020-03-03 19:19:34 +01:00
Nico Prediger
7c82447f16 [releng] Update Xtext version to 2.22.0
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2020-03-03 12:00:56 +00:00
Christian Dietrich
131d5d87e2 [#1394] remove lsp api methods that were scheduled for removal with 2.22
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-03-02 19:15:02 +01:00
Christian Dietrich
50cff5fdaa [#1244] adapted to changes in Diagnostic.code in LSP4j
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-02-28 08:40:11 +01:00
Christian Dietrich
8452bf16f1
Merge pull request #1399 from dunnry/rd/gh-1381
Adding ResourceOperation toExpectation and fixing NPE on WorkspaceEdit
2020-02-26 10:08:33 +01:00
Sebastian Zarnekow
93b20b3794 [#622] Improved concurrency behavior of RequestManager 2020-02-24 09:18:47 +01:00
Ryan Dunn
0802d4992d Adding ResourceOperation toExpectation and fixing NPE on WorkspaceEdit
Signed-off-by: Ryan Dunn <dunnry@hotmail.com>
2020-02-23 18:52:35 -05:00
Christian Dietrich
14737a8ea4 [#1394] marked more elements to be removed in 2.22
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-02-22 17:43:54 +01:00
Christian Dietrich
639fa16575 [#1244][WIP] Update to LSP4J 0.9.0 Part 2
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-02-20 23:27:07 +01:00
Jan Koehnlein
e2cd8edd53 [LS] support multiple workspace root folders
Fixes #1238
2020-02-20 11:58:38 +01:00
Sven Efftinge
f9b6d1bebe
[eclipse/xtext#1176] Migrate to EPL 2.0
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
Co-authored-by: Sebastian Zarnekow <Sebastian.Zarnekow@gmail.com>
2020-02-11 12:02:02 +01:00
Christian Dietrich
b13367970f [#1372] update hover service to use MarkupContent
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-02-03 22:33:32 +01:00
Christian Dietrich
0766f69605 [#1244] lsp4j 0.9.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-30 12:21:41 +01:00
Christian Dietrich
ef65b96ec0 fixed unused imports
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-23 13:10:54 +01:00
Karsten Thoms
5083d86efa [eclipse/xtext#1569] Refactor Xtend to Java
The usage of Xtend in the Xtext code base should be reduced where the
usage of Xtend is not super beneficial. Replaced Xtend classes by the
compiled code and refactored the code to more readable Java.

This change extracts classes formerly defined in
AbstractLanguageServerTests.xtend to own files.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2020-01-21 15:35:04 +01:00
Christian Dietrich
828d11d33b enhance deprecation of coloring service
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-10 07:52:19 +01:00
Arne Deutsch
d7ca0a4e72 Update forgotton copyright comments.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2019-12-18 10:22:59 +01:00
Tamas Miklossy
abddf5efc3 [#1108] Update the year in the copyright headers.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2019-12-16 18:57:01 +01:00
Arne Deutsch
b18bb8ed7c [eclipse/xtext#1455] Fixing CompletionTest.
The tests work with concrete offsets and hence can only work with '\n'
because '\r\n' will always lead to broken expectations. Test case in
CompletionTest is only broken because TestLanguageProposalCreator, a
class used only for testing, adds 1 to the offset but "2" would be
needed for input with '\r\n'. In other places it is already ensured that
'\n' is used (e.g. AbstractLanguageServerTest#assertEquals). Hence just
align the input text to the rest of the implementation and using '\n'.

Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2019-12-16 13:09:29 +01:00
Karsten Thoms
325fa1e8d6 [releng] Update Xtext version to 2.21.0
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-12-02 14:06:33 +00:00
Sebastian Zarnekow
0db28cc4c2 Add output folders to build.properties 2019-11-18 08:42:38 +01:00
Sebastian Zarnekow
e814a7d8dd Fixed build.properties, fixed a few warnings on the go 2019-11-18 08:42:38 +01:00
Sebastian Zarnekow
bbbdf68391 Added missing build.properties, fixed a couple of warnings 2019-11-18 08:42:38 +01:00
Christian Dietrich
98bd79e264 [eclipse/xtext#1504] added Eclipse-SourceReferences to manifests
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-11-15 12:28:44 +01:00
Sebastian Zarnekow
9f8aee979a [eclipse/xtext#1573] Ensure that all plugins do have a ManifestBuilder 2019-11-04 14:34:21 +01:00
Sebastian Zarnekow
eea345fba1
[eclipse/xtext#1569] Migrate Xtend code to Java (#1270)
* Migrate Xtend code to Java
* Apply auto-formatting and cleanup actions
* Add `@since` tags

see eclipse/xtext#1569
2019-10-31 16:06:12 +01:00
Christian Dietrich
74f4e3d412 [eclipse/xtext#1520] update to gradle 5.6.1
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-09-04 08:37:03 +02:00
Karsten
365ba15867 [releng] Set version to 2.20.0
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-09-03 15:24:30 +00:00
Nico Prediger
c9a07291d8 [eclipse/xtext#1474] Prepare Master for 2.19
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2019-06-03 14:02:18 +02:00
Sebastian Zarnekow
97f3d9e9e0 Apply proper restore logic also to SmokeTest infra 2019-05-18 18:41:45 +02:00
Christian Dietrich
86fb88215c fixed deprecations with java 11
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-05-07 12:18:47 +02:00
Akos Kitta
a51de02a67 GH-1047: Implemented textDocument/prepareRename
- `textDocument/prepareRename` is automatically executed
when the client declares `prepareSupport`.
 - Exposed the `InitializeResult` on the LS access API.
 - From now on, the refactoring issue acceptor does not throw
an exception when adding issues with `ERROR` or `FATAL` severity.
 - Extended the test language to support FQNs via package declarations.

Closes #1047.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-04-10 14:49:06 +02:00
Christian Dietrich
7b10a1d293 fixed warnings
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-03-19 09:31:47 +01:00
Akos Kitta
a77c17dea0
Merge pull request #1075 from kittaakos/GH-1074
GH-1074: Exposed the language client class for the LS tests.
2019-03-15 08:16:23 +01:00
Jan Koehnlein
a290419be4 [LS] overhauled rename service
- delegate to rename language of the declaration of the renamed target
- allow to trigger rename with caret right after the identifier
- support versioned documents

Closes #917, closes #916 and closes #1072
2019-03-14 14:56:56 +01:00
Akos Kitta
07e7288a19 GH-1074: Exposed the language client class for the LS tests.
Closes #1074.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-03-13 13:19:20 +01:00
Christian Dietrich
9b38d565e0 [eclipse/xtext-core#1059] updated to lsp4j 0.7.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-03-05 20:09:10 +01:00
Christian Dietrich
f8708cefd5 [eclipse/xtext#1414] prepared master for version 2.18.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-03-05 16:47:14 +01:00
Sebastian Zarnekow
edeb506431 Make injection of the CompositeEValidator work 2019-02-26 18:29:10 +01:00
Christian Dietrich
ea07eb5cc5 added changed generated code for 'Actually delete LSP test folder after test' change
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-25 09:43:02 +01:00
Titouan Vervack
33534239c5 Actually delete LSP test folder after test
Delete on exit doesn't work if the folder is not empty. Since we don't
remove the individual files the folder doesn't get deleted.

Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2019-02-21 18:31:53 +01:00
Sebastian Zarnekow
e34bcf8a71
Merge pull request #1024 from eclipse/sz_classpath
Make bin/main also the default output directory to avoid buildship confusion
2019-02-11 08:49:30 +01:00
Christian Dietrich
dfe72b83c0 fixed some javadocs
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-10 22:25:11 +01:00
Sebastian Zarnekow
09c3ceac85 Make bin/main also the default output directory to avoid buildship confusion 2019-02-10 14:55:03 +01:00
Karsten Thoms
98a17c35da [eclipse/xtext#1274] Updated .classpath by Gradle
Changes done by Buildship 3.0.1.v20181217-1554

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-02-07 17:03:45 +01:00
Sebastian Zarnekow
4a231019ae
Fixed javadoc (#1011) 2019-01-31 16:47:41 +01:00