Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🐝 VSCode plugin to quickly open files on Github and other providers. View Git blame information, copy permalinks and more.

License

NotificationsYou must be signed in to change notification settings

cdignam-segment/vscode-githubinator

 
 

Repository files navigation

VSCode plugin to quickly open files on Github and other providers. View Git blame information, copy permalinks and more. See the "commands" section of the README for more details.

Install

From online marketplace

Open theonline marketplace listing for Githubinator and click "Install". Follow the prompts to open VSCode and install Githubinator.

From VSCode

In VSCode, typeCMD+P and enterext install chdsbd.githubinator. Or search for and installchdsbd.githubinator via the extensions tab.

From Github release

Download the extension package from thelatest Github release and runcode --install-extension githubinator-*.vsix

From source

Withvsce installed from NPM (yarn global add vsce), clonethis repo and runvsce package. Install the resulting package withcode --install-extension githubinator-*.vsix

Features

feature X

Commands

commandcopy URLopen URLmodeSHA-type
Githubinatorblobcurrent branch
Githubinator: Copyblobcurrent branch
Githubinator: Copy Mainblob"main" branch
Githubinator: Copy Permalinkblobcurrent SHA
Githubinator: Copy Main Permalinkblob"main" SHA
Githubinator: On Mainblob"main" branch
Githubinator: Permalinkblobcurrent SHA
Githubinator: Blameblamecurrent branch
Githubinator: Blame On Mainblame"main" branch
Githubinator: Blame Permalinkblamecurrent sha
Githubinator: Repositoryopen repoN/A
Githubinator: Historyopen historyN/A
Githubinator: Open PRopen PRN/A
Githubinator: Comparecompare branchN/A

The "main" branch is configured viagithubinator.mainBranches (see "Extension Settings" below).

Requirements

  • Local Git repository. You must have a git repository configured with a remote. ("origin" is default but this can be changed in settings).

Extension Settings

  • githubinator.contextMenu: Enable access to Githubinator commands from the context menu ("enabled"|"submenu"|"disabled"). (default:"enabled")
  • githubinator.mainBranches: Branch names to use asmain repository branch. (default:["main", "master", "trunk", "develop", "dev"])
  • githubinator.remote: The default remote branch for a repository. (default:"origin")
  • githubinator.providers.github.remote: Remote name to look for when identifying a Github origin. (default:"origin")
  • githubinator.providers.github.hostnames: Hostnames for identifying a Github origin and building a URL. (default:["github.com"])
  • githubinator.providers.gitlab.remote: Remote name to look for when identifying a Gitlab origin. (default:"origin")
  • githubinator.providers.gitlab.hostnames: Hostnames for identifying a Gitlab origin and building a url. (default:["gitlab.com"])
  • githubinator.providers.bitbucket.remote: Remote name to look for when identifying a Bitbucket origin. (default:"origin")
  • githubinator.providers.bitbucket.hostnames: Hostnames for identifying a Bitbucket origin and building a url. (default:["bitbucket.org"])

Prior Art

This plugin is based on theSublime Plugin by ehamiter with the same name.

projectprovidersblamehistorycomparepermalinkmastercopyopenopen-prone-step actionsprovider autodetection
this projectGithub, Bitbucket, Gitlab
d4rkr00t/vscode-open-in-github (vscode)Github
ziyasal/vscode-open-in-github (vscode)Github, Bitbucket, Gitlab, Visualstudio✅*

* changeable in settings between permalink and branch

Development

# install dependenciesmake install# lint (tslint and formatting)make lint# format codemake format# check formattingmake format-ci# run testsmaketest# run linting and testingmake test-ci

VSCode instructions

Get up and running straight away

  • PressF5 to open a new window with your extension loaded.
  • Run your command from the command palette by pressing (Ctrl+Shift+P orCmd+Shift+P on Mac) and typingHello World.
  • Set breakpoints in your code insidesrc/extension.ts to debug your extension.
  • Find output from your extension in the debug console.

Make changes

  • You can relaunch the extension from the debug toolbar after changing code insrc/extension.ts.
  • You can also reload (Ctrl+R orCmd+R on Mac) the VS Code window with your extension to load your changes.

Run tests

  • Open the debug viewlet (Ctrl+Shift+D orCmd+Shift+D on Mac) and from the launch configuration dropdown pickExtension Tests.
  • PressF5 to run the tests in a new window with your extension loaded.
  • See the output of the test result in the debug console.
  • Make changes totest/extension.test.ts or create new test files inside thetest folder.
    • By convention, the test runner will only consider files matching the name pattern**.test.ts.
    • You can create folders inside thetest folder to structure your tests any way you want.

Publish

vsce packagevsce login chdsbdvsce publish<version>

Logo

Based on theGit Logo byJason Long, licensed under theCreative Commons Attribution 3.0 Unported License..

About

🐝 VSCode plugin to quickly open files on Github and other providers. View Git blame information, copy permalinks and more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript99.3%
  • Makefile0.7%

[8]ページ先頭

©2009-2025 Movatter.jp