Miro Spönemann
8b795af1c8
Merge pull request #100 from kthoms/kth/bug378980_2
...
[378980] Refactored calls on deprecated API
2016-10-07 11:07:07 +02:00
Moritz Eysholdt
93ca0d1487
[serializer/performance] fixed broken hashCode() function
...
'parameterValues' was usually emptySet()
so parameterValues.hashCode() returned 0
which caused this hashCode() method to return 0
nothing but collisions when used as key in maps! duh!
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-06 23:30:40 +02:00
Moritz Eysholdt
17a85f155d
[serializer/performance] improved performance of node model traversal
...
this change deprecates EmitterNodeIterator since it relies on
expensive calls to iNode.getOffset().
Furthermore, it simplifies the implementation because
- lazy behavior does not provide advantages here
- 'allowHidden' and 'passAbsorber' were always false.
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-06 16:46:52 +02:00
Moritz Eysholdt
b717ec5b87
removed a System.out.println()
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-10-06 16:46:52 +02:00
Miro Spönemann
a22ae0fda2
Added launch configs for xtext.ide tests
...
Signed-off-by: Miro Spönemann <miro.spoenemann@typefox.io>
2016-10-05 16:59:05 +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
Karsten Thoms
38f4122a2b
[502879] Streamlined plugin metadata
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-30 17:17:31 +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
Lorenzo Bettini
c93db76702
Merge pull request #109 from kthoms/kth/issue108
...
[#108 ] Ecore2Xtext use new formatter fragment
2016-09-26 09:12:44 +02:00
Karsten Thoms
eba4be8428
[ #108 ] Ecore2Xtext use new formatter fragment
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-26 08:11:50 +02:00
Moritz Eysholdt
de63ac699e
Merge pull request #117 from eclipse/me_gh-14_formatter_identity_edits
...
fixed #14 : [formatter2] honor FormatterRequest.allowIdentityEdits
2016-09-25 23:22:41 +02:00
Moritz Eysholdt
6bbad4f142
fixed #14 : [formatter2] honor FormatterRequest.allowIdentityEdits
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-09-25 23:15:59 +02:00
Moritz Eysholdt
7f6980e578
Merge pull request #116 from eclipse/me_gh-97_formatter_autowrap
...
fixed #97 [Formatting2/auto-wrap] never wrap preceding lines
2016-09-25 23:01:03 +02:00
Moritz Eysholdt
7c7e1f88b7
fixed #97 [Formatting2/auto-wrap] never wrap preceding lines
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2016-09-25 22:50:45 +02:00
Lorenzo Bettini
4de451dd36
Merge pull request #104 from kthoms/kth/issue5
...
[#5 ] Ignore optional compile problems on *-gen source folders
2016-09-23 17:15:56 +02:00
Karsten Thoms
312e0af4d6
[ #5 ] Ignore optional compile problems on *-gen source folders
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-23 15:51:18 +02:00
Lorenzo Bettini
a0c58ecdd9
Merge pull request #113 from kthoms/kth/issue112
...
[#112 ] Generate launch configs for Xtext workflow and Runtime Eclipse
2016-09-23 15:11:41 +02:00
Karsten Thoms
4b1737a6a7
[ #112 ] Generate launch configs for Xtext workflow and Runtime Eclipse
...
- Launch config for Runtime Eclipse is only generated when the runtime
project is a plugin project.
- Launch config for Xtext workflow is dependent on the build system. For
plain Maven projects the launch config uses the m2e launcher, for Gradle
builds buildship is launched.
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-23 14:03:06 +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
02d5b54ffd
use lsapi 0.3.0
2016-09-20 17:11:50 +02:00
Christian Dietrich
145aa781a2
Merge pull request #103 from kthoms/kth/build_gradle_tab_for_space
...
[format] Streamlined whitespaces
2016-09-14 16:15:52 +02:00
Karsten Thoms
9b0947fe62
[format] Streamlined whitespaces
...
Consistent use of tabs instead of spaces
Use single whitespace between brackets
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-14 16:00:10 +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
Karsten Thoms
52f4fc8417
[378980] Refactored calls on deprecated API
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-14 09:13:11 +02:00
Sven Efftinge
34d6657822
Merge pull request #95 from kittaakos/signaturehelp_testlang_signedoff
...
[LS] Added basic signature help support for the test language.
2016-09-13 20:57:24 +02:00
Moritz Eysholdt
d08b8693ca
Merge pull request #99 from kthoms/kth/bug378980
...
[378980] Adjusted test: Manifest line break is system dependent
2016-09-13 11:38:26 +02:00
Karsten Thoms
8585d50734
[378980] Adjusted test: Manifest line break is system dependent
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-13 09:38:46 +02:00
Akos Kitta
90383ff782
Fixed tests and cleaned up signature help implementation.
...
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
2016-09-12 21:48:06 +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
Moritz Eysholdt
86dddf8612
Merge pull request #96 from kthoms/kth/bug378980
...
[378980] Make line delimiter for Manifest configurable by CodeConfig
2016-09-12 14:10:48 +02:00
Karsten Thoms
36ec5d1e24
[378980] Make line delimiter for Manifest configurable by CodeConfig
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2016-09-12 14:04:13 +02:00
Sven Efftinge
ca9a755c7e
Merge pull request #68 from kthoms/issue67_test_packages_xinternal
...
[#67 ] Mark exported test packages as internal
2016-09-12 10:22:09 +02:00
Sven Efftinge
2aaa49fc3a
[lsp] completion proposals should be sorted case-sensitively secondarily
2016-09-09 13:25:25 +02:00
Christian Dietrich
6a8db70df2
Merge pull request #93 from eclipse/cd_bug445175
...
[445175] Missing error message on invalid alternative assignments with cross references
2016-09-08 07:58:00 +02:00
Christian Dietrich
73fd155426
[445175] Missing error message on invalid alternative assignments with cross references
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-09-08 07:57:30 +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
1da41dec11
More stable ordering for ResourcedescriptionData
2016-09-01 08:19:22 +02:00
Sven Efftinge
1c120fb1a0
Stable ordering for Resourcedescriptiondata’s resourcedecriptions
2016-08-30 23:04:43 +02:00
Christian Dietrich
07d3a5a73b
readded accidentally removed constructor (this time with correct behaviour)
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-29 21:24:40 +02:00
Sven Efftinge
1cf171157a
readded accidentally removed constructor
2016-08-29 08:48:14 +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