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
Thanks for searching first :-) We decided against this in (agree hard to find) #365 for the reasons outlined there. Note that as far as alignment goes, there are considerations to detect certain patterns and don't apply styling, see #258.
@russHyde by popular request we think we might anyways implement this feature (although I don't recommend using it) and progress is tracked in #365 if you want to follow up on that.
Thanks. It was the introduction of the {{ syntax in rlang (and the expectation that additional syntax might be added that styler wouldn't immediately handle; I appreciate that you've addressed {{ in styler) that spurred me to ask about this. However, I've rethought my process and tried to remove 'weird new syntax' from my packages as much as possible ...
Ok. Yes, I suppose it would have been helpful for me to know that earlier, I could have pointed you to #528 :-). In almost any problem with styling, there is a general rule we can derive from it and which I am happy to implement (as it is obvious to me we need to handle {{). I'll make a CRAN submission soon as you might have seen in #556 so this should lower the barrieres to use styler again 😄 . In the meanwhile, you can just install from the master branch from GitHub.
Activity
lorenzwalthert commentedon Jul 10, 2019
Thanks for searching first :-) We decided against this in (agree hard to find) #365 for the reasons outlined there. Note that as far as alignment goes, there are considerations to detect certain patterns and don't apply styling, see #258.
lorenzwalthert commentedon Jul 10, 2019
If you want you can try the version of the WIP for detecting alignment, but no guarantees about future maintenance or further development. https://github.com/lorenzwalthert/styler/tree/detect-alignment. The goal is, however, to once finish this up and merge it into master. You can also subscribe to the other issue to make sure you don't miss anything.
lorenzwalthert commentedon Oct 11, 2019
@russHyde by popular request we think we might anyways implement this feature (although I don't recommend using it) and progress is tracked in #365 if you want to follow up on that.
russHyde commentedon Oct 16, 2019
Thanks. It was the introduction of the
{{syntax inrlang(and the expectation that additional syntax might be added that styler wouldn't immediately handle; I appreciate that you've addressed{{in styler) that spurred me to ask about this. However, I've rethought my process and tried to remove 'weird new syntax' from my packages as much as possible ...lorenzwalthert commentedon Oct 16, 2019
Ok. Yes, I suppose it would have been helpful for me to know that earlier, I could have pointed you to #528 :-). In almost any problem with styling, there is a general rule we can derive from it and which I am happy to implement (as it is obvious to me we need to handle
{{). I'll make a CRAN submission soon as you might have seen in #556 so this should lower the barrieres to use styler again 😄 . In the meanwhile, you can just install from the master branch from GitHub.lorenzwalthert commentedon Oct 22, 2019
We have a draft :-). Feedback welcome, please in the PR (#560), not here in the issue.
lorenzwalthert commentedon Nov 30, 2019
Closed with #560.