Sebastian Zarnekow
34e439a4fd
Improved code generator for ContentAssistParser
...
We can cache the method names by extracting the nameMapping to an own type
that is marked as singleton. This will make CA slightly snappier especially
for very large grammars.
2017-09-13 18:21:19 +02:00
Sebastian Zarnekow
ec33ac5e7a
Fixed handling of parameterized rules in CA
2017-09-13 18:20:53 +02:00
Sebastian Zarnekow
eef480ac2b
Fixed problem with referenced, missing methods in nameMapping
2017-09-13 10:29:55 +02:00
Sebastian Zarnekow
0016d62db9
Changes to .classpath files
2017-09-12 16:39:38 +02:00
Sebastian Zarnekow
23bcd46b9c
Merge branch 'master' of github.com:eclipse/xtext-core into sz_contentAssistPRC
2017-09-12 10:28:34 +02:00
Sebastian Zarnekow
1126c7f569
Extracted common base type for old and new AbstractContentASsistParser
2017-09-12 10:28:09 +02:00
Moritz Eysholdt
846e686bd7
[formatter] improved comment handling in undefined regions
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
2017-09-12 09:18:26 +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
Christian Dietrich
b3728a39a2
made CodetemplatesGeneratorFragment2 disableable
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-07 15:22:30 +02:00
Christian Dietrich
ca4f22fc49
introduced ConditionalXtextGeneratorFragment
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-07 10:21:10 +02:00
Karsten Thoms
942ade9415
ignore .DS_Store
...
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-09-07 08:20:18 +02:00
Sebastian Zarnekow
278a115708
Merge pull request #404 from eclipse/sz_gh341
...
Problem with content assist and grammar fragments
2017-09-06 14:29:14 +02:00
Christian Dietrich
d8a45bcfe2
fixed wrong import
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-06 10:41:45 +02:00
Christian Dietrich
0a72876241
improved error message
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-06 10:38:41 +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
Christian Dietrich
a18978e5df
Merge pull request #452 from eclipse/cd_issue91
...
[479137]improved Misleading error message 'Cannot create datatype' for terminal rule #91
2017-09-06 09:48:34 +02:00
Christian Dietrich
7b2e23b94e
[479137]improved Misleading error message 'Cannot create datatype' for terminal rule #91
...
- added test
- fixed broken test framework
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-06 09:34:28 +02: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
Christian Dietrich
0f99a6e6a3
removed unused imports / dead code
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2017-09-05 20:07:14 +02:00
Miro Spönemann
89663f6eb9
[build] Test failures make the build 'unstable', not 'failed'; removed obsolete Slack notifications
2017-09-05 15:02:42 +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
Christian Dietrich
7766cda5b6
Merge pull request #448 from eclipse/cd_bug473623
...
[473623] Generator Support for enablement of XImportSection
2017-08-30 14:28:54 +02:00
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