PythonKiddieScripterX
PythonKiddieScripterX

Reputation: 517

Vscode keeps moving my commented lines on save

Everytime I save my python project, it keeps moving my comments away from my flask routes by two lines.

I disabled prettier I disabled intelisense I also restarted vscode

But the issue still remains: enter image description here

enter image description here

Upvotes: 2

Views: 1139

Answers (1)

MingJie-MSFT
MingJie-MSFT

Reputation: 9317

  1. ctrl+p and type "setting.json".
  2. Find the line named "editor.formatOnSave", change "true" to "false"

Upvotes: 1

Related Questions