Christian Dietrich
6a25670bab
[ #1231 ] added testlanguage for transient things not in grammar
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-08-29 21:56:19 +02:00
Christian Dietrich
60ea04335f
[ eclipse/xtext-core#1082 ] update to lsp4j 0.8.0
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-08-19 08:37:15 +02:00
Christian Dietrich
58a765b557
[ #1163 ] fixed broken uri encoding when converting to emf uri
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-08-09 11:42:03 +02:00
Christian Dietrich
daa441b901
[ #922 ] Calculate correct position (end) for issues
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-07-23 09:29:10 +02:00
mmews
a1566e10b3
extend ISourceFolder for precise file filtering
...
Signed-off-by: mmews <marcus.mews@numberfour.eu>
2019-07-22 09:42:44 +02:00
Christian Dietrich
45709aa876
regenerate with latest xtend
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-07-09 07:03:23 +02: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
Jan Koehnlein
01c615c361
Merge pull request #1157 from eclipse/jk/1156
...
[lsp] fixed Document.applyEdit for multiple textEdits
2019-05-29 14:34:28 +02:00
Jan Koehnlein
3bbe29596d
[lsp] deprecated Document#applyEdit in favor of #applyTextDocumentChanges
...
Fixes #1156
2019-05-28 16:37:46 +02:00
Christian Dietrich
feab398da5
update to lsp4j 0.7.2
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-05-27 13:44:32 +02:00
Christian Dietrich
24b4f99cda
[ eclipse/xtext-core#1082 ] update to lsp4j 0.7.1
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-05-08 16:11:29 +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
21aa47fc07
Merge pull request #1068 from kittaakos/GH-1067
...
GH-1067: Exposed the Xtext index to the LS access.
2019-04-05 14:06:32 +02:00
Akos Kitta
74de6a1017
GH-1067: Exposed the Xtext index to the LS access.
...
From now on, it is possible to read the content of the Xtext
index from a LS access.
Closes #1067 .
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-04-05 13:12:53 +02:00
Sebastian Zarnekow
9f1b16b6a4
Fixed regression in injector provider
2019-04-04 21:50:57 +02:00
Sebastian Zarnekow
4523b55a51
Regenerated testlanguages
2019-04-04 14:34:09 +02:00
Sebastian Zarnekow
958c09f16e
Compile from Xtend
2019-04-04 14:24:00 +02:00
Mark Christiaens
528c10aa90
Occurrence highlighting of nested references
...
#1090
Signed-off-by: Mark Christiaens <mark.christiaens@sigasi.com>
2019-04-03 14:15:14 +02:00
Jan Koehnlein
57cd3b5d0d
#923 provide live resource sets to code action service
...
Fixes #923
2019-03-26 09:56:34 +01:00
Jan Koehnlein
0ef82b8219
[ls] further rename fix and test
...
- restored the old APIs and deprecated them
- built a new API next to the old one
- use ILanguageServerAccess to read files
- extended ILSA to provide new resource sets and the initialization params
- extended the Xtext generator to use the new API
- made sure customizations of the old API don't get lost
- revised the find element at position strategy
- revised error handling
- added a test language and tests
2019-03-20 15:51:19 +01:00
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
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
2d5a808729
marked abstract classes as abstract
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-03-06 20:52:55 +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
Christian Dietrich
ae41f9c34e
[ #1048 ] fixed cleanup of workspace in test
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2019-02-25 09:44:50 +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
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
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
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
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
Dennis Huebner
07941dbdf0
Additional test for "delete than close" case #895
...
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2018-10-09 10:04:07 +02:00
Dennis Huebner
da30a28a9a
Testcase for #800
...
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2018-10-08 15:51:16 +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
Dennis Huebner
793acb0aa9
CodeAction as real CodeAction. Example and Test.
...
Signed-off-by: Dennis Huebner <dennis.huebner@gmail.com>
2018-09-19 11:08:53 +02:00
Christian Dietrich
93e3e31da5
Merge pull request #855 from eclipse/cd_xtext216
...
updated versions to 2.16.0
2018-09-05 07:03:24 +02:00
Christian Dietrich
35531dfa33
marked ColoringServiceImpl as deprecated (analogous to interface)
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-09-03 15:40:47 +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
Christian Dietrich
cf4065ab27
[ eclipse/xtext#1227 ] regenerated testlanguages
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-08-24 10:39:56 +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
Christian Dietrich
0573060c99
[ #622 ] set flaky testcase to ignore
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-07-23 16:33:35 +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
Christian Dietrich
3dbf100102
Merge pull request #718 from eclipse/cd_issue716
...
[#716 ] [LSP] Problems for a deleted file are shown after deletion
2018-04-26 16:08:39 +02:00
Christian Dietrich
be7a958127
[ #716 ] [LSP] Problems for a deleted file are shown after deletion
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-04-25 14:29:38 +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
Titouan Vervack
0ea85189c8
Fixed warnings
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-03-29 18:18:18 +02:00
Titouan Vervack
127fa42d17
Removed redundant modifiers
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2018-03-28 17:41:41 +02:00
Christian Dietrich
0cd8e8acf4
[ #665 ] added test for execute command service
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-22 19:36:45 +01:00
Christian Dietrich
f59edef7a1
[ #665 ] implemented a very simple command service
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-22 19:36:09 +01:00
Christian Dietrich
0b6d40d4eb
[ #665 ] added multiple file extensions for test lang
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-22 19:35:04 +01:00
Christian Dietrich
721c690639
[ #665 ] regenerated test languages
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-03-22 19:34:25 +01:00
Moritz Eysholdt
43b7d1df8c
Handle comments and whitespace properly in rewrite scenarios
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2018-03-04 19:41:46 +01:00
Moritz Eysholdt
9885cc4323
[ChangeSerializer] support modifications applied to non-xtext-resources
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2018-03-04 19:20:01 +01:00
Moritz Eysholdt
860bf74ab5
[ChangeSerializer] fixed a potential NPE
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2018-03-03 12:13:25 +01:00
Christian Dietrich
7ab31042c8
maintained x-friends https://github.com/eclipse/xtext/issues/1173
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-02-23 15:57:53 +01:00
Christian Dietrich
8cb265024d
[ #638 ] Use Formatting options passed by the client
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-02-20 17:54:55 +01:00
Christian Dietrich
13b2035931
[ #636 ] Removed Test order dependency from UriExtensionsTest
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-02-10 08:38:56 +01:00
Christian Dietrich
395854eb57
[ #617 ] fixed typo in AbstractLanguageServerTest
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-02-02 09:51:07 +01:00
Anton Kosiakov
b84e52630e
[lsp] ensure requests processing order
...
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2018-01-19 11:55:14 +01:00
Karsten Thoms
809377cd27
[420984] Compiler optimization: Suppress creation of unused exception variable
...
Recompiled Xtend files
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-16 14:54:22 +01:00
Karsten Thoms
90cef27ab4
[ eclipse/xtext#1160 ] Update copyright date range
...
Recompiled Xtend files
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-16 09:11:22 +01:00
Karsten Thoms
134c788006
[ eclipse/xtext#1160 ] Update copyright date range
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-15 16:28:39 +01:00
Florian Stolte
1bc930b5b6
[ eclipse/xtext#1152 ] Java 9 - Added Automatic-Module-Name header
...
- added header to existing manifest files
- added header to manifest generation in xtext generator and wizard
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-14 14:16:20 +01:00
Sebastian Zarnekow
ec24238129
Merge remote-tracking branch 'origin/master' into sz_avoidDuplicatedCode
2017-12-07 17:29:11 +01:00
Christian Dietrich
43d7186d19
Fixed broken tests #571
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-07 16:50:23 +01:00
Sebastian Zarnekow
c6e5d8af68
Avoid duplicated code in CA infrastructure
2017-12-07 15:57:35 +01:00
Jan Koehnlein
15b13a279d
GH-520 allow shadowed resource descriptions in language server scenario
2017-12-05 20:56:55 +01:00
Jan Koehnlein
8c7295e56e
GH-524 use Module2.mixin() to combine runtime and IDE module in example languages
2017-12-05 20:56:54 +01:00
Christian Dietrich
9e66409f38
regenerated xtend code (java 9 java.lang.Module conflict)
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-01 19:13:09 +01:00
Karsten Thoms
07b182918c
Merge pull request #529 from eclipse/me/newline_fix
...
Fixed #460 : Test failure on Windows due to CarriageReturn char
2017-11-22 12:17:49 +01:00
Christian Dietrich
5bef8e69c8
correctly decode vs code uris on windows #528
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-11-18 22:33:08 +01:00
Florian Stolte
2a503da006
Refactoring: Cleaning up warnings.
...
Removed four unused imports and one unused local variable declaration.
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-11-15 15:54:57 +01:00
Moritz Eysholdt
f41d82c540
Fixed #460 : Test failure on Windows due to CarriageReturn char
2017-11-08 08:48:31 +01:00
Christian Dietrich
b43934a0ef
added test for #520
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-10-28 13:52:33 +02:00
Christian Dietrich
6fe69f8ac0
Merge pull request #508 from eclipse/kth_issue1129
...
[eclipse/xtext#1129 ] Automatic changes by Buildship
2017-10-27 12:52:29 +02:00
Christian Dietrich
4960af9c0a
set version to 2.14
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-10-27 09:03:34 +02:00
Moritz Eysholdt
3b7e58e39f
me_removed_orphan
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-17 08:26:33 +02:00
Karsten Thoms
c387b6ff59
[ eclipse/xtext#1129 ] Automatic changes by Buildship
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-10-16 23:03:06 +02:00
Moritz Eysholdt
6c671f9aaf
[ChangeSerializer] update references with FQNs and semi-FQNs properly
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-11 14:54:40 +02:00
Jan Koehnlein
0873e2f12d
[tests] regenerated test languages
2017-10-02 15:20:40 +02:00
Jan Koehnlein
fdd7c61451
[api] refactored the change serializer API
2017-09-29 16:31:32 +02:00
Jan Koehnlein
4132407834
[rename] change serializer based rename refactoring
2017-09-29 16:31:32 +02:00
Christian Dietrich
762430602a
fixed indent tests on windows #460
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-25 10:54:56 +02:00
Akos Kitta
d53c4edc00
GH-459: Aligned the test assertion in the failing case.
...
As the Javadoc says; the EMF file URI is created from the path of the
`java.io.File`. Paths with leading slashes are not valid paths on
Windows.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-14 16:35:47 +02:00
Sven Efftinge
11c084dc5e
GH-73 Replaced the string replace with URI factory to fix the authority.
...
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-09-13 17:24:57 +02:00
Akos Kitta
f2d050a60f
GH-73 Replaced the URI-string mapping logic with a string replace.
...
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-13 17:24:57 +02:00
Akos Kitta
cbc7debb28
GH-456: Replaced the javax.Inject with the Guice one.
...
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-13 17:24:57 +02:00
Akos Kitta
4445083dd2
GH-456: Imported static factory methods for the EMF URI creation.
...
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-13 17:24:57 +02:00
Akos Kitta
05d872b9a1
GH-456: Replaced leftover canonical path with the absolute one.
...
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-13 17:24:57 +02:00