Commit graph

218 commits

Author SHA1 Message Date
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
Akos Kitta
867aa0d457 GH-456: Fixed regression in URIExtension.
Made sure that `inmemory:/` URI scheme will not be transformed into a
file URI.

Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-13 17:24:57 +02:00
Moritz Eysholdt
846e686bd7 [formatter] improved comment handling in undefined regions
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-09-12 09:18:26 +02:00
Karsten Thoms
d0ef36771a Merge pull request #403 from xcariba/url-decode
Decode file URL
2017-09-08 10:33:39 +02:00
Alexander Kozinko
51f879e3d7 Added tests, fixed EMF URI handling
Signed-off-by: Alexander Kozinko <xcariba@gmail.com>
2017-09-06 11:35:09 +03:00
Sebastian Zarnekow
1c5b2b0320 Merge pull request #366 from eclipse/sz_bug476690
Refined token placement for indentation based languages
2017-09-05 23:02:36 +02:00
Christian Dietrich
0f99a6e6a3 removed unused imports / dead code
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-05 20:07:14 +02:00
Alexander Kozinko
ca60760903 Added support for spaces and non-latin symbols in file paths
Signed-off-by: Alexander Kozinko <xcariba@gmail.com>
2017-09-04 18:44:04 +03:00
Moritz Eysholdt
4640ecac14 [ChangeSerializer] added more tests
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-23 17:31:59 +02:00
Moritz Eysholdt
b304d5e921 [ChangeSerializer] improve handling of multiple deleted regions
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-20 20:10:02 +02:00
Moritz Eysholdt
b2ec390e51 [ChangeSerializer] don't crash on no-op
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-18 15:04:59 +02:00
Moritz Eysholdt
fe62acf0f4 [ChangeSerializer] apply semantic changes from ReferenceUpdater properly
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-18 15:01:57 +02:00
Jan Koehnlein
954cfe1869 [refactoring] fixed test 2017-08-18 13:48:57 +02:00
Jan Koehnlein
57c80717cf [refactoring] moved test language to testlanguages 2017-08-18 13:48:57 +02:00
Moritz Eysholdt
5fcb0433b7 [ChangeSerializer] improved handling of insertions
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-18 11:27:27 +02:00
Moritz Eysholdt
0fe2568d92 [ChangeSerializer] use language specific IEObjectDescriptionProvider
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-17 15:23:48 +02:00
Sven Efftinge
ffca82299a [lsp] added workspace/executeCommand support (fixes #425)
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-08-17 15:22:10 +02:00
Moritz Eysholdt
370ad8a48a [ChangeSerializer] track Resource URI changes
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-16 18:09:20 +02:00
Moritz Eysholdt
e470ca52d8 Proof-of-Concept of how to implement semantic code actions
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-15 17:30:15 +02:00
Moritz Eysholdt
825c430f3d Work on #387: Updating of textual changes after modifications of the AST
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-15 17:30:15 +02:00
Moritz Eysholdt
6180c3dabf Added test language for ChangeSerializer
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-15 17:30:15 +02:00
Moritz Eysholdt
aa84196b56 added ecore.change to dependencies of xtext.ide
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-15 17:30:15 +02:00
Anton Kosiakov
987146a77f [ls] unifies workspace configs
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-08-09 09:48:30 +02:00
Sven Efftinge
4731723531 [lsp testing] switched back to synchronous testing mode.
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-07-25 13:06:30 +02:00
Sven Efftinge
afe4eac960 [LSP] Fixed concurrency issues in RequestManager
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-07-25 09:53:39 +02:00
Sven Efftinge
3e47aefea4 [LSP] Added language hook for ‘codeAction’.
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-07-21 10:04:58 +02:00
Sven Efftinge
139d01f703 [lsp] added hooks for code lenses and language specific capabalities
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-07-18 09:45:01 +02:00
Miro Spönemann
094d0306d3 Fixed #378: Throw a response error when workspace is not initialized 2017-07-14 13:30:43 +02:00
Anton Kosyakov
2ecf37f575 Merge pull request #376 from eclipse/ak/ls_cancellable_builds
[ls] cancellable builds
2017-07-05 17:33:30 +05:00
Anton Kosiakov
f66f444495 [RequestManager] fixed tests
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-07-05 15:56:03 +05:00
Miro Spönemann
84dece4cd4 Merge pull request #372 from eclipse/msp_issue57
Create an in-memory workspace configuration when no root URI is given
2017-07-05 12:45:55 +02:00
Anton Kosiakov
ebd20a59b7 [ls] cancellable builds (asynchronous write requests)
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-07-05 14:43:40 +05:00
Miro Spönemann
55e3eefcdb #57: Added a test with file scheme 2017-07-05 11:17:59 +02:00
Karsten Thoms
f46a269fdd gradleprojectbuilder added by Buildship project import
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-01 23:09:36 +02:00
Miro Spönemann
d424d9f80d Fixed #57: Create an in-memory workspace configuration when no rootURI is given 2017-06-30 11:17:51 +02:00
Anton Kosiakov
a74a9108f1 Fixes eclipse/xtext-core#245
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:33 +02:00
Sebastian Zarnekow
14b2f35684 Yet another attempt (tm) 2017-06-13 19:45:29 +02:00
Sebastian Zarnekow
9ba194e7f4 Another attempt to fix all the things (tm) 2017-06-13 16:45:44 +02:00
Sebastian Zarnekow
efa1c1c8b4 Put test langs into test source set 2017-06-13 15:54:33 +02:00
Sebastian Zarnekow
8f97ceae10 Attempt to fix the build, ignore Suites 2017-06-13 15:41:53 +02:00
Sebastian Zarnekow
63efd34885 Regenerated test languages 2017-06-13 13:11:51 +02:00
Sebastian Zarnekow
d4cb22078a Added content assist tests for intentation based langs 2017-06-12 15:14:19 +02:00
Sebastian Zarnekow
ae0d565b59 Removed empty test class 2017-06-12 15:01:29 +02:00
Christian Dietrich
a38d300cc3 code cleanup xtend warnings
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-05-24 14:52:38 +02:00
Miro Spönemann
a75bac8287 Increased version number to 2.13.0-SNAPSHOT 2017-05-24 13:41:16 +02:00
Mikhail Muhin
66a57d59e5 Windows tests fix (linesep)
Signed-off-by: Mikhail Muhin <delred@yandex.ru>
2017-05-17 17:09:24 +03:00
Sven Efftinge
8342fcb19f [LS / Incremental Builder] Fixed issues (failing tests) with reused resource sets 2017-02-02 09:34:47 +01:00
Miro Spönemann
ba911b4790 Lifted version number to 2.12.0-SNAPSHOT 2017-01-18 11:47:03 +01:00