{"id":23591522,"url":"https://github.com/qinezh/vscode-gitlink","last_synced_at":"2025-05-07T17:13:54.298Z","repository":{"id":14001358,"uuid":"75619227","full_name":"qinezh/vscode-gitlink","owner":"qinezh","description":"Goto/Copy File's Online Link","archived":false,"fork":false,"pushed_at":"2024-06-21T09:14:59.000Z","size":8296,"stargazers_count":54,"open_issues_count":6,"forks_count":12,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T17:13:48.275Z","etag":null,"topics":["git","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qinezh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-05T11:39:25.000Z","updated_at":"2024-12-09T20:47:51.000Z","dependencies_parsed_at":"2023-02-18T13:16:10.631Z","dependency_job_id":null,"html_url":"https://github.com/qinezh/vscode-gitlink","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qinezh%2Fvscode-gitlink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qinezh%2Fvscode-gitlink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qinezh%2Fvscode-gitlink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qinezh%2Fvscode-gitlink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qinezh","download_url":"https://codeload.github.com/qinezh/vscode-gitlink/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252922335,"owners_count":21825639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","vscode-extension"],"created_at":"2024-12-27T07:39:22.603Z","updated_at":"2025-05-07T17:13:54.266Z","avatar_url":"https://github.com/qinezh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitLink\n\n[![Current Version](https://vsmarketplacebadges.dev/version/qezhu.gitlink.svg)](https://marketplace.visualstudio.com/items?itemName=qezhu.gitlink)\n[![Installs](https://vsmarketplacebadges.dev/installs-short/qezhu.gitlink.svg)](https://marketplace.visualstudio.com/items?itemName=qezhu.gitlink)\n[![Rating](https://vsmarketplacebadges.dev/rating/qezhu.gitlink.svg)](https://marketplace.visualstudio.com/items?itemName=qezhu.gitlink)\n[![AppVeyor](https://img.shields.io/appveyor/ci/qinezh/vscode-gitlink.svg)](https://ci.appveyor.com/project/qinezh/vscode-gitlink)\n\nInspired by GitHub extension for Visual Studio, this extension provide features that **Go To** current file's online link in browser and **Copy** the link in clipboard.\n\n## Features\n\n1. Go to the online link of current file.\n2. Copy the online link of current file.\n3. Supported git repo platforms:\n    1. GitHub\n    2. GitLab\n    3. Azure DevOps\n    4. BitBucket\n    5. VSTS\n\n## Usage\n\n\u003cimg src=\"https://github.com/qinezh/vscode-gitlink/raw/main/images/how_to_use_it.gif\" width=\"600\"/\u003e\n\n### Set default remote source\n\nWhen your project has multiple git remotes, you need to choose the git remote before the git link is generated. If you don't want to choose it every time, you could set the default remote source:\n\n**Workspace Level**: add `gitlink.defaultRemote: \"\u003cyour_default_remote_source_name\u003e\"` in `.vscode/settings.json` under the root of your workspace.\n\n**Global Level**: toggle the preference of vscode, and add `gitlink.defaultRemote: \"\u003cyour_default_remote_source_name\u003e\"` in User Settings.\n\nPlease note, you could get the name of your remote sources by the command: `git remote -v`:\n\n```bash\n# example\n$ git remote -v\norigin  git@github.com:qinezh/vscode-gitlink (fetch)\norigin  git@github.com:qinezh/vscode-gitlink (push)\nupstream        git@github.com:upstream/vscode-gitlink.git (fetch)\nupstream        git@github.com:upstream/vscode-gitlink.git (push)\n```\n\nAnd the sample `settings.json` could be like:\n```json\n{\n    \"gitlink.defaultRemote\": \"upsteam\"\n}\n```\n\n**Enjoy!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqinezh%2Fvscode-gitlink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqinezh%2Fvscode-gitlink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqinezh%2Fvscode-gitlink/lists"}