WrapToColumn
WrapToColumn copied to clipboard
[feature request] recognize //! used by top-level rustdoc comments
Hi, thanks for writing this plugin! I use it everyday :)
I'm wondering if it can be extended to support the //! syntax used by rustdoc comments at the top level. Hopefully it should be pretty easy to add :)
Now that Jetbrains has RustRover, this issue is more of a very frustrating defect than a feature. If I was a Kotlin developer, I would submit a patch. Any way we can grease the wheels to get this fixed?
Example input:
//! This is a long comment that needs to be wrapped. Please wrap this comment successfully in the near future.
Expected result:
//! This is a long comment that needs to be wrapped. Please wrap this comment
//! successfully in the near future.
Actual result:
//! This is a long comment that needs to be wrapped. Please wrap this comment
//successfully in the near future.
Thank you for the plugin and continued maintenance!
Just hit this. Module level //! comments, which typically contain a lot of text, need this feature.