This folder hosts the string-fixer VSCode extension, which just provides an easy way to run string-fixer through your IDE.
- Run string-fixer against your workspace using the
string-fixer: Runcommand in the command pallette (CTRL+Shift+p). - Use string-fixer as a Python formatter
ms-python.python extension is required.
Your selected interpreter also needs to have string-fixer installed as a module. You can install it by running python -m pip install string-fixer.
This extension contributes the following settings:
string-fixer.folder- The folder containing the
pyproject.tomlfile used to configure the library. Defaults to the current workspace folder. - This should be relative to the root of the workspace folder.
- The folder containing the
string-fixer.preFormatter- Run another formatting extension against the code before running string-fixer. Ruff and Black are supported. Defaults to doing nothing.