You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing long comments in TypeScript, I often find myself moving around the last few words of each line to get it as close to the desired width as possible. It'd be awesome if there was an option to have dprint do this automatically.
Let's say my line-width was set 80. The following...
// Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
... would be formatted into...
// Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod// tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,// quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo// consequat.
Ideally the same would apply to block comments.
/** * Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod * tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, * quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo * consequat. */
The text was updated successfully, but these errors were encountered:
When writing long comments in TypeScript, I often find myself moving around the last few words of each line to get it as close to the desired width as possible. It'd be awesome if there was an option to have dprint do this automatically.
Let's say my line-width was set 80. The following...
// Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
... would be formatted into...
Ideally the same would apply to block comments.
The text was updated successfully, but these errors were encountered: