Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format C++ code #2

Closed
dirkschumacher opened this issue Jul 31, 2019 · 4 comments
Closed

Format C++ code #2

dirkschumacher opened this issue Jul 31, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@dirkschumacher
Copy link
Owner

Is there a good option to format the generated C++ code so it looks nice?

@dirkschumacher dirkschumacher added the enhancement New feature or request label Jul 31, 2019
@coatless
Copy link

Unfortunately, I think a system dependency would be required (c.f. clang-format) as the present formatters (formatR, styler, highlight) are R-focused.

@coatless
Copy link

Thinking about this more as this is a translation of a unit... Couldn't the R code be formatted initially and, then, just do in place substitution with the C++ phrases to avoid needing to manage C++ format?

@dirkschumacher
Copy link
Owner Author

Thanks. Yeah that might work.

@dirkschumacher
Copy link
Owner Author

See #11 for further discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants