You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have followed the guide for the installation and updated my settings.json. When I run VSCode in a container, my files aren't format on save. When I use Ctrl+P it says there is multiples formatters for python files, and when I choose black it format my code without issues. Hower there is no logs when I save without using Ctrl+P format document.
If I use a virtualenv and use it on my local machine instead of the docker container, the files are formatted correctly.
If I black with the python extension it works even in the container
The text was updated successfully, but these errors were encountered:
@karthiknadig Ok it works thanks. It may be an issue with some other settings because it also works if I remove the file of the container. What's the difference between this settings and the settings on the .vscode folder?
The one in container overrides the User settings, and the one in .vscode folder in your workspace overrides any container, user or machine level settings.
Hello, I have followed the guide for the installation and updated my settings.json. When I run VSCode in a container, my files aren't format on save. When I use Ctrl+P it says there is multiples formatters for python files, and when I choose black it format my code without issues. Hower there is no logs when I save without using Ctrl+P format document.
If I use a virtualenv and use it on my local machine instead of the docker container, the files are formatted correctly.
If I black with the python extension it works even in the container
The text was updated successfully, but these errors were encountered: