Ideas

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 14. 4 months by misto
  2. 13. 7 months by misto
  3. 12. 10 months by misto
  4. 11. 10 months by misto
  5. 10. 10 months by misto
  6. 9. 11 months by ratiud
  7. 8. 11 months by misto
  8. 7. 12 months by misto
  9. 6. 12 months by misto
  10. 5. 12 months by misto
  11. 4. about 1 year by misto
  12. 3. about 1 year by misto
  13. 2. about 1 year by misto
  14. 1. about 1 year by misto
 

More refactorings that might be interesting to implement:

  • Convert checked exception to Either
  • Refactoring into pattern matching, e.g. from if-then-else 
  • Convert between for and map/flatMap/filter
  • Convert a java file into its scala equivalent
    • this is useful also for really simple Java files (that contain only a class definition and method declarations) since such classes are many times generated automatically by the RCP facilities
  • Automatically add unimplemented methods when extending a trait
Code Analyzers that could be implemented:
  • Package structure does not match filesystem structure
  • Shadowing of values, types, etc. 
    • Not easily doable because the relevant information is only available in the presentation compiler
  • Usage of the Application trait (it has been deprecated; no need for an additional warning)
  • Usage of the any2string conversion
  • Comparisons that will never succeed (e.g. Option[T] == T)