1. Make interfaces' names start with I;
2. Replace TargetURIs with Predicate<URI> for finding references in
resource and object scopes.
Change-Id: I5ff7b485f6438e8d447377d4f0942ca79fbc6c45
Signed-off-by: akosyakov <anton.kosyakov@typefox.io>
If you have a ui test that needs the workbench or an editor, if you do
not have org.eclipse.osgi.compatibility.state, introduced in Luna, in
the dependencies the workbench and editors will be null and the UI tests
will fail. By adding org.eclipse.rcp feature as a dependency, then
org.eclipse.osgi.compatibility.state will be dragged in and UI tests
will work, since the workbench will be available. Adding
org.eclipse.rcp is safe also for previous Eclipse target platforms,
while adding org.eclipse.osgi.compatibility.state only will not work in
Eclipse versions earlier than Luna.
At least, that's what I do to run UI tests that require the workbench.
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=492149
If you have a ui test that needs the workbench or an editor, if you do
not have org.eclipse.osgi.compatibility.state, introduced in Luna, in
the dependencies the workbench and editors will be null and the UI tests
will fail. By adding org.eclipse.rcp feature as a dependency, then
org.eclipse.osgi.compatibility.state will be dragged in and UI tests
will work, since the workbench will be available. Adding
org.eclipse.rcp is safe also for previous Eclipse target platforms,
while adding org.eclipse.osgi.compatibility.state only will not work in
Eclipse versions earlier than Luna.
At least, that's what I do to run UI tests that require the workbench.
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=492149
scope and all reference for the resource and object scopes
Change-Id: I6ca72af424d72658ce56cad8ebcf8c366a57a87b
Signed-off-by: akosyakov <anton.kosyakov@typefox.io>
Even though the root has been created via an {Action}, the grammar
element should be the root parser rule.
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
---Example---
Rule: name=FQN | name=STRING;
-------------
When FQN has been parsed but the serializer decided to write out
STRING it was calling the IValueConverter with FQN's INode and rule
STRING. That's obviously wrong input for the ValueConverter.
The fix just prevents the IValueConverter to be called in this scenario,
causing the INode's text to be ignored; Instead fresh output is
generated via IValueConverter.toString(...)
Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
Fixes an index guard that prevents
org.eclipse.xtext.formatting2.regionaccess.internal.NodeHidden#getPreviousHiddenPart()
from returning the first part of a hidden region.
Old behavior:
Given a hidden region consisting of two or more parts
When getPreviousHiddenPart() is called on the second part
Then null is returned
New behaviour:
Given a hidden region consisting of two or more parts
When getPreviousHiddenPart() is called on the second part
Then first part ist returned
Signed-off-by: Moritz Heindl <lenidh@gmail.com>
Since by default the project wizard for the DSL typically does not
generate a plugin.xml
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=490796
Signed-off-by: Lorenzo Bettini <lorenzo.bettini@gmail.com>
splits it.
This feature is useful for workflows where the list of paths is passed
in as a single argument.
Change-Id: I0b933c18c318487544e29ed5b9e36cf8acd30698
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>