Commit graph

265 commits

Author SHA1 Message Date
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
Miro Spönemann
0515d22685 Refreshed projects with Buildship 2.0 2017-01-12 10:32:06 +01:00
Miro Spönemann
02d3787904 Added common configuration file mwe2-workflows.gradle for generating Xtext languages from Gradle 2017-01-11 16:56:41 +01:00
Miro Spönemann
c8fc186e31 Removed project version constraints from test manifest 2017-01-06 13:57:23 +01:00
Karsten Thoms
56f1d1079e [492072] Regenerated Xtend code
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-01-02 14:33:55 +01:00
Karsten Thoms
c9b7bf5af2 [492072] Minimized usage of local variables
The Xtend compiler was optimized to minimize the usage of synthetic variables for member feature calls and right-hand assignments

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-12-22 00:54:25 +01:00
Christian Schneider
1d79c61326 [ide.tests] added references across files test in 'ReferenceTest'
Signed-off-by: Christian Schneider <christian.schneider@typefox.io>
2016-12-21 11:34:32 +01:00
Karsten Thoms
f2b5cdfe39 [507077] Do not emit empty concatenation
Changes to generated Xtend code due to compiler optimization

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-12-19 15:47:59 +01:00
Karsten Thoms
ce58a244bd Removed unused imports
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-12-05 15:55:04 +01:00
Karsten Thoms
79c3eab77c [#5] Changes to .classpath generated by Buildship import
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-11-30 10:00:21 +01:00
Karsten Thoms
8c381f8d59 Gradle composite
see https://github.com/eclipse/xtext-umbrella/issues/3

Remove org.eclipse.buildship.core.prefs
Files are generated on Gradle project import or by Oomph setup

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-11-28 14:41:08 +01:00
Karsten Thoms
c637df9451 Gradle composite
connection.project.dir changed to composite build location in new
umbrella project
value 'containers' added by Buildship

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-11-25 08:49:49 +01:00
Akos Kitta
91e38facaa Simplified coloring service API. Cleaned up unused extensions class.
- Fix issue when tried to update coloring for deleted file.

Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-11-15 23:05:58 +01:00
Akos Kitta
f898ee0942 Wired coloring service into the language server. Added build listener.
- When language client extension is connected to the server, it will
receive coloring updates as push notifications after each build event if
a concrete coloring service is available for the particular language.
 - Implemented a simple coloring service for the test language.
 - Reused ColoringParams and ColoringInformation from LSP4J, removed
redundant code.
 - Added extensions for coloring parameters.

Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-11-15 18:27:43 +01:00
Sven Efftinge
25782217ff Merge pull request #166 from kittaakos/signature_help_fix
[LS] Fixed defect in signature help service.
2016-11-09 10:34:40 +01:00
Akos Kitta
4c38e8ce27 Manually resolved merge conflicts.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-11-09 10:29:03 +01:00
Sven Efftinge
2dffc4f246 [LSP] fixed hanging tests 2016-11-09 09:56:52 +01:00
Sven Efftinge
e0705b0c41 [LSP] fixed test case 2016-11-08 18:42:30 +01:00
Sven Efftinge
593d891b17 [LSP] Introduced ILanguageServerAccess for LSP extensions to access documents, resources and get build notifications. Also added support for Client extensions. 2016-11-08 14:13:39 +01:00
Sven Efftinge
bb6e84bb28 [LSP] Introduced DocumentAccess to allow accessing document and resources in a safe way from within LSP extensions 2016-11-07 15:00:41 +01:00
Sven Efftinge
7bd5276760 [LSP] Introduced LanguageServerExtension to make LSP extendable by languages. 2016-11-06 16:05:34 +01:00
Sven Efftinge
baebe053cd [LSP] migrated to lsp4j 0.1.0 2016-11-05 20:52:35 +01:00
Akos Kitta
c518a4bbc0 [LS] Fixed defect in signature help service.
- It occurred when no arguments were used on use-side but were required
according to definition-side. Such cases parameter hints were not
available.
- Adjusted service interface name to Xtext conventions.

Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-11-02 10:07:49 +01:00
Miro Spönemann
986ec23fc7 Regenerated test languages
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-17 10:05:07 +02:00
Miro Spönemann
3d22454111 #127: Regenerated test languages
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-14 15:14:24 +02:00
Akos Kitta
d161e9ee13 Manually merged conflicting changes from upstream/master.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-10-14 13:56:01 +02:00
Miro Spönemann
44bc1f733b Regenerated test languages
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-13 15:29:31 +02:00
Akos Kitta
62c439af26 Merged conflicting changes.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-10-10 11:25:57 +02:00
Akos Kitta
37ec51a710 Added basic document highlight implementation.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-10-10 10:49:35 +02:00
Miro Spönemann
a22ae0fda2 Added launch configs for xtext.ide tests
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-05 16:59:05 +02:00
Sven Efftinge
f4b8bd4037 [lsp] allow calling uri-based services without require document being opened before. E.g. formatting could be called from a file browser’s context menu, without opening an editor first. 2016-09-14 15:07:48 +02:00
Akos Kitta
90383ff782 Fixed tests and cleaned up signature help implementation.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-09-12 21:48:06 +02:00
Akos Kitta
7ec7501435 Merged master to signaturehelp_testlang_signedoff branch.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-09-12 18:41:20 +02:00
Sven Efftinge
2aaa49fc3a [lsp] completion proposals should be sorted case-sensitively secondarily 2016-09-09 13:25:25 +02:00
Akos Kitta
e1628b5ca5 [LS] Added basic signature help support for the test language.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-09-07 14:23:49 +02:00
Jan Koehnlein
a7ed852e9f [ls][hover] extracted get contents method for easier override 2016-09-02 15:48:27 +02:00
akosyakov
aea7ec628c [ls] Build a closed in memory file as deleted
Change-Id: I7e51fda6ae864a30cda4645066b97bd1c78c2309
Signed-off-by: akosyakov <anton.kosyakov@typefox.io>
2016-09-01 09:32:40 +02:00
Sven Efftinge
d7ad9acbb3 [LSP] completion - always use textedit, as otherwise vscode doesn’t reliably show the proposal 2016-08-26 15:36:52 +02:00
Sven Efftinge
9b9537b4b6 [LSP] fixed some issue with URI normalization 2016-08-26 12:02:25 +02:00
Sven Efftinge
25fa355faa [lsp] generally allow adding secondary files in test cases 2016-08-26 09:06:30 +02:00
Moritz Eysholdt
5e203dea8e implemented ContentAssistContextFactoryTest
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-08-11 16:02:36 +02:00
Moritz Eysholdt
449ddcc804 added a test language for partial content assist
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-08-11 16:02:35 +02:00
Moritz Eysholdt
714bfe79c4 created InjectorProviders for test language
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-08-11 15:35:52 +02:00
Moritz Eysholdt
15fb792a28 regenerated test languages
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-08-11 15:35:51 +02:00
Moritz Eysholdt
597496cfb6 migrated content assist tests from xtext-eclipse/o.e.x.ui.tests
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-08-10 15:34:06 +02:00
Christian Dietrich
d8dc3ff328 fixed hoverservice for non self contained cross references #20
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-07-26 09:51:05 +02:00
Christian Dietrich
e94bb9581a extended test language to feature non self contained cross references #20
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-07-26 06:36:09 +02:00
Christian Dietrich
acd1e60ab4 improved uri handling on windows. fixes #49
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-07-25 12:19:50 +02:00
Christian Dietrich
1d23072608 implementation and test for formatting service #21
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-07-25 11:29:58 +02:00
Miro Spönemann
857a33656d Updated for recent ls-api changes: moved implementations to 'impl' subpackage 2016-07-21 16:35:03 +02:00
Miro Spönemann
6a7b298343 Updated for recent ls-api changes: using new builders and impl constructors 2016-07-21 12:02:33 +02:00
Lorenzo Bettini
ea3766c5d7 Merge remote-tracking branch 'origin/master' into lb_srcGenFolder 2016-07-20 09:48:10 +02:00
Christian Dietrich
e13ac6c279 update to ls-api 0.3.0-SNAPSHOT
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-07-19 19:08:57 +02:00
Lorenzo Bettini
4fa59ea2d5 removed src-gen folder as source folder in .ide.tests
The src-gen folder is not used in this project and should be removed
from the .classpath to avoid build errors in Eclipse.

Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
2016-07-19 17:15:23 +02:00