-
Notifications
You must be signed in to change notification settings - Fork 22
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
Suggestion: A second command to do the opposite - reformat a multiline function onto a single line #8
Comments
Sounds good, I'll add a |
Or maybe the number of parameters - anything more than 3 could be multiline |
BRUH I clicked command enter and it closed it |
My preference would be number of characters, sometimes thing have long names or short names and fit easily. Thanks so much for considering, and thanks again! This makes me so happy. |
I'd love to have a second command that can do the opposite of Multiliner - reformat a multi-line call into a single line.
Background: Our company style guide says if a function call is under 120 chars it should be a single line, otherwise split up like Multiliner does. Often times when refactoring I'm deleting a bunch of parameters and the call would fit on a single line. I'd love a command to be able to reformat it quickly onto one line to check if it fits.
PS: This is incredible, I've been periodically searching for something like this for ages. Thank you so much for making it! You are going to save me a few minutes every day.
The text was updated successfully, but these errors were encountered: