Commit graph

127 commits

Author SHA1 Message Date
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
Anton Kosiakov
99e96db692 [ls/hover] added a hover context null guard
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 12:26:01 +02:00
Anton Kosiakov
2782bd4e8c [ls/resourceAccess] fail if the resource set is null
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 12:03:17 +02:00
Anton Kosiakov
2cfbea4021 [ls] don't silent the standard error stream
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 12:01:48 +02:00
Anton Kosiakov
fcef1ccdd1 [ls] fixed args testing
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:33 +02:00
Anton Kosiakov
9cff8e1696 [ls] shorten server launcher options' names
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:33 +02:00
Anton Kosiakov
2232228372 [ls] extracted ServerLauncer.launch method
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:33 +02:00
Anton Kosiakov
179b1c50b0 [ls] Added a launching option to enable/disable validation
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:33 +02:00
Anton Kosiakov
5bfb9dfdeb [ls] Added a launching option to enable/disable tracing
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:33 +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
Anton Kosiakov
9da18c79ea [ls] made HoverService extensible
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:32 +02:00
Anton Kosiakov
88a60ba85f [ls/hover] extracted EMPTY_HOVER const
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-06-18 11:43:32 +02:00
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
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
Sven Efftinge
5f8721ff09 [LS] minor improevements 2017-06-08 10:24:51 +02:00
Sebastian Zarnekow
174e189269 Extract method to avoid deprecation warning in LanguageServerImpl 2017-06-02 12:36:17 +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
Miro Spönemann
64717fa183 Updated generated code 2017-05-19 10:24:14 +02:00
Vlad Dumitrescu
cb8d93a3e1 server: file log name has whitespace
The whitespaces make it not work on Windows. 

I'm not sure if the suggested solution is the best.

Signed-off-by: Vlad Dumitrescu <vladdu55@gmail.com>
2017-05-16 21:35:40 +02:00
Akos Kitta
5262b31613 GH-323: Re-generated the UriExtensions. Fixed whitespaces.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-04-26 09:04:25 +02:00
Christian Dietrich
f7f1c2fea6 #277 fixed typo
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-02-13 14:33:29 +01:00
Sven Efftinge
a2c83da23d [lsp] allow scheme’s for unregistered filesystems 2017-02-11 15:25:32 +01:00
akosyakov
361ac9f799 Replace Either<T, List<T>> with List<T> 2017-02-07 08:42:06 +05:00
akosyakov
14f8f9b58b [lsp] apply Either type 2017-02-03 19:53:13 +05:00
Sven Efftinge
945301f598 use lsp4j 0.2.0-SNAPSHOT 2017-02-03 11:31:18 +01:00
Sven Efftinge
8342fcb19f [LS / Incremental Builder] Fixed issues (failing tests) with reused resource sets 2017-02-02 09:34:47 +01:00
akosyakov
b7a5726d9f Migrate to the version 0.2.0-SNAPSHOT of lsp4j 2017-02-02 11:06:48 +05:00
Sven Efftinge
1c2b7a49f3 Merge pull request #237 from eclipse/se_reuse_resourcet
[language server / incrmental builder] allow reusing resource set
2017-02-01 12:08:19 +01:00
akosyakov
65ac06cfae release the semaphore if the read request is cancelled 2017-01-31 10:24:49 +05:00
Miro Spönemann
ba911b4790 Lifted version number to 2.12.0-SNAPSHOT 2017-01-18 11:47:03 +01:00
Christian Dietrich
80252ebeec Return Object insteadof null in LanguageServer.shutdown.
Solves #240

Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-01-13 09:14:18 +01:00
Miro Spönemann
0515d22685 Refreshed projects with Buildship 2.0 2017-01-12 10:32:06 +01:00
Sven Efftinge
6761c499cc [lsp] ensure resources are initialized 2017-01-11 15:17:02 +01:00
Sven Efftinge
dd82d2ac5f [language server / incrmental builder] allow reusing resource set 2017-01-11 15:14:15 +01:00
Karsten Thoms
9d167ecacb Fixed javadoc links
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-01-05 07:51:23 +01:00
Miro Spönemann
bed2c5fd07 ExecutorServiceProvider: changed injected constructor to injected method, added synchronized block for multithreading support 2017-01-04 09:20:27 +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
Miro Spönemann
cc1ba2c124 Added Manifest version constraint to LSP4J 2016-12-19 09:36:03 +01:00
Sven Efftinge
551c649f74 [LSP] don’t let people wait for their colleages builds 2016-12-16 10:25:16 +01:00
Sven Efftinge
f035aba82b [LSP] moved aquiring read lock back into the function, to avoid a deadlock in cases doRead is called from within a write lock. 2016-12-15 10:42:18 +01:00
Sven Efftinge
a5e9b52dc3 [LS] keep order of incoming messages 2016-12-06 14:03:45 +01:00
Sven Efftinge
2da8aa010c updated LS to latest fixes in LSP4J 2016-11-30 15:06:39 +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