All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Extension now calls
gitinstead of manually reading.git/files. (#75) - When there is no selection, link to the whole file on GitHub (#74)
- Only add column offset for last line when first line's column is non-zero for GitHub. (#70)
- Only add column offsets when they are non-zero for GitHub. (#68)
- fix new line in URL for SHA checkouts. (#67)
- handle missing file error when opening pull request. (#66)
- added "Open from URL" command to open a workspace file from a GitHub repository URL. (#64)
- Selections in VSCode will now highlight the same span of characters on GitHub. (#63)
- Renamed "Open PR" to "Open Pull Request".
- Replaced
enable_context_menuwith new option to allow configuring Githubinator to display context menu options in a submenu. Thanks @Far0n! (#58)
mainBranchesconfiguration option not being used. Thanks @CvX! (#56)
- compatibility with obscure git remote URL formats. (#54)
- removed VisualStudio support because of maintence burden. (#54)
- support Github ssh remote with non
gitusername. Thanks @galaydaroman! (#52)
- support git submodules when generating links. Thanks @CvX! (#48)
- updated test suite to use
vscode-test. Thanks @CvX! (#47)
- reduce package size by bundling extension with esbuild.
- fixed "\n" being included in urls for permalinks.
- Fixed URL escaping of branch and file names.
- support multiple default branches. vscode-githubinator now attempts to open
main, thenmaster,trunk,develop, anddev. Configure these branches with thegithubinator.mainBranchesoption.
- renamed
Mastercommands toMain:Githubinator: Copy Master->Githubinator: Copy Main,Githubinator: Copy Master Permalink->Githubinator: Copy Main Permalink,Githubinator: On Master->Githubinator: On Main,Githubinator: Blame On Master->Githubinator: Blame On Main
- support resolving symbolic links. vscode-githubinator will now resolve symbolic links before opening a URL.
- allow origin urls not ending in
.gitfor GitHub.
- Support calling Githubinator without an open file.
- Don't copy URL when using "Open PR".
- Fix ordering of ref lookup to check unpacked refs before looking in packed refs.
- Fixed failure when running Githubinator with detached HEAD. Githubinator would fail because there wasn't a ref to work off when running with a detached HEAD.
- Remove artifact from logo export
Githubinator: Historycommand to open commit history view for files.Githubinator: Open PRcommand to open a PR for current branch.Githubinator: Comparecommand to compare current branch.
- Url copying for commands behaves as documented in README.
- Use the
branchargument togithubinator. Now the "... on master" commands will lookup the master branch instead of using the current branch.
- logo for Visual Studio Marketplace
githubinator.enable_context_menuoption to disable/enable access to githubinator in the context menu.- Gitlab provider with
githubinator.provider.gitlab.hostnamessetting for configuring match. - Bitbucket provider and configuration.
- VisualStudio provider and configuration.
- Origin configuration for each provider.
- Github provider hostnames are now configured with
githubinator.provider.github.hostnamessetting instead ofgithubinator.provider.github. This is now an array of hostnames instead of a single hostname. Note, the default for a provider will always be used for matching, so you cannot accidentally remove matching forgithub.comby only addingmycompany.comingithubinator.provider.github.hostnames. - Global default origin is now configured via
githubinator.remoteinstead ofgithubinator.default_remote. Note, origins set on a provider override the global remote settings.
- Fix regex creation for Github provider so hostname configured in settings is used to match origins.
- Basic extension with github support