Open Kogoro opened 7 years ago
Don't see a need for preferences so far. If there is only AST-based and line-based diff, AST-based should always be better. AST-based solution could indicate which extensions are supported.
As the factory is just an extension point there could be added more solutions by the time I think. The fallback will always be line-based diff and with only AST-based factories there could be no real reason for that, but I thought it should be considered for the future maybe even after the Masterarbeit milestone.
Thus should be investigated when joint work on AST based diffing is done and we start to implement AST-based diffing.
Again, I doubt this is making it over-complicated. I would recommend using AST-based diff whenever available and only use line-based as a fallback. Shall we close this issue?
Which factory should be used when two factories can be used for a specific file? This should be settable within the preferences.