diff --git a/docs/handbook/development_environments/vscode.md b/docs/handbook/development_environments/vscode.md index 65045f6e..22e013c5 100644 --- a/docs/handbook/development_environments/vscode.md +++ b/docs/handbook/development_environments/vscode.md @@ -397,4 +397,30 @@ instructions on using VSCode for Blender development. > ``` >? NOTE: **Git Integration** -> TODO +> To have VSCode navigate to the Blender repository from context menus, first install +> the following: +> +> - **Git Lens** (`eamodio.gitlens`) +> +> Add the following to your user `settings.json` +> +> ```json +> ... +> "gitlens.remotes": [{ +> "domain": "projects.blender.org", +> "type": "Custom", +> "name": "Blender", +> "protocol": "https", +> "urls": { +> "repository": "https://projects.blender.org/${repo}", +> "branches": "https://projects.blender.org/${repo}/branches", +> "branch": "https://projects.blender.org/${repo}/commits/${branch}", +> "commit": "https://projects.blender.org/${repo}/commit/${id}", +> "file": "https://projects.blender.org/${repo}/src/{file}${line}", +> "fileInBranch": "https://projects.blender.org/${repo}/src/${branch}/${file}${line}", +> "fileInCommit": "https://projects.blender.org/${repo}/srs/commit/${id}/${file}${line}", +> "fileLine": "#L${line}", +> "fileRange": "#L${start}-L${end}" +> } +> }] +> ``` \ No newline at end of file