Commit graph

192 commits

Author SHA1 Message Date
Akos Kitta
fd8aa2f397 Updated coloring LSP extension service API.
- Renamed semantic highlighting to coloring.
 - Updated abstract test class to provide coloring parameters.

Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-11-15 13:33:21 +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
Miro Spönemann
b92f63bc54 eclipse/xtext#1080: Add name and description to generated poms
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-23 13:36:04 +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
Moritz Eysholdt
d2bc2f52f1 [serializer/perf] don't generate events for unassigned parser rules
Because they're neither consumed by the old- nor the new formatter.
And they are not needed to generate text.

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-13 19:30:55 +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
Sven Efftinge
0d929c802f [lsp testing] Added optional assert hook as an alternative to the convenient but fragile string comparison approach 2016-10-10 09:16:16 +02:00
Sven Efftinge
22c8d64437 [LSP] minor improvements in error handling 2016-09-30 13:42:03 +02:00
Sven Efftinge
9f39754cba [lsp] introduced Contentassistentry#documentation, pad sortText. 2016-09-27 12:48:26 +02:00
Christian Dietrich
145aa781a2 Merge pull request #103 from kthoms/kth/build_gradle_tab_for_space
[format] Streamlined whitespaces
2016-09-14 16:15:52 +02:00
Karsten Thoms
9b0947fe62 [format] Streamlined whitespaces
Consistent use of tabs instead of spaces
Use single whitespace between brackets

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-14 16:00:10 +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
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
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
25fa355faa [lsp] generally allow adding secondary files in test cases 2016-08-26 09:06:30 +02:00
Christian Dietrich
292d78f5e9 fixed another eclipse metadata flaw
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-20 09:30:55 +02:00
Christian Dietrich
0a9f2b5b0a added log4j.spi to imported packages
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-19 22:37:37 +02:00
Christian Dietrich
5738a92b86 fixed broken eclipse metadata
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-19 21:45:11 +02:00
Christian Dietrich
f0f3c52f2d added missing smoketest package export in xtext.testing
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-19 18:56:39 +02:00
Christian Dietrich
de95cc4a25 added missing logging package export in xtext.testing
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-19 17:12:44 +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
Miro Spönemann
621697d56f Updated for recent ls-api changes: renamed 'container' to 'containerName' 2016-07-25 12:39:51 +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
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
akosyakov
d21cad280c [LSI][contentAssist] Compute a text edit for entries with non empty
prefix
2016-07-12 16:11:43 +02:00
Miro Spönemann
f1a65fc4b9 Removed deprecated dummy classes (the original classes have been marked deprecated in xtext.junit4) 2016-07-08 11:40:14 +02:00
Miro Spönemann
1913c082aa Removed @since tags (the xtext.testing classes are all new) 2016-07-08 11:38:56 +02:00
Miro Spönemann
e80ec81fd7 Updated manifests and launch configs, added filter for parent subfolders 2016-07-08 11:36:31 +02:00
Miro Spönemann
decf9b22aa Checked in project metadata based on Buildship 2016-07-07 10:19:04 +02:00
Miro Spönemann
3c6725c105 Removed project meta data 2016-07-07 10:09:01 +02:00
Sven Efftinge
9cd2da7dad update gradle version for better workspace resolution, include testlanguages.ide 2016-07-07 09:22:11 +02:00
Moritz Eysholdt
f5473c664f provide deprecated classes with same simple name to ease migration
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-06-19 12:38:09 +02:00
Moritz Eysholdt
eb8fac36f7 renamed org.eclipse.xtext.junit4 to org.eclipse.xtext.testing 2016-06-17 18:05:10 +02:00
Moritz Eysholdt
9e0a31aec5 added generated files 2016-06-17 17:59:39 +02:00
Miro Spönemann
e1a4782403 Generated code 2016-06-14 09:45:31 +02:00
Miro Spönemann
4270986cba Moved projects to root of repository 2016-06-14 08:30:25 +02:00