miklossy
1fff012bd0
Fixing typos in the javadoc comments.
...
Signed-off-by: miklossy <miklossy@itemis.de>
2021-01-19 14:18:04 +01:00
Arne Deutsch
378dbb6934
[ #1618 ] Delegate methods to simplify java formatter code.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2021-01-15 08:44:40 +01:00
Arne Deutsch
c2fa8fe3bc
[ #1629 ] Open up org.eclipse.xtext.serializer.tokens
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2020-12-18 16:24:30 +01:00
Christian Dietrich
d16c16c916
Regenerated Languages
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-12-11 09:47:18 +01:00
Arne Deutsch
96d44d87a9
[ #1625 ] More formatter fixes and tests.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2020-12-11 09:37:24 +01:00
miklossy
fecf0e7268
Fixing typos in the javadoc comments.
...
Signed-off-by: miklossy <miklossy@itemis.de>
2020-12-02 20:51:29 +01:00
miklossy
98df842c0b
Fixing typos in the javadoc comments.
...
Signed-off-by: miklossy <miklossy@itemis.de>
2020-12-02 08:31:21 +01:00
Nico Prediger
adc50299ef
[releng] Update Xtext version to 2.25.0
...
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2020-11-30 15:53:15 +00:00
Christian Dietrich
e5c7bca5ce
regenerated test languages
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-11-30 09:14:51 +01:00
Arne Deutsch
2c2d5b987e
[ #1625 ] Added a lot of tests and a few fixes to the formatter.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2020-11-27 15:48:44 +01:00
Arne Deutsch
294a43c4ff
[ #1489 ] Several formatter fixes.
...
Added unit tests as well.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2020-11-20 15:54:15 +01:00
Christian Dietrich
ba4d35c23b
fixed typos
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-11-18 15:09:08 +01:00
Arne Deutsch
ad62f83604
[ eclipse/xtext#1697 ] Abstract super class for java based formatters.
...
[#1489 ] Java based Xtext formatter (formatter2 API).
Remove API restrictions.
Testing java based formatter.
Formatter2 Java Fragment.
2020-11-16 09:32:34 +01:00
Christian Dietrich
ee21c89474
[ eclipse/xtext#1837 ] converted xtend 2 java
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-11-08 09:54:48 +01:00
Christian Dietrich
e283b69ab6
cleanup x2j
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-10-26 15:09:34 +01:00
Christian Dietrich
70607b6081
fixed some bugs
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-10-16 13:39:45 +02:00
Christian Dietrich
e9bba8f355
[ eclipse/xtext#1852 ] Update to ASM 9
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-10-06 09:07:47 +02:00
Christian Dietrich
56de6162c0
[ eclipse/xtext-eclipse#1547 ] enhance ecore2xtext generator & xtext2ecore transformer for reserved keywords in enums
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-09-28 11:35:33 +02:00
Sebastian Zarnekow
5d251e5af2
[ eclipse/xtext#1850 ] Fix resource leaks
2020-09-18 21:07:17 +02:00
Arne Deutsch
5c43b18fb4
Merge pull request #1567 from eclipse/ade-eobject-comment-offset0
...
[#1521 ] Return root on parse success and no other element found.
2020-09-18 09:06:08 +02:00
Sebastian Zarnekow
dc49298b09
Improve performance of Xtext editor with large grammars ( #1562 )
...
* Use EPackage.getEClassifier during grammar linking
* Avoid redundant validations of predicates that cover unordered groups
* Reuse previously collected information in the rule inspector for overridden values
closes #1561
2020-09-15 11:17:46 +02:00
Sebastian Zarnekow
8e1663e5e2
[ #1568 ] Add restricted API to allow access to internals of the node
...
model
2020-09-08 12:15:26 +02:00
Arne Deutsch
1c0ec04ab0
[ #1521 ] Return root on parse success and no other element found.
...
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2020-09-04 08:59:13 +02:00
kthoms
599b17be0a
[releng] Update Xtext version to 2.24.0
...
Signed-off-by: kthoms <karsten.thoms@karakun.com>
2020-08-31 21:37:37 +00:00
Titouan Vervack
c15d749416
Fixed spaces after ML comments in format( #1543 )
...
When customizing the formatter to consider indentation + spaces, ML comments are prepended with a space. This patch fixes that.
2020-08-26 11:07:23 +02:00
Sebastian Zarnekow
108ea555d7
Improved validation against imported ecore meta model ( #1552 )
...
closes #1551
Signed-off-by: Sebastian Zarnekow <sebastian.zarnekow@gmail.com>
2020-08-07 14:56:30 +02:00
Sebastian Zarnekow
6d7097ef24
Improved grammar validation in the context of unassigned rule calls
...
Subsequent unassigned actions are not allowed if there was already a
current instance present.
Signed-off-by: Sebastian Zarnekow <sebastian.zarnekow@gmail.com>
2020-08-07 14:32:57 +02:00
Christian Dietrich
b14f746cee
Merge pull request #1547 from eclipse/cd_rm_xtend_shared_ui_prefs
...
removed obsolete org.eclipse.xtend.shared.ui.prefs
2020-08-06 17:23:00 +02:00
Sebastian Zarnekow
71e7345890
API cleanup after Xtend2Java
2020-08-06 16:23:13 +02:00
Christian Dietrich
d1e19719fe
predictable sorting in TracedAccessors
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-08-06 10:34:55 +02:00
Christian Dietrich
22107ae55a
removed obsolete org.eclipse.xtend.shared.ui.prefs
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-08-03 13:18:44 +02:00
Titouan Vervack
a797694299
Add message to IndexOutOfBoundsException in InternalNodeModelUtils ( #1542 )
...
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
2020-07-15 00:37:33 +02:00
nbhusare
80885cf08b
Added Issue code INVALID_TERMINAL_FRAGMENT_RULE_REFERENCE in XtextConfigurableIssueCodes
...
Specifying the issue code in the method XtextValidator#checkTerminalFragmentCalledFromTerminalRule()
Updated the XtextLinkingDiagnosticMessageProvider
Signed-off-by: nbhusare <neerajbhusare@gmail.com>
2020-07-13 14:57:52 +05:30
Christian Dietrich
ab13977486
updated .classpath as generated by gradle
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-07-10 13:25:39 +02:00
Arne Deutsch
097ad57191
Merge pull request #1532 from eclipse/ade-refactor-xtend-to-java
...
[eclipse/xtext#1777 ] Translate more code to java.
2020-07-03 15:28:36 +02:00
Arne Deutsch
95afbc0813
[ eclipse/xtext#1777 ] Translate more Xtend to java.
...
org.eclipse.xtext, org.eclipse.xtext.ide and org.eclipse.xtext.util are
Xtend free. Remove xtend-gen folders from build.
Signed-off-by: Arne Deutsch <Arne.Deutsch@itemis.de>
2020-07-03 10:23:21 +02:00
Sebastian Zarnekow
dec030a563
[ #1536 ] Make LazyLinkingResource#proxyInformation available to sub-types
2020-06-30 10:10:15 +02:00
Christian Dietrich
26ff6099b6
[ eclipse/xtext#1777 ] ported more xtend code to java & cleanup
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-06-05 10:17:20 +02:00
Christian Dietrich
60688817f5
[ eclipse/xtext#1777 ] ported more xtend code to java
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-06-04 09:32:30 +02:00
Nico Prediger
5aae2d0e6b
[releng] Update Xtext version to 2.23.0
...
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2020-06-02 17:18:46 +00:00
Tamas Miklossy
e1c20601fc
[ #269 ] Regenerate Xtext Language via the GenerateXtext.mwe2 workflow.
...
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-05-21 18:13:33 +02:00
Sebastian Zarnekow
b751b9e2e0
[ #1499 ] Enable JavaDoc validation on org.eclipse.xtext ( #1500 )
...
closes #1499
2020-05-20 17:11:07 +02:00
Sebastian Zarnekow
7b5900fc5a
[ #1466 ] Global unique name validator ( #1483 )
...
This change introduces an explicit validation context that is used by the INamesAreUniqueValidationHelper. This allows to fine tune the scope of the validation in various ways. Default contexts are available to validation uniqueness in the current container, along the chain of visible containers or local to the current resource (the default).
Local unique name validation can be implemented now based on the LocalUniqueNameContext.
closes #1466
2020-05-15 21:16:47 +02:00
Tamas Miklossy
7b0469e1cc
[ #1443 ] Fix XtextFormatter behaviour on different line endings.
...
- Modify the FormattingConfigBasedStream to handle the different line
endings properly.
- Implement corresponding XtextFormatterTest and
GrammarAccessExtensions2Test test cases.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-05-12 22:16:31 +02:00
Tamas Miklossy
dfdceddc5c
[ https://github.com/eclipse/xtext-eclipse/issues/1221 ] Serializer.
...
- Improve the serializeReplacement implementation by modifying the
ReplaceRegion length calculation so that it takes not only the
ICompositeNode.getTotalLength() into account, but considers if the new
text contains additional whitespaces and the old text is also followed
by white spaces, than the whitespaces contained by the original document
is also consumed by the quickfix.
- Implement corresponding SerializerReplacementCalculationTest test case
based on the NoJdtTestLanguage.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-05-12 17:54:34 +02:00
Christian Dietrich
317c2d7a0d
marked xpand/xtend(1) depending XtendXtext2EcorePostProcessor as deprecated
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-07 17:25:16 +02:00
Sebastian Zarnekow
b15fd84cfe
[ #1467 ] Made lookAhead independent from encountered hidden tokens ( #1469 )
...
Made lookAhead independent from encountered hidden tokens
closes #1467
2020-05-04 17:18:34 +02:00
Sebastian Zarnekow
1647521e63
[ #1462 ] Syntax errors will lead to unexpected calls to value converters ( #1463 )
...
Don't call a value converter if nothing was matched. Also don't assign naively true for boolean values without checking if there was a token consumed.
closes #1462
2020-05-04 13:47:16 +02:00
Christian Dietrich
a15344e18a
Merge pull request #1459 from eclipse/cd_issue1458
...
[#1458 ] made XtextResource.getParser more easily customizeable
2020-04-29 18:17:34 +02:00
Christian Dietrich
71f17744eb
[ eclipse/xtext#1679 ]ported more code to java
...
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-04-29 11:42:44 +02:00