VSCode: Add GitLens integration instructions with projects.blender.org #59
@ -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}"
|
||||
> }
|
||||
> }]
|
||||
> ```
|
Loading…
Reference in New Issue
Block a user