Skip to content

Instantly share code, notes, and snippets.

@dududko
dududko / .vscode_settings.json
Last active July 10, 2025 01:02
The example on how to enable autocompletion for python code in bazel workspace in VS Code. The concept of this solution is to create a repository based on `requirements_lock.txt` file that will contain symbolic links to external python packages in bazel workspace. This approach allows to keep the `.vscode/settings.json` file small.
{
// Enable autocompletion for Python
"python.analysis.extraPaths": ["${workspaceFolder}/external/+vs_code_python_autocompletion+py_deps"],
}