pythonvisual-studio-code

Vscode: How to disable auto breaking too long lines?


I have line of code:

thread = ThreadModel.objects.filter(user=request.user, receiver=receiver)[0]

After ctrl + s, Vscode correcting my line and I got:

  thread = ThreadModel.objects.filter(
      user=request.user, receiver=receiver)[0]

I don't want that. How can I turn off it?

I have read settings and I didn't find solution.


Solution

  • In VsCode settings set editor.formatOnSave to false