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
c052cd3f7c
Fixed javadoc.
...
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-11-15 23:07:41 +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
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
Akos Kitta
1547a9b496
Added semantic highlight service interface as an LSP extension.
...
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-11-11 14:48: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
60d4ce8ff6
[LSP] provide isDocumentOpen information for language server extensions
2016-11-09 09:23:53 +01:00
Sven Efftinge
c6b00dadbd
[LSP] don’t auto cancel all running requests onWrite ( fixes #171 )
2016-11-08 20:19:59 +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
d7b7fd731d
[LSP] lsp4j renamed CancelIndicator to CancelChecker
2016-11-08 09:13:22 +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
Christian Schneider
043c241931
[xtext.ide] replaced 'new FollowElementCalculator()' constructor call by a DI provider.get() call in 'FollowElementComputer' allowing to inject a customized calculator
...
Signed-off-by: Christian Schneider <christian.schneider@typefox.io>
2016-11-02 15:41:34 +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
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
Miro Spönemann
9ee0a225fb
Fixed typo in WorkspaceService
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-20 09:02:28 +02:00
Miro Spönemann
6e9931dfaa
#143 : Added ExecutorServiceProvider for better handling of executor instances
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-17 09:45:47 +02:00
Miro Spönemann
282f734fa0
Fixed #127 : Add means for controlling the lifecycle of executors
...
Also prepared changes required for eclipse/xtext-web#6
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-14 15:14:24 +02:00
Sven Efftinge
95dc78d200
updated to latest ls-api change
2016-10-14 14:01:44 +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
Akos Kitta
dcca808fe1
Merge remote-tracking branch 'upstream/master'
2016-10-14 13:35:51 +02:00
Sven Efftinge
5c5a08a1c2
[LSP] Moved creation of CompletionList to language-specific implementation
2016-10-14 10:55:23 +02:00
Sven Efftinge
f096887f0b
[LSP] don’t do a runWrite on didSave, because it cancels previous write actions.
2016-10-11 09:26:45 +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
673fadb3d3
Merge remote-tracking branch 'upstream/master'
2016-10-10 10:52:02 +02:00
Akos Kitta
70e51e52d5
Adjusted language server's document highlight API.
...
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-10-10 10:51:56 +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
c47a78e570
Using more explicit toString method
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-05 16:58:46 +02:00
Miro Spönemann
bf6bf4799d
Fixes #19 : Added null check for kind in IdeContentProposalCreator
...
Also corrected spelling in ContentAssistEntry.UNKNOWN
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-05 16:34:55 +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
Sven Efftinge
7c51af4e58
[lsp] use language specific proposal acceptor, added SerializableEObjectDescriptionProvider hook
2016-09-27 01:17:00 +02:00
Sven Efftinge
d98fc98882
[lsp] generate ‘sortText’ based on the actual order of elements
2016-09-26 16:44:41 +02:00
Sven Efftinge
0c7d7d4b70
[LSP] moved acceptor into primary signature, to allow proper handling of cancellation
2016-09-21 11:54:04 +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
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
Sven Efftinge
fc938f40b3
organized imports
2016-09-05 15:48:47 +02:00
Sven Efftinge
a897c056c0
[LS] removed unsupported use of LSP extension
2016-09-05 15:44:51 +02:00
Jan Koehnlein
a7ed852e9f
[ls][hover] extracted get contents method for easier override
2016-09-02 15:48:27 +02:00
akosyakov
d4fb8dfb62
[ls] Unwrap CompletionException
to get a real cause of failure
2016-09-01 09:32:40 +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
d52ada1cac
[lsp] use sortText for stable ordering of completionitems
2016-08-25 15:33:13 +02:00
Christian Dietrich
7255be1684
[500192] IdeContentProposalProvider - Don't call Scope Provider with null model
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-24 14:06:29 +02:00