Commit graph

5379 commits

Author SHA1 Message Date
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
Sven Efftinge
6ab778f839 restored accidentally removed constructor 2016-08-26 14:49:09 +02:00
Sven Efftinge
9b9537b4b6 [LSP] fixed some issue with URI normalization 2016-08-26 12:02:25 +02:00
Sven Efftinge
25fa355faa [lsp] generally allow adding secondary files in test cases 2016-08-26 09:06:30 +02:00
Sven Efftinge
d52ada1cac [lsp] use sortText for stable ordering of completionitems 2016-08-25 15:33:13 +02:00
Jan Köhnlein
0aa7e9416a Merge pull request #89 from eclipse/cd_bug500192
[500192] IdeContentProposalProvider - Don't call Scope Provider with null model
2016-08-25 13:12:39 +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
Christian Dietrich
292d78f5e9 fixed another eclipse metadata flaw
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-20 09:30:55 +02:00
Christian Dietrich
0a9f2b5b0a added log4j.spi to imported packages
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-19 22:37:37 +02:00
Christian Dietrich
5738a92b86 fixed broken eclipse metadata
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-19 21:45:11 +02:00
Christian Dietrich
f0f3c52f2d added missing smoketest package export in xtext.testing
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-19 18:56:39 +02:00
Christian Dietrich
de95cc4a25 added missing logging package export in xtext.testing
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2016-08-19 17:12:44 +02:00