prettydiff icon indicating copy to clipboard operation
prettydiff copied to clipboard

Split “correct” option

Open mirabilos opened this issue 8 years ago • 2 comments

I’d like for the “correct” option to be split into four suboptions (but if someone sets “correct”, for compatibility, all four could be considered set).

Rationale: I’d like to use three of them but NOT the ++/-- substitution.

mirabilos avatar Aug 23 '17 16:08 mirabilos

@mirabilos The timing of this is crazy. I am removing the parsers from Pretty Diff so that they can become an independent framework open to competing projects in a way that scales in all directions. On this project I just finished the initial set of standard options which includes correct.

I will think on this and work it from this other new project, which will become the foundation for Pretty Diff 3.

https://github.com/unibeautify/parse-framework

prettydiff avatar Aug 23 '17 18:08 prettydiff

Oh ok, sure. I basically was trying to find a pretty-printer/full re-indentation framework for (at least) ECMAscript, and (your?) comments on several StackOverflow answers pointed me here.

Generally speaking, magic options that do unrelated things are… suboptimal.

Thanks!

mirabilos avatar Aug 24 '17 00:08 mirabilos