scalacenter / scala-syntax

Scalameta pretty printer for better Scalafix refactorings
Apache License 2.0
17 stars 6 forks source link

Fixed None.get #52

Closed Baccata closed 4 years ago

Baccata commented 4 years ago

I've been starting to use this library (built from sources, I'm very aware it's experimental) for code generation, and encountered this bug.

olafurpg commented 4 years ago

What are you using this project for? It would be lovely to get this project into a publishable state since I think it's already a huge improvement over the current prettyprinter

Baccata commented 4 years ago

What are you using this project for? It would be lovely to get this project into a publishable state since I think it's already a huge improvement over the current prettyprinter

I'm using it to generate pure scala stubs for some cloud services. The generated code is somewhat complicated and scalameta (in particular tree explorer and quasiquotes) has given me a much better UX than treehugger or direct calls to paige.

The only thing I'm not able to get from scalameta is scaladoc generation, which is why I'm trying this out.

Baccata commented 4 years ago

It would be lovely to get this project into a publishable state since I think it's already a huge improvement over the current prettyprinter

That'd be amazing 😄