Commit graph

315 commits

Author SHA1 Message Date
Dennis Huebner
312e236ec3
Merge pull request #1044 from eclipse/dh-serializer
[ide] Bogus serialization when reassign container #1043
2019-03-18 15:35:55 +01:00
Jan Koehnlein
6881c1cef2 [LS] rename follow up fixes 2019-03-15 13:20:09 +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
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
Dennis Huebner
e807fecdbe [ide] Bogus serialization when reassign container #1043
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2019-02-21 09:03:07 +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
ecc7ae0bc3
[eclipse/xtext#1249] use bom for version management (#988) 2019-01-11 16:41:50 +01:00
Christian Dietrich
1b4f6c78a4 change version 2.16.0 -> 2.17.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-12-05 09:48:47 +01:00
Titouan Vervack
8348cb99aa Set reference kind when we know it should be set
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-11-20 11:56:26 +01:00
Christian Dietrich
6e896a1ea2
Merge pull request #931 from eclipse/cd_issue625
[eclipse/xtext-core#625] set Item.InsertTextFormat to snippet for snippets
2018-11-19 15:45:26 +01:00
Christian Dietrich
009578bc9e [eclipse/xtext-core#625] set Item.InsertTextFormat to snippet for snippets
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-11-19 13:01:33 +01:00
Karsten Thoms
e6bd78ae7f
Merge pull request #963 from eclipse/kth_issue1168
[eclipse/xtext#1168] Minimal target platform Oxygen.3a
2018-11-17 09:59:45 +01:00
Karsten Thoms
37172c68dd [eclipse/xtext#1168] Minimal target platform Oxygen.3a
Update lower bound version constraints on platform related bundles with
versions from an Oxygen.3a platform.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-11-14 17:27:50 +01:00
Jan Koehnlein
3fd16a6654 [api] expose IResourceAccess instead of WorkspaceReourceAccess 2018-11-14 16:10:36 +01:00
Jan Koehnlein
2473c18810 [ls] expose more fields of LanguageServerImpl to subclasses 2018-11-14 15:40:32 +01:00
Christian Dietrich
85385aa97a [#893] build against LSP4J 0.6.0-SNAPSHOT
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-11-10 12:16:05 +01:00
Christian Dietrich
bf79546063 [#912] export org.eclipse.xtext.ide.server.semanticHighlight as internal api
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-11-05 15:11:56 +01:00
Akos Kitta
c539bc5501 GH-924: Disabled the semantic highlighting with the default bindings.
Closes: #924.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2018-10-29 14:21:16 +01:00
Christian Dietrich
4f53fd0588 [#885] make LSP server exit behaviour configurable
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-10-18 14:41:23 +02:00
Sebastian Zarnekow
c119af10c4 regenerated with newer xtend 2018-10-11 20:51:32 +02:00
Dennis Huebner
b25320cd3b [LSP] Ignore didChangeWatchedFiles for open documents #888
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2018-10-08 16:40:11 +02:00
Dennis Huebner
f28fafb8ca Removed runWrite call #800
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2018-10-08 16:27:29 +02:00
Dennis Huebner
bb6258d1be [ls] Diagnostics can never arrive to the client #800
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2018-10-08 15:24:46 +02:00
Akos Kitta
349580fc26 GH-882: Fixed the inconsistency between the range and selectionRange.
Added a test assertion to ensure `selectionRange` is always contained by the `range`.

Closes: #882.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2018-10-02 19:54:17 +02:00
Akos Kitta
9e46f302bb GH-858: [LS] Added support for the hierarchical document symbols.
Closes: #858.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2018-09-25 14:13:54 +02:00
Karsten Thoms
2b7e2b4609 [eclipse/xtext#1272] Compile with Xtend 2.15
Order of static & final modifiers changed
(eclipse/xtext-xtend#554)

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-09-21 17:45:41 +02:00
Dennis Huebner
7fe6ddcc4c Handle ContentAssistEntry.getTextReplacements in ContentAssistService
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2018-09-19 14:34:51 +02:00
Christian Dietrich
2f0f093fb5 updated versions to 2.16.0
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-09-03 11:11:51 +02:00
Akos Kitta
136e66dd47 GH-812: Implemented the semantic highlighting for the Xtext LS.
Closes #812.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2018-08-29 12:42:06 +02:00
Arne Deutsch
deb6ad62fe [eclipse/xtext-core#69] Revert fix.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-08-17 16:13:34 +02:00
Arne Deutsch
35582ebd66 [eclipse/xtext-core#69] Complete fix such that all tests are green.
The fix is working but the result is not satisfying. Checking the
content of the error message is not satisfiable for production. We will
revert the change and only maintain this change in case we have a better
idea later.

Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-08-17 16:09:23 +02:00
Arne Deutsch
1fa08de519
Merge pull request #776 from eclipse/xtext-core-69-content-assist-on-syntax-errors
[#69] Fix content assist if lexer returns multiple invalid tokens.
2018-08-16 13:32:15 +02:00
Christian Dietrich
06ab1b01ad [#221] Fixed Templats
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-08-06 10:00:40 +02:00
Moritz Eysholdt
08481714f2 [ChangeSerializer] Don't record derived state
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2018-08-05 10:40:28 +02:00
Moritz Eysholdt
c6187f97c7 [ChangeSerializer] Don't record EObjectDescs if not needed.
When CrossReferences are not updated, recording the descriptions should
not be needed.

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2018-07-31 16:54:39 +02:00
Titouan Vervack
4640eefa53 Made textRegionTransformer protected in DefaultDocumentHighlightService
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-07-25 15:09:11 +02:00
Christian Dietrich
05a9483b3c fixed broken javadoc
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-07-23 13:30:58 +02:00
Arne Deutsch
3bc181024e [#69] Fix content assist if lexer returns multiple invalid tokens.
If the lexer returns multiple invalid tokens in succession only the last
one is taken into account for content assist. Especially if there are
keywords only (no ID or similar) this is an issue because only the last
character is used as prefix.

The fix assumes that ALL tokens with syntax errors that come in
succession are relevant for content assist. It seems not to be useful to
execute content assist otherwise.

This can never be reproduced with any grammar that includes standart
"Terminals" because of the ID and the ANY_OTHER rule. The ID rule makes
sure that the start is usually read as only ONE token, whereas the
ANY_OTHER rule ensures there is never a lexer error.

Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2018-06-25 17:50:24 +02:00
Christian Dietrich
54ec08b19e added missing since annotations
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-06-15 19:15:40 +02:00
Titouan Vervack
f103de5392 Allow to not print source code in LSP
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-06-15 11:27:38 +02:00
Titouan Vervack
69a7473245 Fixed typos in DefaultDocumentHighlightService
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-06-13 13:47:31 +02:00
Karsten Thoms
7dcc65bb2e [release] Increment version to 2.15.0
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-05-22 23:53:44 +02:00
Jan Koehnlein
3c2bb77e89 GH-712 adapt to breaking changes in lsp4j 2018-04-23 14:47:08 +02:00
Miro Spönemann
bf6a61a7e2 #694: Updated to LSP4J 0.4.0 (snapshot)
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2018-04-19 15:32:40 +02:00
Moritz Eysholdt
c6a3bd20cb [ChangeSerializer] fixed potential NPEs
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2018-04-11 17:30:09 +02:00
Titouan Vervack
0ea85189c8 Fixed warnings
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-03-29 18:18:18 +02:00