Lorenz Walthert

Results 538 comments of Lorenz Walthert
trafficstars

> Note that considerations around the operator precedence do not apply here since they don't actually function as mathematical operators in this context I don’t think we can differentiate these...

I agree this would be handy. Also in the ouptut of `style_pkg()` and the like, where all files are enumerated. Even more generally, having clickable output might be desirable, e.g....

This is a bit more complex with current code since the rule is implemented to check if there is a function token and If yes, add the braces, without knowing...

Right… but I think in your example, you only put one level of indention. Shouldn’t it be ```r R6Class("MyClass", public = list( param = NULL, initialize = function( my_long_parameter =...

Seems like detection of double indention is based on the absolute indention of the formals, instead of the relative...

Acknowledging this, but won’t have capacity to work on it at the moment. Contributions welcome.

@MichaelChirico ~can you review the PR and in particular think about more cases for tests that I might not have considered?~ Actually I first have to fix things...

thanks. My attempt was not working as expected and I don't have the bandwith to work on this at the moment.

I see the use case, but most people won't want this always. Note that {styler} preserves line breaks around comments in certain situations (search the issues for more context), e.g....