Commit graph

5834 commits

Author SHA1 Message Date
Anton Kosiakov
bc3628245b [ls/symbols] accept symbols only with valid name, kind and range
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:32 +02:00
Anton Kosiakov
4f7a45473d [ls] ignore workspace symbols without locations
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:32 +02:00
Anton Kosiakov
66ab7ee645 [callHierarchy] fixed NPEs
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:32 +02:00
Anton Kosiakov
7f91cc9c09 [referenceFinder] refine a javadoc for IResourceAccess
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:32 +02:00
Anton Kosiakov
51ffbf898f [ls] tolerate a missing project manager, e.g. for static libraries
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:32 +02:00
Anton Kosiakov
83debbcda6 Decompose ServerLauncher.redirectStandardStreams
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:32 +02:00
Karsten Thoms
b42871bcd7 Merge branch 'master' of git@github.com:eclipse/xtext-core.git 2017-06-14 19:09:09 +02:00
Karsten Thoms
aca69748fd formatting
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-06-14 19:08:56 +02:00
Sven Efftinge
50cb47acb9 Merge pull request #334 from miklossy/master
[#315] Enable issue matching customization of the ValidationTestHelper.
2017-06-14 17:08:29 +02:00
Sven Efftinge
03891a92bf Merge pull request #364 from eclipse/se_ls_lock_improvements
[LS] minor improevements
2017-06-14 16:57:08 +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
21320c6f85 Renamend another test class to *Suite 2017-06-13 15:53:13 +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
550eede373 Adjustments to XtextAntlrGeneratorFragment 2017-06-12 15:24:23 +02:00
Sebastian Zarnekow
b976102162 Made proposal conflict helper more robust 2017-06-12 15:16:27 +02:00
Sebastian Zarnekow
d4cb22078a Added content assist tests for intentation based langs 2017-06-12 15:14:19 +02:00
Sebastian Zarnekow
c8fd2e5df9 Improved content assist for indentation based langs 2017-06-12 15:12:57 +02:00
Sebastian Zarnekow
0657d731dd Make test cases green, improve token placement 2017-06-12 15:09:57 +02:00
Sebastian Zarnekow
9f60f6ea38 More test cases for snythetic token placement 2017-06-12 15:02:55 +02:00
Sebastian Zarnekow
ae0d565b59 Removed empty test class 2017-06-12 15:01:29 +02:00
Christian Dietrich
0c5a1731cd Merge pull request #365 from eclipse/update_gradle
update gradle wrapper to 3.5
2017-06-09 18:03:21 +02:00
Christian Dietrich
cafeaec480 use xtext gradle plugin version 1.0.18
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-06-09 17:28:55 +02:00
Christian Dietrich
1c43d3cb55 use xtext gradle plugin version 1.0.18
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-06-09 16:59:59 +02:00
Christian Dietrich
1466ed1675 use gradle 3.5 in new project wizard
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-06-09 09:08:19 +02:00
Christian Dietrich
8e297be37f update gradle wrapper to 3.5
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-06-08 16:24:13 +02:00
Christian Dietrich
f7993d9e87 Merge pull request #356 from eclipse/cd_eclipse_issue272
Fixed problem with the initial build after project creation in maven tycho
2017-06-08 14:08:42 +02:00
Sven Efftinge
5f8721ff09 [LS] minor improevements 2017-06-08 10:24:51 +02:00
Sebastian Zarnekow
19a3930632 Improved synthetic token placement 2017-06-07 10:31:21 +02:00
Christian Dietrich
08ae63f360 Merge pull request #361 from eclipse/cd_betterParsingTest
better message in parsing test
2017-06-02 17:40:31 +02:00
Christian Dietrich
c52eced33e better message in parsing test
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-06-02 17:29:11 +02:00
Sebastian Zarnekow
c692ac35df Merge pull request #360 from eclipse/sz_cleanupWarnings
Cleanup compiler warnings
2017-06-02 14:49:53 +02:00
Sebastian Zarnekow
34bf1e5d30 Introduce local vars to avoid compiler warning 2017-06-02 12:42:28 +02:00
Sebastian Zarnekow
1521d1ffc3 Mark overriding methods as synchronized since it does no harm 2017-06-02 12:41:56 +02:00
Sebastian Zarnekow
ede5399151 Extract method to avoid deprecation warning 2017-06-02 12:40:37 +02:00
Sebastian Zarnekow
18c6233438 Mark test methods as deprecated that test deprecated code 2017-06-02 12:39:48 +02:00
Sebastian Zarnekow
beb7189a8b Suppress keyword validation in test languages 2017-06-02 12:36:53 +02:00
Sebastian Zarnekow
174e189269 Extract method to avoid deprecation warning in LanguageServerImpl 2017-06-02 12:36:17 +02:00
Christian Dietrich
7168c3a175 Fixed problem with the initial build after project creation in maven
tycho
https://github.com/eclipse/xtext-eclipse/issues/272

Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-05-29 14:06:58 +02:00
Yann Thierry-Mieg
3f9898593c
remove greedy flags from critical dependency paths These greedy flags are pulling in a lot of unwanted plugins in eclipse update scenarios.
More precisely, any install of org.eclipse.xtext into an eclipse with eclipse/releases/ update site (e.g. every eclipse) will install e.g. jdt.core among other things.
This is a problem especially when the original eclipse product is very lean, e.g. a headless application relying on Xtext to parse models to EMF.

It is also undesirable overall in other scenarios, see also :
(older bug report) https://bugs.eclipse.org/bugs/show_bug.cgi?id=464344
(current issue on github) #345
(documentation for why greedy is bad for tool providers using Xtext) https://wiki.eclipse.org/Equinox/p2/Publisher

This commit removes greedy from dependencies on things which are not needed at runtime : xtend, mwe

Signed-off-by: Yann Thierry-Mieg <Yann.Thierry-Mieg@lip6.fr>
2017-05-25 12:21:55 +02:00
Christian Dietrich
569a3ab241 cleanup unused imports
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-05-24 15:11:20 +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
Christian Dietrich
12ff9ede5c regen with newest xtext
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-05-24 13:54:44 +02:00
Miro Spönemann
b4d1ecf9ad Use LSP4J release version 0.2.0 2017-05-24 13:42:09 +02:00
Miro Spönemann
a75bac8287 Increased version number to 2.13.0-SNAPSHOT 2017-05-24 13:41:16 +02:00
Christian Dietrich
ccd787bb0e Merge pull request #350 from eclipse/cd_issue349
dont generate traced accessor for java.lang.Object#getClass
2017-05-24 11:28:24 +02:00
Christian Dietrich
72a2e8856e dont generate traced accessor for java.lang.Object#getClass
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-05-24 11:12:39 +02:00
Christian Dietrich
73531344c9 Fixed TracingSugarTest on Windows
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-05-21 08:55:20 +02:00