For a lazy fix, just redirect pip output to a file and open it in VS Code (or any editor with JSON/formatter plugins).
```
pip freeze > requirements.txt && code requirements.txt
```
Not automated, but at least you get syntax highlighting.
```
pip freeze > requirements.txt && code requirements.txt
```
Not automated, but at least you get syntax highlighting.
