Commit graph

5966 commits

Author SHA1 Message Date
Christian Dietrich
d5d4a0db04 [473623] Generator Support for enablement of XImportSection
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-08-30 13:48:33 +02:00
Christian Dietrich
14575c9d82 Merge pull request #370 from heeckhau/master
Converted TaskTagPreferencePageFragment to TaskTagPreferencePageFragm…
2017-08-30 10:32:51 +02: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
eeba774bfa Merge pull request #447 from eclipse/cd_issue446
made o.e.xtext.ide dep. to org.eclipse.core.runtime optional #446
2017-08-29 14:52:52 +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
Karsten Thoms
077b26c5ca [formatting] removed obsolete tab
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-08-24 16:05:23 +02:00
Dennis Huebner
87e7b088e3 Merge pull request #354 from yanntm/master
remove greedy flags from critical dependency paths
2017-08-24 08:59:32 +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
4640ecac14 [ChangeSerializer] added more tests
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-23 17:31:59 +02:00
Moritz Eysholdt
6a55da1434 [TextRegionDiffBuilder] improved handling of multi-inserts
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-23 17:31:59 +02:00
Moritz Eysholdt
760c7f92d3 bundle from xtext-core should not depend on downstream repos
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-22 17:24:37 +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
fb476065b4 Merge pull request #440 from eclipse/msp_dynamicRegistration
Handle the case that dynamicRegistration is null
2017-08-22 10:51:49 +02:00
Miro Spönemann
20345b870f Handle the case that dynamicRegistration is null 2017-08-22 09:50:53 +02:00
Moritz Eysholdt
ae9d0259ef fixed #438: error in ITextRegionAccess.regionForLineAtOffset(int)
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-21 19:25:51 +02:00
Moritz Eysholdt
353cdac76e make AbstractEObjectRegion.addChild(IAstRegion) public
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-21 10:16: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
b304d5e921 [ChangeSerializer] improve handling of multiple deleted regions
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-20 20:10:02 +02:00
Moritz Eysholdt
b913ac015f [TextRegionAccess] Allow usage on mutable EMF models
This includes the possibility that an EObject has been removed from the
EMF containment tree or moved to another resource.

Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-20 20:10:02 +02:00
Hendrik Eeckhaut
681d8d5a0d Created TaskTagPreferencePageFragment2
Signed-off-by: Hendrik Eeckhaut <hendrik.eeckhaut@sigasi.com>
2017-08-18 16:42:19 +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
Moritz Eysholdt
b48dd350e3 [TestLanguages] Don't depend on xbase
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-18 13:48:57 +02:00
Jan Koehnlein
954cfe1869 [refactoring] fixed test 2017-08-18 13:48: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
fcdd7c4011 [TextRegionAccess] keep track of containment among EObjectRegions
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-18 11:24:29 +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 Köhnlein
484b5fe0b5 Merge pull request #428 from eclipse/jk/new_refactoring
[refactoring] extracted LTK independent APIs to ide
2017-08-17 11:08:50 +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
80f8bca39f [debug] also visualize changes that only change URIs but not text
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
79b887e3de Merge pull request #418 from eclipse/cd_issue417
Fixed FormattableDocumentTest.autoWrapInsert on windows
2017-08-16 08:30:54 +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
e470ca52d8 Proof-of-Concept of how to implement semantic code actions
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-15 17:30:15 +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
6180c3dabf Added test language for ChangeSerializer
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-08-15 17:30:15 +02:00