stkb / Rewrap

Rewrap extension for VSCode and Visual Studio
https://marketplace.visualstudio.com/items/stkb.rewrap
Other
499 stars 58 forks source link

Rewrap doesn't work with C++ code #374

Open intelliot opened 1 year ago

intelliot commented 1 year ago

Sometimes my text file gets Auto Detected as C++, and then Rewrap stops working (has no effect). If I manually change the Language Mode to Markdown, then it starts working again.

edwinans commented 11 months ago

I have the same problem with all of my non Markdown files (.ml, .py, .js, …). VSCode:

Version: 1.80.2 (user setup)
Commit: 2ccd690cbff1569e4a83d7c43d45101f817401dc
Date: 2023-07-27T20:40:28.909Z
Electron: 22.3.14
ElectronBuildId: 22695494
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.22621

No particular related settings than:

"rewrap.wrappingColumn": 80
"editor.wordWrapColumn": 80