Moritz Eysholdt
860bf74ab5
[ChangeSerializer] fixed a potential NPE
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2018-03-03 12:13:25 +01:00
Christian Dietrich
bc4acdc0b0
fixed metadata
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-02-27 07:43:05 +01:00
Christian Dietrich
58113d0f41
Regenerated against lastest xbase-lib
...
https://github.com/eclipse/xtext/issues/1174
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-02-26 15:07:09 +01:00
Christian Dietrich
7ab31042c8
maintained x-friends https://github.com/eclipse/xtext/issues/1173
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-02-23 15:57:53 +01:00
Christian Dietrich
8cb265024d
[ #638 ] Use Formatting options passed by the client
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2018-02-20 17:54:55 +01:00
Jan Koehnlein
a0d9a30c02
GH-639 use serializer scope provider in change serializer
2018-02-15 09:39:52 +01:00
Anton Kosiakov
b84e52630e
[lsp] ensure requests processing order
...
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2018-01-19 11:55:14 +01:00
Karsten Thoms
90cef27ab4
[ eclipse/xtext#1160 ] Update copyright date range
...
Recompiled Xtend files
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-16 09:11:22 +01:00
Karsten Thoms
134c788006
[ eclipse/xtext#1160 ] Update copyright date range
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-15 16:28:39 +01:00
Karsten Thoms
28c9bf27fe
[ eclipse/xtext#1160 ] Fixed license name
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-15 11:44:29 +01:00
Sebastian Zarnekow
c3c736b566
Bug 529361: Preserve forward backwards compatibility in edge cases
2018-01-04 10:12:06 +01:00
Florian Stolte
3a740a437e
[ eclipse/xtext#1155 ] Cleaned up javadoc to remove some warnings.
...
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-19 12:04:05 +01:00
Karsten Thoms
d5e6578a6d
Merge pull request #588 from FStolte/issue1152
...
[eclipse/xtext#1152 ] Java 9 - Added Automatic-Module-Name header
2017-12-18 10:04:26 +01:00
Sebastian Zarnekow
bcaf864fac
Fixed backwards compatibility issue
2017-12-15 13:52:53 +01:00
Florian Stolte
1bc930b5b6
[ eclipse/xtext#1152 ] Java 9 - Added Automatic-Module-Name header
...
- added header to existing manifest files
- added header to manifest generation in xtext generator and wizard
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-12-14 14:16:20 +01:00
Sebastian Zarnekow
a7a45658ef
Really use the latest Xtend
2017-12-08 15:39:38 +01:00
Sebastian Zarnekow
5300cd812f
Compiled with latest Xtend
2017-12-08 15:17:13 +01:00
Sebastian Zarnekow
7f3e555503
Reformatted code
2017-12-08 09:12:15 +01:00
Sebastian Zarnekow
3e74daa61c
Do not attempt to bind CA lexer in baseclass
2017-12-08 09:10:30 +01:00
Sebastian Zarnekow
183de4ae98
Remove unused import
2017-12-07 18:28:15 +01:00
Sebastian Zarnekow
5b96338bc6
Extract more common CA code to base classes
2017-12-07 17:28:25 +01:00
Sebastian Zarnekow
7235dfee19
Updated copyright headers
2017-12-07 16:11:47 +01:00
Sebastian Zarnekow
20d8e31730
Fixed copy'n'paste since tag problem
2017-12-07 16:09:03 +01:00
Sebastian Zarnekow
c6e5d8af68
Avoid duplicated code in CA infrastructure
2017-12-07 15:57:35 +01:00
Sebastian Zarnekow
9b11cb58f9
Merge remote-tracking branch 'origin/master' into sz_contentAssistPRC
2017-12-07 10:14:33 +01:00
Sebastian Zarnekow
9ed107859f
Updated since tags
2017-12-07 08:29:06 +01:00
Sebastian Zarnekow
74258fc120
Fixed since tags
2017-12-06 18:31:24 +01:00
Jan Koehnlein
2c0b77541a
[cleanup] various typos
2017-12-05 20:56:55 +01:00
Jan Koehnlein
15b13a279d
GH-520 allow shadowed resource descriptions in language server scenario
2017-12-05 20:56:55 +01:00
Christian Dietrich
9e66409f38
regenerated xtend code (java 9 java.lang.Module conflict)
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-12-01 19:13:09 +01:00
Sebastian Zarnekow
6f78cb9084
Merge branch 'master' into sz_contentAssistPRC
2017-12-01 12:13:06 +01:00
Karsten Thoms
07b182918c
Merge pull request #529 from eclipse/me/newline_fix
...
Fixed #460 : Test failure on Windows due to CarriageReturn char
2017-11-22 12:17:49 +01:00
Christian Dietrich
5bef8e69c8
correctly decode vs code uris on windows #528
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-11-18 22:33:08 +01:00
Florian Stolte
2a503da006
Refactoring: Cleaning up warnings.
...
Removed four unused imports and one unused local variable declaration.
Signed-off-by: Florian Stolte <fstolte@itemis.de>
2017-11-15 15:54:57 +01:00
Moritz Eysholdt
f41d82c540
Fixed #460 : Test failure on Windows due to CarriageReturn char
2017-11-08 08:48:31 +01:00
Christian Dietrich
4960af9c0a
set version to 2.14
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-10-27 09:03:34 +02:00
Moritz Eysholdt
72f6e48cb1
[ChangeSerializer] fixed spelling mistake
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-17 08:37:34 +02:00
Moritz Eysholdt
6bb2edcad3
[ChangeSerializer] added progress monitor, added documentation
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-17 08:26:33 +02:00
Jan Koehnlein
3ffea25e43
[releng] export new packages
...
Signed-off-by: Jan Koehnlein <jan.koehnlein@typefox.io>
2017-10-13 16:24:30 +02:00
Miro Spönemann
ca03a63881
Merge pull request #496 from eclipse/msp_lsp4jUpdate
...
Updated LSP4J to version 0.3
2017-10-12 09:51:52 +02:00
Moritz Eysholdt
309d354e57
[ChangeSerializer] fixed potential NPEs
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-11 20:33:32 +02:00
Moritz Eysholdt
6c671f9aaf
[ChangeSerializer] update references with FQNs and semi-FQNs properly
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-11 14:54:40 +02:00
Miro Spönemann
cb7d6b6ac0
Updated LSP4J to version 0.3
2017-10-11 10:22:30 +02:00
Moritz Eysholdt
1f724e515c
[ChangeSerializer] added more guards
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-10 15:29:48 +02:00
Moritz Eysholdt
d75041ac7d
[ChangeSerilizer] don't NPE on broken ReferenceDescriptions
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-10-10 15:29:48 +02:00
Sebastian Zarnekow
dafde22993
Incorporated review feedback
2017-10-06 09:53:25 +02:00
Jan Koehnlein
456de3691a
[lsp] removed JIT bindings for rename refactoring
2017-10-02 15:21:16 +02:00
Jan Koehnlein
b12f7e1e82
[refactoring] moved/renamed classes of CS-based refactoring
2017-10-02 15:17:48 +02:00
Jan Koehnlein
1245d9893d
changes according to feedback
2017-09-29 16:31:32 +02:00
Jan Koehnlein
fdd7c61451
[api] refactored the change serializer API
2017-09-29 16:31:32 +02:00
Jan Koehnlein
b31949c99b
[refactoring] added name validation
2017-09-29 16:31:32 +02:00
Jan Koehnlein
0a891cba1c
[releng] added missing @since tags
2017-09-29 16:31:32 +02:00
Jan Koehnlein
4132407834
[rename] change serializer based rename refactoring
2017-09-29 16:31:32 +02:00
Jan Koehnlein
a2f13444bd
[cs] handle self-ref and direct refs when updating references
2017-09-29 16:31:32 +02:00
Jan Koehnlein
69b3b4504e
[cs] use resolved element for SimpleNameDescriptions
2017-09-29 16:31:32 +02:00
Jan Koehnlein
9072f721e1
[refactoring] on copy, load the original resource separately before changing its URI
2017-09-29 16:31:32 +02:00
Jan Koehnlein
bee8529bf5
[refactoring] changes based on internal discussions
...
- use one strategy call for all changes
- have a single change type per context
- use changeSerializer.updateRelatedFiles = false for copy refactorings
- load resource, resolve it, change the URI and then startRecording for copy
2017-09-29 16:31:32 +02:00
Jan Koehnlein
c4d33d4186
[refactoring] refactored resource relocation and added CopyParticipant
2017-09-29 16:31:32 +02:00
James Tooley
19986743a1
Added generated java file.
2017-09-27 11:06:30 +02:00
James Tooley
27bd8abb0d
https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md Server should exit with success or fail code when exit has been called.
...
Exit Notification
A notification to ask the server to exit its process. The server should exit with success code 0 if the shutdown request has been received before; otherwise with error code 1.
Notification:
method: 'exit'
params: void
from
https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md
Signed-off-by: James Tooley <jetter019@msn.com>
2017-09-26 16:18:53 +02:00
Christian Dietrich
22b550488b
Don't publish issues with severity ignore #453
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-19 07:00:21 +02:00
Sebastian Zarnekow
ec33ac5e7a
Fixed handling of parameterized rules in CA
2017-09-13 18:20:53 +02:00
Sven Efftinge
11c084dc5e
GH-73 Replaced the string replace with URI factory to fix the authority.
...
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-09-13 17:24:57 +02:00
Akos Kitta
f2d050a60f
GH-73 Replaced the URI-string mapping logic with a string replace.
...
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-13 17:24:57 +02:00
Akos Kitta
867aa0d457
GH-456: Fixed regression in URIExtension.
...
Made sure that `inmemory:/` URI scheme will not be transformed into a
file URI.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2017-09-13 17:24:57 +02:00
Sebastian Zarnekow
1126c7f569
Extracted common base type for old and new AbstractContentASsistParser
2017-09-12 10:28:09 +02:00
Sebastian Zarnekow
f1762d1aec
Extracted anonymous classes to toplevel types to simplify customizing
2017-09-11 18:31:54 +02:00
Sebastian Zarnekow
b2767bf73b
Extracted smaller methods to improve readability
2017-09-11 17:20:27 +02:00
Sebastian Zarnekow
6f1fc4018b
Added JavaDoc
2017-09-11 17:19:08 +02:00
Sebastian Zarnekow
3e19521d33
Reformatted code
2017-09-11 17:16:34 +02:00
Sebastian Zarnekow
4a7871765e
Regenerated UriExtensions + test
2017-09-11 17:01:10 +02:00
Sebastian Zarnekow
ee53a07c39
Fixed problem with parameterized rule calls in CA
2017-09-11 17:00:48 +02:00
Karsten Thoms
d0ef36771a
Merge pull request #403 from xcariba/url-decode
...
Decode file URL
2017-09-08 10:33:39 +02:00
Alexander Kozinko
51f879e3d7
Added tests, fixed EMF URI handling
...
Signed-off-by: Alexander Kozinko <xcariba@gmail.com>
2017-09-06 11:35:09 +03:00
Sebastian Zarnekow
7be950d6a2
Merge branch 'master' into sz_gh341
2017-09-05 23:11:22 +02:00
Sebastian Zarnekow
1c5b2b0320
Merge pull request #366 from eclipse/sz_bug476690
...
Refined token placement for indentation based languages
2017-09-05 23:02:36 +02:00
Christian Dietrich
ee17620eb6
added missing @override annotations
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-05 20:15:44 +02:00
Alexander Kozinko
ca60760903
Added support for spaces and non-latin symbols in file paths
...
Signed-off-by: Alexander Kozinko <xcariba@gmail.com>
2017-09-04 18:44:04 +03:00
Sebastian Zarnekow
0690bcf72d
Use better method name
2017-08-30 10:11:43 +02:00
Sebastian Zarnekow
2ae23e7778
Use Character.isWhitespace
2017-08-30 10:09:51 +02:00
Christian Dietrich
b05e281c51
made o.e.xtext.ide dep. to org.eclipse.core.runtime optional #446
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-08-29 12:52:50 +02:00
Moritz Eysholdt
8f9de8181b
[ChangeSerializer] resolve references before recording
2017-08-23 18:27:51 +02:00
Moritz Eysholdt
8ff6017c62
[ChangeSerializer] improved toString()
2017-08-23 18:27:51 +02:00
Moritz Eysholdt
a8e45e7cb5
[ChangeSerializer] fixed potential infinite loop
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-22 16:39:45 +02:00
Moritz Eysholdt
020cbcbb19
[ChangeSerializer] be graceful when no IFormatter2 is available
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-22 16:39:45 +02:00
Moritz Eysholdt
7e0f4f9b88
[ChangeSerializer] improve code structure
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-22 16:39:45 +02:00
Miro Spönemann
20345b870f
Handle the case that dynamicRegistration is null
2017-08-22 09:50:53 +02:00
Moritz Eysholdt
e66d0042e5
[ChangeSerializer] be more robust regarding broken xrefs
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-20 21:12:48 +02:00
Moritz Eysholdt
b2ec390e51
[ChangeSerializer] don't crash on no-op
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-18 15:04:59 +02:00
Moritz Eysholdt
fe62acf0f4
[ChangeSerializer] apply semantic changes from ReferenceUpdater properly
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-18 15:01:57 +02:00
Moritz Eysholdt
10f00095f9
[ChangeSerializer] keep order stable
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-18 15:01:57 +02:00
Jan Koehnlein
b2d9e1a2ab
[refactoring] removed context factory
...
The method isXtextResouce() that required the factory is bogus
2017-08-18 13:48:57 +02:00
Jan Koehnlein
57c80717cf
[refactoring] moved test language to testlanguages
2017-08-18 13:48:57 +02:00
Jan Koehnlein
007cb435fc
[refactoring] change serializer based resource move refactorings
2017-08-18 13:48:57 +02:00
Jan Koehnlein
4ec4a1bdb4
[serializer] handle duplicate resource registration gracefully
...
[refactoring] some API improvements
[refacroring] a bit of JavaDoc
2017-08-18 13:48:57 +02:00
Moritz Eysholdt
cae9fd0ef3
[ChangeSerializer] bugfix in related resource computation
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-18 11:57:29 +02:00
Moritz Eysholdt
5fcb0433b7
[ChangeSerializer] improved handling of insertions
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-18 11:27:27 +02:00
Moritz Eysholdt
0fe2568d92
[ChangeSerializer] use language specific IEObjectDescriptionProvider
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-17 15:23:48 +02:00
Sven Efftinge
ffca82299a
[lsp] added workspace/executeCommand
support ( fixes #425 )
...
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-08-17 15:22:10 +02:00
Moritz Eysholdt
b24879903a
[ChangeSerializer] don't treat moved resources as related
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-17 13:40:37 +02:00
Moritz Eysholdt
7b57bd86d8
[ChangeSerializer] allow more services to have language specific impls
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-17 13:40:37 +02:00
Jan Koehnlein
faee40e062
[refactoring] extracted LTK independent APIs to ide
2017-08-17 09:29:51 +02:00
Moritz Eysholdt
370ad8a48a
[ChangeSerializer] track Resource URI changes
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-16 18:09:20 +02:00
Moritz Eysholdt
3fc6e535ca
[ChangeSerializer] export packages with access restriction
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-16 18:09:20 +02:00
Christian Dietrich
9034b8af03
fixed ecore change version
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-08-16 07:14:36 +02:00
Moritz Eysholdt
825c430f3d
Work on #387 : Updating of textual changes after modifications of the AST
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-15 17:30:15 +02:00
Moritz Eysholdt
aa84196b56
added ecore.change to dependencies of xtext.ide
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-15 17:30:15 +02:00
Moritz Eysholdt
5c16f5f0cf
[JavaFormatting] set auto-wrap trigger to 120 chars
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-15 17:30:15 +02:00
Anton Kosiakov
987146a77f
[ls] unifies workspace configs
...
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-08-09 09:48:30 +02:00
Sebastian Zarnekow
4a59384b6f
Missing @since tags
2017-08-07 11:13:13 +02:00
Sven Efftinge
4731723531
[lsp testing] switched back to synchronous testing mode.
...
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-07-25 13:06:30 +02:00
Sven Efftinge
afe4eac960
[LSP] Fixed concurrency issues in RequestManager
...
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-07-25 09:53:39 +02:00
Sebastian Zarnekow
6fbc7bcea2
Do not increase the syntax error count in strict mode at EOF location
...
Fixes issue 341
2017-07-23 19:57:26 +02:00
Sven Efftinge
3e47aefea4
[LSP] Added language hook for ‘codeAction’.
...
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-07-21 10:04:58 +02:00
Sven Efftinge
139d01f703
[lsp] added hooks for code lenses and language specific capabalities
...
Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
2017-07-18 09:45:01 +02:00
Miro Spönemann
f4f8d5eb68
Renamed the private field to _workspaceConfig
2017-07-14 13:35:39 +02:00
Miro Spönemann
8907743536
Use a protected getter to access the workspace config
2017-07-14 13:30:43 +02:00
Miro Spönemann
094d0306d3
Fixed #378 : Throw a response error when workspace is not initialized
2017-07-14 13:30:43 +02:00
Karsten Thoms
3a0ed38274
refreshWorkspaceConfig - Fixed initialization of remainingProjectNames
...
It is wrong to initialize the remainingProjectNames with the newHashSet
function since it has the side effect that it will put the keySet as
whole as single entry to the new map instead of putting its values in
the map.
exists - added additional null guard
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-14 10:40:31 +02:00
Anton Kosyakov
2ecf37f575
Merge pull request #376 from eclipse/ak/ls_cancellable_builds
...
[ls] cancellable builds
2017-07-05 17:33:30 +05:00
Anton Kosiakov
bf77c265d4
[RequestManager] cancel requests to shutdown
...
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-07-05 17:08:57 +05:00
Miro Spönemann
84dece4cd4
Merge pull request #372 from eclipse/msp_issue57
...
Create an in-memory workspace configuration when no root URI is given
2017-07-05 12:45:55 +02:00
Miro Spönemann
cdeb89d335
Explicitly return null
2017-07-05 12:44:21 +02:00
Anton Kosiakov
ebd20a59b7
[ls] cancellable builds (asynchronous write requests)
...
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-07-05 14:43:40 +05:00
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
Miro Spönemann
d424d9f80d
Fixed #57 : Create an in-memory workspace configuration when no rootURI is given
2017-06-30 11:17:51 +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
Sebastian Zarnekow
b976102162
Made proposal conflict helper more robust
2017-06-12 15:16:27 +02:00
Sebastian Zarnekow
c8fd2e5df9
Improved content assist for indentation based langs
2017-06-12 15:12:57 +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
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