Eclipse Xtext 2.6.0

Release Date
Themes
Quality, Speed and New Features
Keeping improving the quality of the code is one of the major goals we strive for. That is not only readability and correctness but also performance and testability. The project has 35.000 unit tests are running against all support Eclipse releases. Xtext and Xtend are used in many large projects theses days. We need to focus on improving the user experience. A special focus is performance and snappiness of tools. New features desired by the community will be added as well. Existing clients should benefit from theses additions automatically if possible.
  • Allow anonymous class creation [402388] (target milestone:  ---)
  • organize imports inserts artificial name [433734] (target milestone:  ---)
  • Serializer should be able to re-serialize resources with link errors [333022] (target milestone:  ---)
  • Open Implementation [364319] (target milestone:  ---)
  • Allow fully qualified static imports. [365159] (target milestone:  ---)
  • Traditional "for" loops with a loop variable, initializer, boundary check, loop advancement and loop body [371957] (target milestone:  ---)
  • Compound Assignment Operators [379178] (target milestone:  ---)
  • Support task tags [380449] (target milestone:  ---)
  • XSwitchExpression should use a contained JvmFormalParameter [382277] (target milestone:  ---)
  • Inconsistent token mappers confuse the DocumentPartitioner [385667] (target milestone:  ---)
  • method generated by toHashCodeMethod doesn't work if a field called "result" exists [392440] (target milestone:  ---)
  • Allow fall-through in switch expression [400453] (target milestone:  ---)
  • remove 'junit.parameterized' [406198] (target milestone:  ---)
  • Static import hides static field with same name [407154] (target milestone:  ---)
  • XImportSection sometimes does not work [407390] (target milestone:  ---)
  • upgrade use of guava [407548] (target milestone:  ---)
  • Make serializiation work with batch scope provider [411010] (target milestone:  ---)
  • import manager scoping issue [411342] (target milestone:  ---)
  • Xtext builder participant extensionPoint should include file extensions [412288] (target milestone:  ---)
  • Add synchronized expression to Xbase [418753] (target milestone:  ---)
  • Show Tooltip Description (F2) does not work in Xtend Editor [419112] (target milestone:  ---)
  • XtextEObjectSearchDialog could have a setInitialTypePattern (like setInitialPattern) & support for non-editable type [422083] (target milestone:  ---)
  • CrossReferenceTemplateVariableResolver doesn't work in empty resources [423137] (target milestone:  ---)
  • Allow simpler notation for multi value annotation values [424244] (target milestone:  ---)
  • Feature call to member of an inner class leads to compile error [426442] (target milestone:  ---)
  • org.eclipse.xtext.xbase.validation.XtypeJavaValidator is missing [426478] (target milestone:  ---)
  • Support hover over local vars [427238] (target milestone:  ---)
  • Ambiguity between operators and generic type references [427257] (target milestone:  ---)
  • Reliable xtext-xtend builds on xtext HIPP [427329] (target milestone:  ---)
  • do proper caching in NodesForEObjectProvider [427354] (target milestone:  ---)
  • problem when generating syntactic sequencer [427449] (target milestone:  ---)
  • InMemoryFileSystemAccess.generateFile(String, String, InputStream) uses inconsistent file name. [427822] (target milestone:  ---)
  • Clean-up temp files after test runs [428191] (target milestone:  ---)
  • NullPointerException in XbaseTypeComputer in Xtend [428525] (target milestone:  ---)
  • CCE Removing project Paths from Xtext index [428921] (target milestone:  ---)
  • Constructor to inherited nested types do not resolve properly [429457] (target milestone:  ---)
  • Better exception handling strategy in CompositeGeneratorFragment [429548] (target milestone:  ---)
  • Xtext Runtime Feature installs Guava 10.0.1 [429658] (target milestone:  ---)
  • Predicate on XReturnExpressions is confusing parser [430022] (target milestone:  ---)
  • DefaultImportsConfiguration.getImportSection(XtextResource) has poor implementation [431303] (target milestone:  ---)
  • QualifiedName toLowerCase() anonymous objects waste 10% of memory [431382] (target milestone:  ---)
  • JvmTypeBuilder API wrong [431476] (target milestone:  ---)
  • LinkageError: com.google.inject.Binder [431781] (target milestone:  ---)
  • EMFGeneratorFragment must not create .ecore files with relative paths to project-external files [431884] (target milestone:  ---)
  • JvmTypesBuilder.newTypeRef is annotated as @Nullable, but must be @NonNull [432220] (target milestone:  ---)
  • Invalid thread access when setting JRE [432426] (target milestone:  ---)
  • NPE in antlr.stringtemplate when generating Xtext language with Java 8 [433176] (target milestone:  ---)
  • Hovered type does not show type of autocasted expression [433279] (target milestone:  ---)
  • Regression in scoping . type inference [433660] (target milestone:  ---)
  • Typo in the message produced by LinkingDiagnosticMessageProvider.getViolatedBoundsConstraintMessage(ILinkingDiagnosticContext, int) [433850] (target milestone:  ---)
  • Xbase based language w. JvmReferenceType too fragile when changing grammar [433988] (target milestone:  ---)
  • org.eclipse.xtext.common.types exports jdt.annotation 2.x [434404] (target milestone:  ---)
  • Autocasting does not work with qualified fields [434656] (target milestone:  ---)
  • ImplicitlyImportedTypes is a misleading name [434892] (target milestone:  ---)
  • method generated by toEqualsMethod doesn't work if a field called "result" exists [434912] (target milestone:  ---)
  • NPE in ReconcilingUnitOfWork.exec [434948] (target milestone:  ---)
  • 2.6.0 nightly generates broken java code [434961] (target milestone:  ---)
  • operator_plus anbigous for "string" + "string" [435022] (target milestone:  ---)
  • generated MWE2 workflow should delete model.generated instead of model folder [435056] (target milestone:  ---)
  • JavaProjectFactory should use default JRE library [435079] (target milestone:  ---)
  • Xtend won't build on Luna M7 [435148] (target milestone:  ---)
  • Xtend 2.6.0 nightly: XbaseJavaValidator fails [435160] (target milestone:  ---)
  • Wrong error 'this expression does not cause side effects' [435402] (target milestone:  ---)
  • Support Themes [435587] (target milestone:  ---)
  • Support Eclipse Dark Theme [435588] (target milestone:  ---)
  • ValidationJob should not process issues if the view was discarded [435638] (target milestone:  ---)
  • NullPointerException charsetName at InputStreamReader at xtext.ui.compare.StreamContentDocumentProvider.readString [435831] (target milestone:  ---)
  • Cannot call method with 'this' argument [436302] (target milestone:  ---)
  • performance regression in Xtext 2.6.0 [436802] (target milestone:  ---)
  • artifact org.eclipse.xtext.xtext should use xtext-antlr-generator 2.1.1, not 2.1.0 [437040] (target milestone:  ---)
  • Feature Calls with static nested types are not registered as imported name. [438339] (target milestone:  ---)
  • validation of dispatch methods in subclasses [364940] (target milestone:  ---)
  • Static nested classes [376399] (target milestone:  ---)
  • Allow to define operator implementations in a more readable way [378223] (target milestone:  ---)
  • no recursive generics check [380055] (target milestone:  ---)
  • Show annotations [380551] (target milestone:  ---)
  • Inherited Dispatch and Generics dont work together [383430] (target milestone:  ---)
  • switch should allow an empty body [384273] (target milestone:  ---)
  • Content-assist slow with large classes [385903] (target milestone:  ---)
  • Inner types from super are not properly scoped [396476] (target milestone:  ---)
  • avoiding "unused" warnings [404167] (target milestone:  ---)
  • Duplicate dispatcher method when adding dispatch cases in subclass [406767] (target milestone:  ---)
  • The javadoc window should show the content based on the target Java model. [412136] (target milestone:  ---)
  • The javadoc window does not contain description of annotations for derived java classes [412586] (target milestone:  ---)
  • The javadoc window shows nothing if the javadoc declaration is empty [412591] (target milestone:  ---)
  • Stackoverflow Error Popup when opening Xtend File [412894] (target milestone:  ---)
  • implicitly allow local static methods to be used as extension methods? [412975] (target milestone:  ---)
  • add identity equals validation for array == notAnArray [415770] (target milestone:  ---)
  • Logged exceptions when running IDE tests [417128] (target milestone:  ---)
  • source debug installation fails in maven [417406] (target milestone:  ---)
  • Highlight active annotations [417562] (target milestone:  ---)
  • Irritating error marker related to static import [419101] (target milestone:  ---)
  • Extract Method does not work properly in "template expression methods" [419122] (target milestone:  ---)
  • propose 'self' inside closures [419463] (target milestone:  ---)
  • Content of generated class missing on duplicate field insertion [426401] (target milestone:  ---)
  • Add compiler verification for switch expression [426414] (target milestone:  ---)
  • optionally enforce parenthesis for method calls [426568] (target milestone:  ---)
  • optionally enforce 'return' keyword for method returns [426569] (target milestone:  ---)
  • Validate that method return types are explicit [426594] (target milestone:  ---)
  • Wrong overloaded method picked [426788] (target milestone:  ---)
  • Missing error marker when using type parameter(s) for method call on wrong position [426802] (target milestone:  ---)
  • Gradle Plug-In [427316] (target milestone:  ---)
  • Content assist for class methods should put declared static methods on top [427440] (target milestone:  ---)
  • Error executing EValidator when dispatch with inheritance and generics [427986] (target milestone:  ---)
  • Type mismatch error when using upper bounds in function types (v 2.5.2) [428063] (target milestone:  ---)
  • Can AFTER, BEFORE and SEPARATOR be allowed as identifiers [428707] (target milestone:  ---)
  • Errors in generated Java code with common supertype inference [429138] (target milestone:  ---)
  • IllegalStateException when upgrading from 2.4.3 to 2.5.3 (The TypeResolutionStateAdapter was removed while resolving) [429376] (target milestone:  ---)
  • missing validation for reference to containing assignment [429461] (target milestone:  ---)
  • Ambiguous feature call for variable number of arguments [429623] (target milestone:  ---)
  • Add support for "inner" annotations in Active-Annotation API [429816] (target milestone:  ---)
  • Some expression in AA causes eclipse IDE error [429831] (target milestone:  ---)
  • Exception during active annotation processing [430101] (target milestone:  ---)
  • Uncompileable JavaCode produced by Xtend [430484] (target milestone:  ---)
  • Missing validation for target typing [432193] (target milestone:  ---)
  • Button "Show Whitespace Characters" is multiplied [433175] (target milestone:  ---)
  • Type parameter of methods in anonymous class cannot be resolved in the editor [433213] (target milestone:  ---)
  • map literals do not compile [433280] (target milestone:  ---)
  • Missing compiled cast in instanceof block when creating list literal [433573] (target milestone:  ---)
  • NPE with default values of annotation types in editor [433675] (target milestone:  ---)
  • Parameter type 'void' in lambdas should be flagged as invalid [434016] (target milestone:  ---)
  • Reducing visibility constraint not enforced in overriding dispatch method [434084] (target milestone:  ---)
  • Accidentially genericfied annotation isn't discovered by Xtend compiler [434088] (target milestone:  ---)
  • Organize Imports breaks when there are array types (e.g. BigDecmal[]) [434092] (target milestone:  ---)
  • Invalid code generated for MutableAnnotationReference.setClassValue passing an empty list [434113] (target milestone:  ---)
  • Quick Hierarchy does not work [434170] (target milestone:  ---)
  • Invalid java code generated for instanceof operation with type casting [434224] (target milestone:  ---)
  • Static Inner Classes not on the scope of the container [434299] (target milestone:  ---)
  • Assignment of blocks without value possible and generates unreachable code [434409] (target milestone:  ---)
  • Can't declare a class with recursive generic parameters [434589] (target milestone:  ---)
  • Compiler produce invalid code for basic-for with a compound assignment as an update expression [434650] (target milestone:  ---)
  • support copying infered types [434694] (target milestone:  ---)
  • Add unimplemented methods quickfix fails [434704] (target milestone:  ---)
  • Do not propose "make class abstract" [434705] (target milestone:  ---)
  • Abstract classes missing from content assist [434706] (target milestone:  ---)
  • Override method proposals missing between methods [434709] (target milestone:  ---)
  • Invalid proposals in class body [434710] (target milestone:  ---)
  • unused import warning for used import [434720] (target milestone:  ---)
  • Error popup when writing "import static" [434727] (target milestone:  ---)
  • Bogus selection when navigating to Xtend types from target platform [434765] (target milestone:  ---)
  • Xtend compiler produces invalid code for anonymous classes with new members [435018] (target milestone:  ---)
  • CA is very slow in nested lambdas [435025] (target milestone:  ---)
  • Xtend compiler should not generate constructors for anonymous classes [435027] (target milestone:  ---)
  • Xtend compiler produces invalid code for anonymous classes if they are used several times within the same method [435029] (target milestone:  ---)
  • Wrong.missing proposals in class body after field declaration [435043] (target milestone:  ---)
  • Stackoverflow with Type parameter [435133] (target milestone:  ---)
  • Assignment operators do not work when argument type is different from return type [435163] (target milestone:  ---)
  • Members from synthetic superclass are proposed in content assist [435184] (target milestone:  ---)
  • Shadowing does not work [435249] (target milestone:  ---)
  • Compile error with EMF generated enums used in switch inferred as common enum [435389] (target milestone:  ---)
  • XtendBatchCompiler does not find javafx [435683] (target milestone:  ---)
  • Protected methods not visible from types within same package [435685] (target milestone:  ---)
  • Invalid code generated by for loop [435713] (target milestone:  ---)
  • Bogus validation error when arrays are compared to null [435746] (target milestone:  ---)
  • Abstract nested classes are not allowed [435892] (target milestone:  ---)
  • ClassCastException when calling getQualifiedName on ClassDeclaration of inner static classes [435897] (target milestone:  ---)
  • Invalid code is produced [436163] (target milestone:  ---)
  • Major memory leak when reusing editors [436237] (target milestone:  ---)
  • Bogus error 'Cannot reference the field 'x' before it is defined' [436248] (target milestone:  ---)
  • "Runtime Library API" link on the Documentation page of website is broken [436316] (target milestone:  ---)
  • IllegalArgumentException during build [436371] (target milestone:  ---)
  • Missing override proposals [436564] (target milestone:  ---)
  • anonymous classes: "Duplicate local variable" error [436827] (target milestone:  ---)
  • wrong parameter type inferred for lambda [436886] (target milestone:  ---)
  • Xtend Generates Invalid Code for Generic Arrays [437365] (target milestone:  ---)
  • Content assist in closures very slow again [438014] (target milestone:  ---)
  • Opening a type very slow [438118] (target milestone:  ---)
  • libGDX projects don't compile in Xtend 2.6.1 [438544] (target milestone:  ---)
  • Calling a static set method of a Java class in xtend code will generate incorrect code [440187] (target milestone:  ---)
  • Add (development time) option to not swallow exceptions [407874] (target milestone:  ---)
  • provide option in AbstractDeclarativeValidator to suppress swallowing of NPEs [412978] (target milestone:  ---)
  • JvmModelInferer.JvmTypes: inner interface not considered static as they should [421435] (target milestone:  ---)
  • Downloads page says Xtext Antlr-2.0.0, but Antlr 3.0 is indicated when install is required [421561] (target milestone:  ---)
  • support null as default value [423783] (target milestone:  ---)
  • Some comments disappear when model is manipulated [424027] (target milestone:  ---)
  • Strange URI mappings in default resource set for JavaProjects [426907] (target milestone:  ---)
  • Include stripped down guava [427301] (target milestone:  ---)
  • Generator exports non-existant packages and folders [429136] (target milestone:  ---)
  • Broken language should not break editors of other languages [429452] (target milestone:  ---)
  • Provide a way for language-specific filtering [432586] (target milestone:  ---)
  • File generated twice in some case: bug or feature ? [433199] (target milestone:  ---)
  • DSl source files with same basename no longer working [433560] (target milestone:  ---)
  • ContentAssist no proposals for features in a FeatureCall [434292] (target milestone:  ---)
  • inferred types not in list of proposals [434293] (target milestone:  ---)
  • TypeInference does not work properly for lamdas [434327] (target milestone:  ---)
  • Xtext will not run on other OSGi frameworks, e.g. Concierge [434490] (target milestone:  ---)
  • Statemachine example no longer works due to inherited inner class [435149] (target milestone:  ---)
  • ensure fixed version is used for Java 8 [437033] (target milestone:  ---)
  • ClassNotFoundException for 'JavaDebugHover' in 'XbaseDispatchingEObjectTextHover' [437104] (target milestone:  ---)
  • should not completely abandon everyhing in case of a RuntimeException thrown e.g. in a IDerivedStateComputer but just skip that one Resource [437848] (target milestone:  ---)
  • "Qualified name cannot be null" exception saving xtend file [441869] (target milestone:  ---)
  • make switch-over expression optional [384143] (target milestone:  ---)
  • Multiple variable.value declaration [386784] (target milestone:  ---)
  • Xtend syntax coloring is not compatible with Eclipse Color Themes [403853] (target milestone:  ---)
  • formatting template expressions gets it wrong [406095] (target milestone:  ---)
  • Provide Treeshaken Lib For Low Footprint On Android [414775] (target milestone:  ---)
  • Hover does not appear for a local variable of the switch expression [415068] (target milestone:  ---)
  • Improve overload resolution [416367] (target milestone:  ---)
  • single line comment at the end of non-empty method adds unnecessary indent [417890] (target milestone:  ---)
  • Bogus error marker in editor [418604] (target milestone:  ---)
  • newArrayOfSize() produces invalid Java code when ? is used as generic parameter [422803] (target milestone:  ---)
  • Type mismatch: cannot convert from CommandLineOptions to CommandLineOptions [424693] (target milestone:  ---)
  • NoSuchElementException during editing [435388] (target milestone:  ---)
  • NPE in ConstraintVisitingInfo [435626] (target milestone:  ---)
  • synchronized expression not working in functions with void return type [435701] (target milestone:  ---)
  • protected members can no longer be referred to from the same package [435980] (target milestone:  ---)
  • Navigation from Java stack trace to Xtend is broken [437054] (target milestone:  ---)
  • Performance and memory consumption have deteriorated [437275] (target milestone:  ---)
  • Duplicate local variable in for loop [441695] (target milestone:  ---)
This release is part of Luna