For some reason my word wrapping has gotten messed up in VSCode. The word wrap occurs after saving. I do like this feature but I need it to stop wrapping so soon. There is plenty of space left on the right side still. I have prettier installed and it is set to the default 80 line width. I have changed this and restarted VSCode and the problem remains the same. I have even disabled prettier and it is still doing this. I have also gone into the word wrapper for VSCode and ensured it was off. Can anyone tell me what is causing this and how to resolve it?
And in VSCode I have changed these things with no luck...
Also, I think this problem only exists in this current project. Maybe I installed a python extension causing this?? Maybe these...
CodePudding user response:
This is a function of formatting. You can turn it off in settings.
Tips:
Pylance
is the integration of Python
and Jupyter Notebook
extensions, both of which are official extensions of Microsoft. There is no problem keeping them. :)
CodePudding user response:
The image below is located in the settings. This resolves my issue.
Also found here... VS Code Python Formatting: Change max line-length with autopep8 / yapf / black