zed icon indicating copy to clipboard operation
zed copied to clipboard

Rewrap not working with multi-line comment blocks in TypeScript

Open aleclarson opened this issue 1 year ago • 3 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

In TypeScript, the Editor::Rewrap command works with single-line comments grouped together, but not with multi-line comment blocks.

/**
 * Multi-line comment block that should be split into two lines when Editor::Rewrap is used.
 */

// Single-line comments grouped together are properly split when Editor::Rewrap is used.
// Give it a try.

Environment

Zed: v0.158.2 (Zed) OS: macOS 14.4.1 Memory: 20 GiB Architecture: x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

No response

aleclarson avatar Oct 26 '24 16:10 aleclarson

Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 7 days. Thanks for your help!

github-actions[bot] avatar May 07 '25 07:05 github-actions[bot]

I can very much still reproduce it in v0.185.9

rlamacraft avatar May 07 '25 08:05 rlamacraft

Can confirm the problem still exists in v0.187.9.

danfuzz avatar May 27 '25 19:05 danfuzz