'How to prevent VS Code from auto-deleting tabs on an empty line?
Solution 1:[1]
There is a checkbox option in VSCode settings called Editor: Trim Auto Whitespace and Files: Trim Trailing Whitespace
If you uncheck that then it should stop
Solution 2:[2]
Open VS Code Settings > Extensions > Dart&Flutter. Then uncheck "Dart:Enable SDK Formatter".
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Aad |
Solution 2 | Gino Mempin |