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
Please create a [Personal Access Tokens](https://gitlab.com/profile/personal_access_tokens) by hand
15
+
16
+
### Usability
17
+
* select text for sharing
18
+
* context menus
19
+
4
20
## Usage
5
21
6
22
Press `Ctrl+Shift+P` and type in `Share Code`. Then you can select between Pastebin and GitHub Gist. *(anonymous)* means you don't have to login to share a file, but you can't edit or remove it later, when you choose this option.
@@ -14,14 +30,17 @@ HowTo upload a file to Github Gist:
You can configure your Username. Go to `File > Preferences > User Settings` and add these Lines:
18
-
33
+
These settings are set automatically when you start the extension. You can also manually configure your user name and token. Go to `File > Preferences > User Settings` and add these lines:
19
34
```
20
35
{
21
-
"shareCode.pastebin.username":"YourUserName",
22
-
"shareCode.gist.username":"YourUserName"
36
+
"shareCode.pastebin.username": "...",
37
+
"shareCode.pastebin.authtoken": "...",
38
+
"shareCode.github.username": "...",
39
+
"shareCode.github.authtoken": "..."
23
40
}
24
41
```
42
+
## Reset Github token
43
+
Sometimes it is necessary to delete a token. Go to this [page](https://github.com/settings/tokens) and delete the token named `VSCode Share Code`.
0 commit comments