Commit Graph

18 Commits (7da1d4a910f6864fb2eee4276dcc9f46f766377f)

Author SHA1 Message Date
Roman Iuvshin 7da1d4a910 [maven-release-plugin] prepare release 5.0.0-M6 2016-10-26 09:37:45 +00:00
Evgen Vidolob e053e1a778 #2695 add checks for null value for some LS capabuilities (#2884) 2016-10-25 16:10:41 +03:00
Evgen Vidolob 31df15d159 #2729 do not send file operation messages if LS doesn't exist (#2881) 2016-10-25 16:10:28 +03:00
Roman Iuvshin b986091e4a [maven-release-plugin] prepare for next development iteration 2016-10-07 10:22:41 +00:00
Roman Iuvshin 8f799b4c28 [maven-release-plugin] prepare release 5.0.0-M5 2016-10-07 10:22:37 +00:00
Kaloyan Raev 902912b5b9 Fixes #2592: Filter code completion proposals from language server (#2658)
* Fixes #2592: Filter code completion proposals from language server

Implements filtering based on the existing FuzzyMatches used for the
GoToSymbolAction.

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>

* Add empty line at end of file.
2016-10-06 14:39:53 +03:00
Kaloyan Raev 13a1a52f2e Fixes #2437: Apply multi-edit formatting without messing up the document (#2719)
* Fixes #2437: Shift remaining ranges when applying multi-edit formatting

A formatting request to a language server may result in a list of
multiple text edits. The ranges of all these text edits are based on the
yet unmodified document. Che applies the edits to the document one by
one. If the inserted text has a different length than the replaced text
then the ranges of the remaining edits become invalid and they must be
shifted appropriately.

This patch shifts the ranges as necessary. To achieve this, it first
converts the ranges based on lines and characters to linear ranges,
which are easier for shifting.

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>

* Simplify the shifting logic

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>

* Reworked: just applying the text edits backwards is enough
2016-10-06 14:29:14 +03:00
Anatoliy Bazko e079338a11 CHE-2552: Language server module refactoring (#2677) 2016-10-04 11:49:24 +03:00
Evgen Vidolob 71600b7fc7 #1801 implement 'Signature Help' LS feature (#2645) 2016-09-29 12:27:59 +03:00
Roman Iuvshin 33944c6ec1 set M5 version 2016-09-27 16:08:19 +03:00
Roman Iuvshin 152be21b4f [maven-release-plugin] prepare for next development iteration 2016-09-26 14:19:41 +00:00
Roman Iuvshin 89ab012035 [maven-release-plugin] prepare release 5.0.0-M3 2016-09-26 14:19:37 +00:00
Evgen Vidolob 1055326018 #2574 do not send file type to the client if LS cannot be run 2016-09-26 16:34:51 +03:00
Xavier Coulon e34a03855d Fix LanguageServerException message for CSharp LS (#2532)
Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
2016-09-21 18:38:45 +03:00
Roman Iuvshin 900ccbb807 set M3 version 2016-09-20 17:31:42 +03:00
Anatoliy Bazko baf73a60d4 CHE-2500: Use provider to prevent circular dependncy (#2502) 2016-09-20 13:09:02 +03:00
Kaloyan Raev f77d7f9b42 InitializeParams should include an empty ClientCapabilities (#2466)
The protocol specifies that the InitializeParams object contains a
capabilities property. Eclipse Che does not define it, so there are
language servers that fails to initialize because of this.

Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
2016-09-19 14:57:31 +03:00
Anatoliy Bazko c48a69f961 CHE-1287: Support for Language Server Protocol (#2452) 2016-09-16 12:45:02 +03:00