julia-vscode / DocumentFormat.jl

Auto-formatter for Julia
Other
62 stars 18 forks source link

Error when formatting VegaLite.jl #56

Closed davidanthoff closed 2 years ago

davidanthoff commented 4 years ago

I get an error that the syntax tree is not identical after formatting when I try to format the whole VegaLite.jl project.

Repo steps:

  1. pkg> dev VegaLite
  2. pkg> add PkgDev (I surfaced whole package formatting in that package now)
  3. using PkgDev
  4. PkgDev.format("VegaLite")
ZacLN commented 4 years ago

Not really fixed, but we now don't apply these edits (and don't error) where they modify the ast. Moving from current project