Commit graph

412 commits

Author SHA1 Message Date
Arne Deutsch
95afbc0813 [eclipse/xtext#1777] Translate more Xtend to java.
org.eclipse.xtext, org.eclipse.xtext.ide and org.eclipse.xtext.util are
Xtend free. Remove xtend-gen folders from build.

Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2020-07-03 10:23:21 +02:00
Christian Dietrich
d7a9b6686b [eclipse/xtext##1777] migrated xtend code 2 java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-06-22 10:32:17 +02:00
Christian Dietrich
26ff6099b6 [eclipse/xtext#1777] ported more xtend code to java & cleanup
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-06-05 10:17:20 +02:00
Jan Koehnlein
cd63d806c3
Merge pull request #1516 from eclipse/jk_gh1515
[lsp] avoid negative positions
2020-06-04 10:22:59 +02:00
Christian Dietrich
013e7d1b0a
Merge pull request #1507 from eclipse/cd_xtext_issue1777
[eclipse/xtext#1777] ported more xtend code to java
2020-06-04 09:33:34 +02:00
Jan Koehnlein
4f3812fed9 [lsp] avoid negative positions
Fixes #1515
2020-06-03 13:34:20 +02:00
Nico Prediger
5aae2d0e6b [releng] Update Xtext version to 2.23.0
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2020-06-02 17:18:46 +00:00
Christian Dietrich
953eae58d5 [eclipse/xtext#1777] ported more xtend code to java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-29 11:11:01 +02:00
Christian Dietrich
0eb0ea3ff3 added missing generated code
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-15 17:52:14 +02:00
Jan Koehnlein
95849c89c4 [rename] applied feedback 2020-05-12 09:42:19 +02:00
Jan Koehnlein
afe2878506 [lsp] properly rename quoted identifiers
Fixes #1488
2020-05-11 20:38:05 +02:00
nbhusare
e82e6988dc Fixed the synchronization strategy
Signed-off-by: nbhusare <neerajbhusare@gmail.com>
2020-05-05 20:50:22 +05:30
Christian Dietrich
ecdd5659ea fixed broken javadoc
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-04 17:39:44 +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
beb804b966 fixed unused imports
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-26 11:01:56 +02:00
Christian Dietrich
e3c5d32f1b [eclipse/xtext#1679] converted Xtend code to Java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-24 16:43:37 +02:00
Christian Dietrich
8fe502ea95 [eclipse/xtext#1679] converted code to java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-21 12:19:18 +02:00
Christian Dietrich
9a055fd969 [eclipse/xtext#1679] ported xtend code to java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-13 17:19:52 +02:00
Christian Dietrich
cd862ff808 [eclipse/xtext#1679] ported code from xtend to java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-03 08:11:13 +02:00
Tamas Miklossy
ca1acb76e2 [#489] Add "@since 2.13" tags to ChangeSerializer classes.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-04-02 14:06:48 +02:00
Jan Koehnlein
67227418c3 [lsp] Remove deprecated code for single root workspaces
See #1394
2020-03-13 15:48:26 +01:00
Christian Dietrich
0d3bbbc5fc regenerated xtend code & cleanup imports
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-03-05 20:06:40 +01:00
Christian Dietrich
78a10a440c [eclipse/xtext#1679] converted more Xtend code to Java
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-03-05 16:16:41 +01: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
Jan Koehnlein
19ab48238d [#1394] deprecate single WS root config and schedule it for removal 2020-02-24 11:56:42 +01:00
Sebastian Zarnekow
93b20b3794 [#622] Improved concurrency behavior of RequestManager 2020-02-24 09:18:47 +01: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
79e1ebcfed [eclipse/xtext#1642] regenerated xtend code with latest xtend
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-09 13:57:00 +01:00
Christian Dietrich
83249956d4 [eclipse/xtext#1282] Update to EMF 2.20: change version constraints in MANIFESTs
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-01-03 16:38:15 +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
Sebastian Zarnekow
f45a3c4aaa
[eclipse/xtext#1629] Migrate server.concurrent from Xtend to Java (#1327)
Migrate server.concurrent from Xtend to Java

see eclipse/xtext#1629
2019-12-16 18:11:09 +01:00
Arne Deutsch
44aafdae13 [eclipse/xtext#1455] Resolve windows test failure in DocumentTest.
Also fixes SemanticHighlightingTest.

Document#getLineContent returns the '\r' of '\r\n' on windows. This
leads to a failing test. But the line content should explicitly NOT
return the newline marker. Hence fixing the implementation to fix the
test.

Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2019-12-16 12:25:41 +01:00
mmews-n4
4b37a9e4f5 [#1316| Add end line and end column positions to Issue
[#1316] Add end line and end column positions to Issue. Also initialise lines and columns with 0. 

Previously, end line and end column information was not part of Issue, IssueImpl, IssueLocation, AbstractDiagnostic, and ExceptionDiagnostic. It is helpful to have this information in these classes, because otherwise (i.e. now in LanguageServerImpl#toDiagnostic(Issue)) this information has to be computed by loading the Document again.

closes #1316 

Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-13 09:54:04 +01:00
Sebastian Zarnekow
f8c791989c
Merge pull request #1322 from mmews-n4/requestManger_logging
Log Exceptions thrown in futures created by the RequestManger
2019-12-12 17:28:25 +01:00
mmews
f8fbc38a0b fix synchronization error (maybe)
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-12 00:19:51 +01:00
mmews
3102556c4e add CancellationException to OCM#getPlatformOperationCanceledException
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-10 22:51:31 +01:00
mmews
cefc79857a fix cancel future directly
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-10 12:46:05 +01:00
mmews
c59ce4d0db add isIndexOnly as default method and read it to create build request
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-10 12:29:40 +01:00
mmews
d620e0daae log exceptions in futures of RequestManager
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-12-10 12:04:25 +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
Christian Dietrich
035df74a4e updated to lsp4j 0.8.1
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-11-26 21:43:34 +01:00
Sebastian Zarnekow
0db28cc4c2 Add output folders to build.properties 2019-11-18 08:42:38 +01:00