GithubHelp home page GithubHelp logo

vscode-gist's Introduction

Gist Extension

This version of the vscode-gist extension has been deprecated.

Please see kenhowardpdx/vscode-gist for the latest extension for VS Code.

vscode-gist's People

Contributors

dbankier avatar hoetz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vscode-gist's Issues

Store Auth Token outside of user settings?

I use the extension Settings Sync which stores my user settings in a Gist. I've decided to make mine public as there is no sensitive information contained within.

This means I don't want to put a Github token in my settings. I could go ahead and make them private again and then use this extension, but I'd like to avoid that if possible, and I don't see authentication as part of settings anyway.

Since Settings Sync also interacts with Gists, and does not save the token in user settings, perhaps their repository could offer some guidance?

not all the gists are displayed (pagination)

Hello.
I noticed that not all my gists appear on the menu Since GitHub API limits the number results by default, and after looking at the code, I think its only returning the first page.
This is a big limitation for those who have many gists.

A possible solution would be to iterate over each page but I am afraid that would make the extension slower.

Any ideas?

"create new PRIVATE gist" creates anonymous gist after showing error message

Repro steps:

  • install the extension from VSC, reload VSC,
  • run the command "Gist: create new PRIVATE gist",
  • enter some name to the "Enter the gist description" box and press Enter,
  • an error message "Sorry, git must be installed." is displayed. Press the "Close" button.
  • a browser window is opened with a new anonymous gist. The gist contains the text from the currently opened (in VSC) file.

What is wrong here:

  • First of all the gist should not be anonymous (or it should be mentioned in the command name that it will be anonymous).
  • It should not create a gist at all if an error occurred.
  • It should check system requirements (like presence of git) before doing anything.
  • These requirements should be mentioned in the installation instructions.
  • It should be mentioned in the command name that the gist will be created from the text in the current window. Because otherwise it is too easy to blindly create anonymous gist with sensitive and private information that could be accidentally opened in VSC (as it was in my case). It's worth noting that anonymous gists cannot be deleted or edited which makes the overall user experience truly breathtaking.

Extension version 0.5.2, VSC version 1.8.1, Windows 10 RS1 x64.

Multiple Vulnerabilities Found in Dependencies

Hello Team.

I hope you are doing well. I am reaching out to inform you of a critical security matter. After cloning the repository, I have identified several vulnerabilities across multiple dependencies. These issues range in severity.

Key Vulnerabilities identified:

Arbitrary Code Injection [Critical Severity][https://security.snyk.io/vuln/SNYK-JS-OPEN-174041] in [email protected], fix: upgrade open to version 6.0.0 or higher.

Upgrading these dependencies will not only resolve the current vulnerabilities but will also enhance the overall security posture of the project.

Cannot save on Win7

Works fine for searching, creating, pulling gists, but cannot make it work for updating gists on my Win7. Seems that the current gist context is not memorized.

How can I help diagnose / debug ?

Generate token

Is there a technical reason the extension can't run the scripts in the README on initial authorization?

PRIVATE gist is public

When I use "create new PRIVATE gist" from the command palette, it creates a public gist instead of a secret one.

when i set keyboard shortcuts

(sorry for my english)
e.g: alt+o
when i use it ,vscode show me the "there are no entries to pick from"
what i miss?

Assign sensible shortcut defaults

Here is the current list of commands:

extension.privateGist
extension.publicGist
extension.anonymousGist
extension.openGist
extension.openStarredGist
extension.deleteCurrentGist
extension.removeFileFromGist
extension.addNewFileToGist
extension.changeGistDescription
extension.openGistInBrowser

Trying to work out what makes sense first.

Bitbucket Snippets

Bitbucket offers a gist like thing called snippets. it would be cool if you could integrate them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.