Sebastian Zarnekow
602e351922
[263773] Fixed bug related to fragments in OverriddenValueInspector
2015-08-14 16:05:52 +02:00
Sebastian Zarnekow
98ee036c02
[263773] Validate rule names and discourage ‘super’ as a name for rules
2015-08-13 14:21:51 +02:00
Sebastian Zarnekow
800c35080a
[263773] Adjust named arguments in case of overrides
2015-08-13 13:22:54 +02:00
Sebastian Zarnekow
daada4dd08
[263773] Incorporated more review comments
2015-08-13 11:36:02 +02:00
Sebastian Zarnekow
fd0cf968e7
[263773] Removed unused rule from Xtext.xtext, made guards ‘usual’ expression
2015-08-13 11:28:42 +02:00
Sebastian Zarnekow
6627e289a7
[263773] Incorporated review comments
2015-08-13 11:28:40 +02:00
Sebastian Zarnekow
9572595662
[263773] Adjusted Xtext grammar content assist to support fragments and params
...
Also fixed validation for wildcard fragment overrides
2015-08-13 10:05:00 +02:00
Sebastian Zarnekow
5746bbb063
[263773] Fixed NodeModelUtils and XtextProposalProvider
2015-08-12 20:38:15 +02:00
Sebastian Zarnekow
7dc12ffa66
[263773] Regenerated xbase
2015-08-12 20:38:12 +02:00
Sebastian Zarnekow
d8bcdc40b0
[263773] Xtext grammar enhancements (tests src-gen)
...
This commit contains the generated code for the tests.
2015-08-12 17:51:07 +02:00
Sebastian Zarnekow
e6d3807b94
[263773] Xtext grammar enhancements (tests)
...
This commit contains the test code for the
the new features without generated code
2015-08-12 17:51:05 +02:00
Sebastian Zarnekow
9185cb9cca
[263773] Xtext grammar enhancements (src)
...
- Explicit rule calls and super rule calls
- name=super::ID
- name=Terminals::ID
- feature=com::acme::MyLang::SomeRule
- Parser rule fragments
- fragment DeclarationOwner:
declarations+=Declaration+;
- Parameterized rule calls:
- IdOrKeyword<AllowKeyword>:
<AllowKeyword> ‘keyword’ | ID;
This commit contains the changes to the Xtext core
plugins without any changes to generated code.
2015-08-12 17:51:00 +02:00
Sven Efftinge
1f642242c2
[473621] IDEA / fix breakpoint behavior - see https://bugs.eclipse.org/bugs/show_bug.cgi?id=473621
2015-08-12 11:33:03 +02:00
Dennis Huebner
c216c609ff
[validation] Some minor fixes regarding PR #440
...
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-08-12 10:07:21 +02:00
Sven Efftinge
2bb7fa7f6f
Merge pull request #461 from eclipse/se/idea_builder_fixes
...
[idea] fixed problem with deletion of folders not triggering events for its children, registered IndexedJvmTypeAccess for auto builder
2015-08-07 18:45:52 +02:00
Sven Efftinge
6c42b0f6c4
[idea] fixed problem with deletion of folders not triggering events for its children, registered IndexedJvmTypeAccess for auto builder
2015-08-07 17:48:40 +02:00
Moritz Eysholdt
bba77e5591
[472592][idea] Implement DocumentationProvider
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-07 16:47:41 +02:00
Moritz Eysholdt
1ff3694546
[idea] fix IdeaGrammarSerializerTest
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-07 09:32:30 +02:00
Moritz Eysholdt
2d80c45669
Merge pull request #457 from eclipse/me/xtext_xtext_scoping
...
[xtext.xtext] use IResourceDescription.Manager for scoping
2015-08-06 15:52:53 +02:00
Moritz Eysholdt
30859bf881
Merge pull request #456 from eclipse/me/bug473612
...
Me/bug473612
2015-08-06 14:44:05 +02:00
Moritz Eysholdt
97e20348b3
[xtext.xtext] use IResourceDescription.Manager for scoping
...
...instead of GlobalResourceDescriptionProvider.
Because when the grammar is loaded from an .xtextbin file,
the GlobalResourceDescriptionProvider returns null, because there
is no IResourceServiceProvider registered for *.xtextbin.
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-06 14:15:15 +02:00
Moritz Eysholdt
1b6a71b2e6
[xtext.xtext][serializer] Updated several test expectations.
...
the new serializer...
- doesn't loose optional parenthesis anymore
- produces text replacements starting at node.getTotalOffset()
(the PTC produced them for node.getOffset()).
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-06 13:27:22 +02:00
Moritz Eysholdt
86478856de
[xtext.xtext] delete FQN-Provider and re-enable serializer test
...
The old XtextQualifiedNameProvider defined "::" as delimiter.
However, qualified names (grammar names) in Xtext use "." as delimiter.
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-06 10:58:39 +02:00
Moritz Eysholdt
30b3b0c1e7
[473612] [serializer] don't loose causing exception
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-06 10:58:36 +02:00
Moritz Eysholdt
88f88178f4
[xtext.xtext] use new Serializer instead of ParseTreeConstructor
...
The 'SerializerFragment' is intentionally not used because it generates
Java files which would become public API.
The Serializer is fully functional without the SerializerFragment.
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-06 08:55:11 +02:00
Sven Efftinge
d2d3b10b56
[trace] removed unused Type parameters and unused inverseView methods
2015-08-05 14:08:37 +02:00
Sven Efftinge
5c79f9b407
[idea / trace] some smaller fixes and improvements
2015-08-05 11:37:08 +02:00
Moritz Eysholdt
92f379602e
[trace] fixed a minor issue in trace#toString()
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-04 14:05:36 +02:00
Sebastian Zarnekow
46cb782598
Regenerating Xtext, Xbase, Xtend and examples without ISetupExtension
2015-08-04 10:54:10 +02:00
Sebastian Zarnekow
f69c1883ed
[466354] Remove ISetupExtension interface
2015-08-04 10:17:59 +02:00
Moritz Eysholdt
3ab3c040b4
made storage aware trace more accessible
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-03 16:57:29 +02:00
Moritz Eysholdt
422cc81b70
[trace] visualize traces in toString()
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-03 16:57:26 +02:00
Moritz Eysholdt
91a532e593
introduce AbstractTrace.getContentsAsText(URI, IProject)
...
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@itemis.de>
2015-08-03 13:02:12 +02:00
Dennis Huebner
4f62bef554
Merge pull request #440 from eclipse/dh-bug377775
...
[validation] Improve error message for unresolved methods. Bug 377775
2015-08-03 08:02:51 +02:00
Dennis Huebner
f63ba0d9c9
[validation] Moved TypeAwareMessageProducer to xbase
...
Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
2015-07-31 16:47:36 +02:00
Sebastian Zarnekow
51f7691979
[473079] Removed wrong guard condition
2015-07-31 14:23:04 +02:00
Sebastian Zarnekow
8ec7987961
[473079] Some more cleanup
2015-07-31 14:17:27 +02:00
Sebastian Zarnekow
d0df4b85d7
[473079] Cleanup, Javadoc
2015-07-31 14:05:08 +02:00
Sebastian Zarnekow
41c70b2b05
[473079] Don’t operate on views but on defensive copies, don’t ignore delete events
2015-07-30 18:32:29 +02:00
Sebastian Zarnekow
3cb3ad4cfb
Merge remote-tracking branch 'origin/master' into sz/bug473079
2015-07-30 18:05:43 +02:00
Sebastian Zarnekow
af83686796
Merge remote-tracking branch 'origin/master' into sz/bug473079
2015-07-30 15:23:01 +02:00
Stefan Oehme
d932036648
Merge remote-tracking branch 'origin/master' into so_idea_performance
...
Conflicts:
intellij/org.eclipse.xtext.idea/src/org/eclipse/xtext/idea/common/types/PsiBasedTypeFactory.xtend
intellij/org.eclipse.xtext.idea/src/org/eclipse/xtext/idea/common/types/StubJvmTypeProvider.xtend
intellij/org.eclipse.xtext.idea/xtend-gen/org/eclipse/xtext/idea/common/types/PsiBasedTypeFactory.java
intellij/org.eclipse.xtext.idea/xtend-gen/org/eclipse/xtext/idea/common/types/StubJvmTypeProvider.java
2015-07-30 14:30:09 +02:00
Stefan Oehme
d0f0c9abd5
make the incremental builder cancellable
2015-07-30 14:19:52 +02:00
Sebastian Zarnekow
1c7b031503
[473079] Minor changes and tests for IDEA traces
2015-07-29 15:28:21 +02:00
Sebastian Zarnekow
a1704743f1
[473079] Continued work on ITraceForVirtualFileProvider
2015-07-28 15:45:48 +02:00
Sebastian Zarnekow
47bc590774
[473079] Extracted platform specific interfaces for traces
2015-07-28 15:45:47 +02:00
Sebastian Zarnekow
d566feac18
[473079] Factored common functionality into abstract base class
2015-07-28 15:45:47 +02:00
Sebastian Zarnekow
8fb143b1ab
[473079] More guards for SourceRelativeURI
2015-07-28 15:45:47 +02:00
Sebastian Zarnekow
68cc4a45d2
[473079] Fixed assumption: In-memory resources may use non-absolute URIs
2015-07-28 15:45:47 +02:00
Sebastian Zarnekow
efbe82f754
[473079] Added backwards compatibility test for trace i/o
2015-07-28 15:45:45 +02:00