You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should we at least mention or link to that repo within this repo's README file to make it easier to discover?
But maybe that tool isn't "production ready" yet and there is still more work to be done before making it available to Cadence users (based on onflow/cadence#209).
The text was updated successfully, but these errors were encountered:
Sorry for the confusion here: Though the code formatting functionality is being developed in the Cadence codebase / repository, there's no tool for it yet that a developer could use to format their Cadence code.
https://github.com/turbolent/prettier is a Go library for formatting, it is not a tool, it is only a building block that is used in Cadence to implement the code formatting functionality.
The closest to a tool we have to try out the code formatting functionality is the internalhttps://github.com/onflow/cadence/tree/master/tools/pretty. As the README says, for now it is just there to assist contributors working on the implementation of the Cadence code formatter, it is not meant for Cadence developers. However, once the code formatting functionality is complete, we can take this internal tool, move it into this repo, and turn it into something a typical Cadence developer could use, and finally integrate it into the CLI and other tools like the language server and VS Code extension.
Hey, no worries, this just confused me in the past when I was looking for a formatter when developing with Cadence. Now I can hopefully help with building the production-ready formatter tool myself (onflow/developer-grants#266), so I think we can close this issue.
I was searching if there are any existing code formatting tools for Cadence, so I figured this repo is the one where such a tool would probably live.
That wasn't the case, so after some more searching I found that the current prettier tool lives here atm: https://github.com/turbolent/prettier
Should we at least mention or link to that repo within this repo's README file to make it easier to discover?
But maybe that tool isn't "production ready" yet and there is still more work to be done before making it available to Cadence users (based on onflow/cadence#209).
The text was updated successfully, but these errors were encountered: