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
Rewrap: find the extension --> click the little gear icon --> click "Copy":
Name: Rewrap
Id: stkb.rewrap
Description: Hard word wrapping for comments and other text at a given column.
Version: 1.16.3
Publisher: stkb
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=stkb.rewrap
To create the problem:
Create a new file. Set the syntax highlighting to Plain Text. Copy and paste this into it:
```py
# dynamically allocate a pointer variable named `var`, dynamically wwwwwwwwwwwwwwwwwwwwwweeeallocate an integer object with a `0` in it
var = 0
```
Place your cursor on the long comment line. Press Alt + Q to hard wrap.
It works fine.
Now set the language to Markdown. Put the long comment line back how it was. Alt + Q no longer works to hard wrap it, but it should.
Update: it's not just inside code blocks in Markdown files, it's any line beginning with #. It won't hard wrap those lines in Markdown files.
The text was updated successfully, but these errors were encountered:
ElectricRCAircraftGuy
changed the title
Bug: won't wrap contents inside code blocks in Markdown documents
Bug: won't wrap lines that begin with # in Markdown files
Sep 23, 2023
Using Alt + Q to hard-wrap comment lines inside Markdown files does not work.
Version info.
VSCode: Help --> About:
Rewrap: find the extension --> click the little gear icon --> click "Copy":
To create the problem:
Create a new file. Set the syntax highlighting to
Plain Text
. Copy and paste this into it:Place your cursor on the long comment line. Press Alt + Q to hard wrap.
It works fine.
Now set the language to
Markdown
. Put the long comment line back how it was. Alt + Q no longer works to hard wrap it, but it should.Update: it's not just inside code blocks in Markdown files, it's any line beginning with
#
. It won't hard wrap those lines in Markdown files.The text was updated successfully, but these errors were encountered: