All Projects → kenhowardpdx → Vscode Gist

kenhowardpdx / Vscode Gist

Licence: mit
vscode extension for quick gists

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Vscode Gist

Vscode Syncing
⚡️ VSCode Extension - Sync all of your VSCode settings across multiple devices.
Stars: ✭ 395 (+170.55%)
Mutual labels:  gist, vscode, vscode-extension
Gistpad
VS Code extension for managing and sharing code snippets, notes and interactive samples using GitHub Gists
Stars: ✭ 443 (+203.42%)
Mutual labels:  gist, vscode, vscode-extension
Vs Code For Node Js Development Pack
🏃 A VS Code Extension Pack to get up and running with Node.js Development
Stars: ✭ 41 (-71.92%)
Mutual labels:  vscode, vscode-extension, tools
Vscode Swift
An extension for VS Code which provides support for the Swift language.
Stars: ✭ 132 (-9.59%)
Mutual labels:  vscode, vscode-extension
Latex Utilities
An add-on to LaTeX Workshop that provides some features that go beyond the bare essentials
Stars: ✭ 142 (-2.74%)
Mutual labels:  vscode, vscode-extension
Vscode Neovim
VSCode Neovim Integration
Stars: ✭ 2,474 (+1594.52%)
Mutual labels:  vscode, vscode-extension
Vscode Codeql Starter
Starter workspace to use with the CodeQL extension for Visual Studio Code.
Stars: ✭ 130 (-10.96%)
Mutual labels:  vscode, vscode-extension
Vscode Emacs Mcx
Awesome Emacs Keymap - VSCode emacs keybinding with multi cursor support
Stars: ✭ 135 (-7.53%)
Mutual labels:  vscode, vscode-extension
Vscode Auto Close Tag
Auto Close Tag for Visual Studio Code
Stars: ✭ 132 (-9.59%)
Mutual labels:  vscode, vscode-extension
Vscode Swift Development Environment
New home of Swift Development Environment for VS Code
Stars: ✭ 137 (-6.16%)
Mutual labels:  vscode, vscode-extension
Vscode Mjml
This repo is archived. MJML preview, lint, compile for Visual Studio Code.
Stars: ✭ 138 (-5.48%)
Mutual labels:  vscode, vscode-extension
Android Dev Ext
Android debugging support for VS Code
Stars: ✭ 141 (-3.42%)
Mutual labels:  vscode, vscode-extension
Coddx Alpha
Coddx - a collection of tools that help developers program efficiently. One of the features is generating multiple files from templates quickly.
Stars: ✭ 132 (-9.59%)
Mutual labels:  vscode, vscode-extension
Advpl Vscode
Suporte para Advpl no VsCode
Stars: ✭ 132 (-9.59%)
Mutual labels:  vscode, vscode-extension
Quicktype Vscode
VS Code extension to convert JSON to TypeScript, C#, Go, and many more
Stars: ✭ 131 (-10.27%)
Mutual labels:  vscode, vscode-extension
Vscode Browse Lite
🚀 An embedded browser in VS Code
Stars: ✭ 134 (-8.22%)
Mutual labels:  vscode, vscode-extension
Helm Intellisense
Extension for Visual Studio Code - Intellisense in helm-templates from the values.yaml
Stars: ✭ 137 (-6.16%)
Mutual labels:  vscode, vscode-extension
Vscoq
A Visual Studio Code extension for Coq [[email protected],@fakusb]
Stars: ✭ 138 (-5.48%)
Mutual labels:  vscode, vscode-extension
Vscode Stylelint
Official Visual Studio Code extension to lint CSS/SCSS/Less with stylelint
Stars: ✭ 141 (-3.42%)
Mutual labels:  vscode, vscode-extension
Vscode Elastic
Elasticsearch for VSCode
Stars: ✭ 130 (-10.96%)
Mutual labels:  vscode, vscode-extension

Gist Extension

Marketplace Version Build Status

Installs Coverage Status

Access your GitHub Gists within Visual Studio Code. You can add, edit, and delete public and private gists.

Installation

Press F1 and narrow down the list commands by typing extension. Pick Extensions: Install Extensions. Select the Gist Extension extension from the list.

GitHub Profiles

NOTE: You must provide a personal access token to be authenticated with GitHub or a GitHub Enterprise instance.

Press F1 and type select profile to initialize the profile selector. You can add as many profiles as you would like.

vscode-gist-profiles

If you are using a GitHub Enterprise account, be sure to add the appropriate API url. This extension uses the REST v3 API by GitHub. Your GHE API url should look similar to this: http(s)://[hostname]/api/v3 (documentation)

Usage

Create Gists

You must have a file open and active to create a gist.

Press F1 and enter the following:

GIST: Create New Gist

You will be prompted a gist description.

Open/Edit Gists

Press F1 and enter one fo the following:

GIST: Open Gist
GIST: Open Favorite Gist

All files associated with the gist will be opened in group layout.

Once you have opened an owned* gist, saving it will commit a new revision.

* an owned gist is one created by you, not a favorited (starred) gist.

You can also use the following commands:

GIST: Delete Gist
GIST: Delete File
GIST: Add File
GIST: Open Gist In Browser
GIST: Insert Text From Gist File

Extension Settings

Mostly you will not need to change these settings.

Setting Type Default Value Purpose
maxFiles Number 10 The maximum number of files to open without a prompt.
defaultPrivate Boolean false Defaults all newly created Gists to PRIVATE.
profileOptions Object {} Override profile configuration options.

profileOptions gives you some debugging capabilities. You can provide a profile name along with key, url, and rejectUnauthorized values. Before you can use profileOptions you *MUST* have the profile created.

interface ProfileOptions {
    key?: string; // the personal access token to use
    url?: string; // the REST endpoint to use
    rejectUnauthorized?: boolean; // set this to false if you are having ssl issues with your enterprise REST endpoint
}

An example value for profileOptions would be something like this:

{
    "GHE": { // "GHE" MUST correspond with the name used when originally configuring the profile
        "rejectUnauthorized": false
    }
}

All Commands & Keyboard Mappings

Here is a list of commands and their mapped keyboard shortcuts

Command Command Pallet Label Keyboard Mapping Notes
extension.gist.open Open Gist ctrl+alt+o
extension.gist.openFavorite Open Favorite Gist not mapped
extension.gist.create Create New Gist not mapped
extension.gist.openInBrowser Open Gist In Browser ctrl+alt+b
extension.gist.delete Delete Gist not mapped
extension.gist.deleteFile Delete File not mapped
extension.gist.add Add File ctrl+alt+a ctrl+alt+a
extension.gist.insert Insert Text From Gist File not mapped
extension.profile.select Select Profile ctrl+alt+=
extension.resetState n/a ctrl+shift+0 Delete All Extension Memory (removes auth tokens)

Show Your Support

If you'd like to support Gist, please consider the following — feel free to choose more than one. 😉

Maintainer

vscode-gist is maintained by Ken Howard.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].