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
I think it would make sense to create a custom cmake-format config as there are some interesting options that we could make use of. One is --max-pargs-hwrap 2 this leads to all positional arguments (e.g. files or libraries) to wrap to a vertical layout after 2 args as seen in the following example:
This has the advantage that diffs that modify the linked libraries are much easier to read as each lib is on a separate line. There are likely more sensible options that we could add in addition to this.
Description
I think it would make sense to create a custom cmake-format config as there are some interesting options that we could make use of. One is
--max-pargs-hwrap 2
this leads to all positional arguments (e.g. files or libraries) to wrap to a vertical layout after 2 args as seen in the following example:This has the advantage that diffs that modify the linked libraries are much easier to read as each lib is on a separate line. There are likely more sensible options that we could add in addition to this.
cc @kgpai
The text was updated successfully, but these errors were encountered: