Skip to content

Commit 876d956

Browse files
author
Ziya SARIKAYA
committed
add open pull request docs
1 parent e954de6 commit 876d956

File tree

4 files changed

+23
-15
lines changed

4 files changed

+23
-15
lines changed

README.md

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,20 @@ Press <kbd>F1</kbd> and narrow down the list commands by typing `extension`. Pic
1515

1616
Simply pick the `Open in GitHub / Bitbucket` extension from the list
1717

18-
##Install Manual
18+
## Install Manual
19+
20+
### Mac & Linux
1921

20-
**Mac & Linux**
2122
```sh
2223
cd $HOME/.vscode/extensions
2324
git clone https://github.com/ziyasal/vscode-open-in-github.git
2425
cd vscode-open-in-github
2526
npm install
2627
```
2728

28-
**Windows**
29-
```
29+
### Windows
30+
31+
```sh
3032
cd %USERPROFILE%\.vscode\extensions
3133
git clone https://github.com/ziyasal/vscode-open-in-github.git
3234
cd vscode-open-in-github
@@ -35,7 +37,7 @@ npm install
3537

3638
## Usage
3739

38-
**Command**
40+
### Command
3941

4042
Press <kbd>F1</kbd> and type `Open in GitHub`.
4143

@@ -45,27 +47,33 @@ Press <kbd>F1</kbd> and type `Copy GitHub link to clipboard`.
4547

4648
![copy](screenshots/copy.png?raw=true "Copy function")
4749

48-
**Keybord Shortcut**
50+
Press <kbd>F1</kbd> and type `Open Pull Request`.
51+
52+
![copy](screenshots/pull-req-cmd.png?raw=true "Copy function")
53+
54+
### Keybord Shortcut
4955

5056
Press <kbd>Ctrl+L G</kbd> to activate.
5157
Press <kbd>Ctrl+L C</kbd> to copy active line link to clipboard.
52-
53-
**Context menu**
58+
59+
### Context menu
5460

5561
Right click on explorer item and choose `Open in GitHub` or `Copy GitHub link to clipboard`.
5662

5763
![context](screenshots/context-menu.png?raw=true "Context menu options")
5864

59-
**Configure custom github domain**
60-
61-
Add following line into workspace settings;
62-
```json
65+
### Configure custom github domain
66+
67+
Add following line into workspace settings;
68+
69+
```json
6370
{
64-
"openInGitHub.gitHubDomain":"your custom github domain here"
71+
"openInGitHub.gitHubDomain":"your custom github domain here"
6572
}
66-
```
73+
```
74+
6775
Have fun..
6876

6977
## License
7078

71-
MIT © [Ziya SARIKAYA @ziyasal](https://github.com/ziyasal)
79+
MIT © [Ziya SARIKAYA @ziyasal](https://github.com/ziyasal) & Contributors

screenshots/context-menu-old.png

110 KB
Loading

screenshots/context-menu.png

413 KB
Loading

screenshots/pull-req-cmd.png

634 KB
Loading

0 commit comments

Comments
 (0)