Commit graph

5834 commits

Author SHA1 Message Date
Moritz Eysholdt
81aa59709e fixed #383: LiveShadowedResourceDescriptions should be live
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-18 13:14:56 +02:00
Moritz Eysholdt
fb758b8e98 Allow to fill the InMemoryURIHandler programmatically with content
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-18 13:14:18 +02:00
Karsten Thoms
6caf5f8ff5 Merge pull request #392 from eclipse/kth_IFileSystemScanner
Added null guard for result of listFiles
2017-07-18 12:06:14 +02:00
Sven Efftinge
3627b52a6b Merge pull request #395 from eclipse/se_codelens
[lsp] added hooks for code lenses and language specific capabalities
2017-07-18 09:53:37 +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
8e567178cb Merge pull request #379 from eclipse/msp_issue378
Throw a response error when workspace is not initialized
2017-07-14 14:29:06 +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
62b1cf3af2 Merge pull request #391 from eclipse/kth_WorkspaceManager
refreshWorkspaceConfig - Fixed initialization of remainingProjectNames
2017-07-14 12:14:10 +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
Karsten Thoms
089faaa24e Added null guard for result of listFiles
According to contract of File.listFiles() the result can be null if an
I/O error occurred.

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-14 10:18:12 +02:00
Moritz Eysholdt
2b268a4f4f fix #301: Improved support for IAutoWrapFormatter
The previous fix 
906be319a4
dind't handle insertion of new ITextReplacers

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-10 22:15:20 +02:00
Moritz Eysholdt
906be319a4 fix #301: Rollback bc autowrap may ignore change from IAutoWrapFormatter
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-07-10 19:26:09 +02:00
Christian Dietrich
3d6b0883be Merge pull request #382 from eclipse/cd_bug519299
[519299] LiveShadowedAllContainerState.containsURI() breaks scoping while refactoring (regression)
2017-07-06 16:11:11 +02:00
Christian Dietrich
8eecbdcd4d [519299] LiveShadowedAllContainerState.containsURI() breaks scoping while refactoring (regression)
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-07-06 15:19:07 +02:00
Karsten Thoms
c148fe40a9 Merge pull request #377 from eclipse/kth_bug462906
safe retrieval of bundle in EEF
2017-07-06 12:29:22 +02:00
Karsten Thoms
50e1919579 Merge pull request #380 from eclipse/bug519241
[519241] Throw AssertionError when scope provider returns null
2017-07-05 16:48:20 +02:00
Karsten Thoms
3f486be870 [519241] Throw AssertionError when scope provider returns null
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-05 16:41:52 +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
Anton Kosiakov
f66f444495 [RequestManager] fixed tests
Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
2017-07-05 15:56:03 +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
Miro Spönemann
55e3eefcdb #57: Added a test with file scheme 2017-07-05 11:17:59 +02:00
Karsten Thoms
02197314d9 safe retrieval of bundle
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-04 13:53:15 +02:00
Christian Dietrich
4794820d28 cleanup after refactoring
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-07-04 08:33:15 +02:00
Christian Dietrich
cab0988d33 QualifiedClazzName->QualifiedClassName
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-07-04 05:48:43 +02:00
Karsten Thoms
6d11cfd977 Merge branch 'master' of git@github.com:eclipse/xtext-core.git 2017-07-03 16:57:07 +02:00
Karsten Thoms
ff3a0847b9 removed unused import
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-07-03 16:56:50 +02:00
Karsten Thoms
b52ab4f1ca Merge pull request #374 from eclipse/kth_gradleprojectbuilder
gradleprojectbuilder added by Buildship project import
2017-07-03 08:29:53 +02: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
Christian Dietrich
43d30f2699 Merge pull request #369 from eclipse/cd_issue161
fix problem with bad naming convention epackages
2017-06-29 13:22:43 +02:00
Christian Dietrich
65def0e4f5 Merge pull request #371 from eclipse/cd_eclipse_issue_242
updated target platform to oxygen.
2017-06-29 13:18:58 +02:00
Christian Dietrich
197ad484d7 updated target platform to oxygen. fixes https://github.com/eclipse/xtext-eclipse/issues/242
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-06-29 12:55:55 +02:00
Christian Dietrich
624e4fa53b try to fix problem with bad naming convention epackages
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-06-29 09:17:09 +02:00
Anton Kosyakov
a768f40434 Merge pull request #363 from eclipse/ak/ls_improvements
Various LS fixes and improvements
2017-06-20 07:05:09 +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