-
Notifications
You must be signed in to change notification settings - Fork 847
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
Bulk Comments #218
Comments
I don't really see much of a need personally. It might be somewhat nice to have, but TOML is supposed to be minimal and I don't think "somewhat nice to have" meets the standard to add a new syntactic form. And if we're going to do bulk comments, then we might as well do what everyone else does (e.g., |
I agree with @BurntSushi. I'd love for TOML to keep its focus on minimal syntax. Ruby's gotten by without block comments, and I think TOML can too. Thanks! |
Nine years later and the need for block comments is as strong as before. |
9 years later I am embarrassed I was using coffeescript when I made this ticket 😂 I think likelihood of changing to multiline comments at this juncture is low. Editors nowadays make it easy to bulk add and remove comments per line anyway |
Hmm, you maybe right. |
Python, TCL, and YAML don't have it, Perl also doesn't outside of some hackery, Ruby has it but is rarely used (I don't think I've ever encountered it). That's just from the top of my head. This statement is clearly incorrect. We can't add multiline comments starting with a
It's not frozen; TOML is "Tom's Obvious, Minimal Language". It tries to be useful while remaining obvious and minimal. Where the cut-off is for "minimal" and "obvious" is a matter of taste, but the goal is not and has never been to include every possible feature. |
The c-style block comments are fairly standard and easy to parse. |
If I'm not mistaken, Python has:
but @arp242 clearly explained a lot of valid concerns and reasons, thank you. |
What you're describing in Python is typically used in docstrings. But those aren't comments. They're just string values in Python, and they have special meaning when put in their right places. |
Any way to do bulk comments in TOML files?
If not, may I propose
###
ala coffeescript?The text was updated successfully, but these errors were encountered: