-
Notifications
You must be signed in to change notification settings - Fork 221
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
Column limits don't seem to apply to comments #469
Comments
Did you mean to file this over at apple/swift-format? The current behavior is WAI, but I'd like to make improvements here. Treating comments as Markdown resolves the majority of my concerns around formatting comments (a long URL? Markdown will still preserve it past the line limit. Some fancy ASCII art diagram? Wrap it in triple-backticks to preserve it), but we'll need semver releases over at https://github.com/apple/swift-markdown before we can adopt it. |
Uh, yeah. Can it be moved? Should I refile?
? |
I've transferred it over.
Working as intended (under the constraints today, which is that I don't want us to implement our own line-breaking logic for prose, and using swift-markdown would fix that). |
Tracked in Apple’s issue tracker as rdar://126948257 |
Description
I want column limits respected even in comments, and I want them to be automatically line-wrapped, preserving markdown semantics within doc comments.
Steps to Reproduce
Run
swift-format lint
on:// 01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
It should complain, but does not.
The text was updated successfully, but these errors were encountered: