diff --git a/Python.gitignore b/Python.gitignore index e15106e38f..61ed4a6f79 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -197,9 +197,14 @@ cython_debug/ # Visual Studio Code # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore -# and can be added to the global gitignore or merged into this file. However, if you prefer, -# you could uncomment the following to ignore the entire vscode folder +# and can be added to the global gitignore or merged into this file. +# 1. If you prefer, you could uncomment the following to ignore the entire vscode folder # .vscode/ +# +# 2. If you prefer to track shared VS Code settings, you could uncomment the following lines to +# include settings.json while ignoring all other files in the .vscode directory. +# .vscode/* +# !.vscode/settings.json # Ruff stuff: .ruff_cache/