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

Not really happy with the indentation in a specific combination of language features #1463

Open
escamoteur opened this issue May 6, 2024 · 3 comments

Comments

@escamoteur
Copy link

escamoteur commented May 6, 2024

Sorry for this general title but it's best to see what I mean. I have this piece of code

grafik

adding a trailing comma behind cmdAddMessage doesn't make it much better

grafik

any idea how to improve the overall indentation

@escamoteur
Copy link
Author

Actually if I replace the lambda with a tearoff it looks much better. Could that be possible with the lambda in place?
grafik

@srawlins
Copy link
Member

srawlins commented May 6, 2024

Thanks for filing an issue and for the screenshots. With text, others can play with the results. No one wants to type that in. Narrowing the text down to a minimal reproduction also helps others focus on what indentation is undesirable, and what is unrelated.

What indentation are you not happy with?

@escamoteur
Copy link
Author

escamoteur commented May 6, 2024 via email

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

No branches or pull requests

2 participants