Lagrida Yassine
Lagrida Yassine

Reputation: 110

Probleme returning to a new line automatically (Visual Studio)

I have a problem in my Visual Studio editor, when I stop typing code, 2 seconds later the editor automatically jumps to a new line!

Please I need to disable this nasty habit:

enter image description here

Upvotes: 0

Views: 270

Answers (1)

Qiqke
Qiqke

Reputation: 486

This is problably some config you made; try to:

First end the process by Admin Task panel and them open again to check if that change you made its only persist in that session, if you open again and the problem persist I recommend you this:

To reset everything(your VSC config and the extensions), go to %userprofile%\AppData\Roaming\Code and delete the whole folder after you uninstall the VS code, then install it again.

Also in %userprofile%\.vscode delete extensions folder in case you want to delete all extensions. Here the info from file settings. But probably if you want to start afresh, deleting the settings.json file from your user's profile will probably do the trick.

Here another post which is similar to your problem

I simulated your problem "editor.formatOnSave": true is triggering the issue. The same happens if I set python.formatting.formatOnSave": true.

Upvotes: 1

Related Questions