You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## 1.0.0 - 2021-04-17
11
+
12
+
### Added
13
+
14
+
- support multiple default branches. vscode-githubinator now attempts to open `main`, then `master`, `trunk`, `develop`, and `dev`. Configure these branches with the `githubinator.mainBranches` option.
15
+
16
+
### Changed
17
+
18
+
- renamed `Master` commands to `Main`: `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`
19
+
20
+
### Fixed
21
+
22
+
- support resolving symbolic links. vscode-githubinator will now resolve symbolic links before opening a URL.
The "main" branch is configured via `githubinator.mainBranches` (see "Extension Settings" below).
47
+
46
48
## Requirements
47
49
48
50
- Local Git repository. You must have a git repository configured with a remote. (`"origin"` is default but this can be changed in settings).
49
51
50
52
## Extension Settings
51
53
54
+
-`githubinator.enable_context_menu`: Enable access to Githubinator commands from the context menu. (default: `true`)
55
+
-`githubinator.mainBranches`: Branch names to use as `main` repository branch. (default: `["main", "master", "trunk", "develop", "dev"]`)
52
56
-`githubinator.remote`: The default remote branch for a repository. (default: `"origin"`)
53
57
-`githubinator.providers.github.remote`: Remote name to look for when identifying a Github origin. (default: `"origin"`)
54
58
-`githubinator.providers.github.hostnames`: Hostnames for identifying a Github origin and building a URL. (default: `["github.com"]`)
@@ -65,6 +69,12 @@ With `vsce` installed from NPM (`yarn global add vsce`), clone [this repo](https
65
69
66
70
## Release Notes
67
71
72
+
## 1.0.0
73
+
74
+
- support multiple default branches. vscode-githubinator now attempts to open `main`, then `master`, `trunk`, `develop`, and `dev`. Configure these branches with the `githubinator.mainBranches` option.
75
+
- renamed `Master` commands to `Main`: `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`
76
+
- support resolving symbolic links. vscode-githubinator will now resolve symbolic links before opening a URL.
77
+
68
78
## 0.3.1
69
79
70
80
- allow origin urls not ending in `.git` for GitHub.
Copy file name to clipboardExpand all lines: package.json
+20-6Lines changed: 20 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
"name": "githubinator",
3
3
"displayName": "Githubinator",
4
4
"description": "Quickly open files on Github and other providers. View blame information, copy permalinks and more. See the \"commands\" section of the README for more details.",
"description": "Enable access to Githubinator commands from the context menu."
205
205
},
206
+
"githubinator.mainBranches": {
207
+
"type": "array",
208
+
"items": {
209
+
"type": "string"
210
+
},
211
+
"default": [
212
+
"main",
213
+
"master",
214
+
"trunk",
215
+
"develop",
216
+
"dev"
217
+
],
218
+
"description": "Branch names to use as `main` repository branch. If you call \"Githubinator: Blame on Main\", we try to open the `main` branch then fall back to the next name."
0 commit comments