Use gist name or description consistent across all extension
See original GitHub issue🐛 Describe the bug
I am trying to use a different name of the gist and have set "askGistName": true
in syncLocalSettings.json
but I do not get any prompt asking for the name of the gist.
🌴 Visual Studio Code Version : 1.37.1 🌴 Code Settings Sync Version : 3.4.2 🌴 Standard or Insiders : Standard 🌴 Portable or Installed : Installed 🌴 OSS or Official Build : Official 🌴 Operating System : OSX 10.14.5 (18F132) 🌴 Occurs On: Upload 🌴 Proxy Enabled: N.A. 🌴 Gist Id: N.A.
📰 To Reproduce Steps to reproduce the behavior:
- Cmnd + p, then >
- Sync: Update/Upload settings
💪 Expected behavior As per the documentation, there should be a prompt asking for the Gist Name.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
GiST and GIN Indexes for Text Search | Tanzu Greenplum Docs
Creates a GiST (Generalized Search Tree)-based index. The column can be of tsvector or tsquery type. CREATE INDEX name ON table USING gin(column);....
Read more >GistPad - Visual Studio Marketplace
GistPad. GistPad is a Visual Studio Code extension that allows you to edit GitHub Gists and repositories from the comfort of your favorite...
Read more >Documentation: 15: 11.2. Index Types - PostgreSQL
PostgreSQL provides several index types: B-tree, Hash, GiST, SP-GiST, GIN, BRIN, and the extension bloom. Each index type uses a different algorithm that...
Read more >Macros - Scala 3
The Phase Consistency Principle. A fundamental phase consistency principle (PCP) regulates accesses to free variables in quoted and spliced code: For any free ......
Read more >Conventional Commits
The Conventional Commits specification is a lightweight convention on top of commit messages. It provides an easy set of rules for creating an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@slavdok alright, sounds good. I will make it consistent.
@vikas027 I think I figured it out.
First, when you set
Ask Gist Name
to true, you also have to clearGist ID
. Then upload settings (and it will prompt for a new name)Second,
Gist Description
andGist Name
are the same thing. If you want to “Save as” a pre-configured new name, removeGist ID
, fillGist Description
with your desired name and uncheckAsk Gist Name
. OR if you want to “Save as” and prompt for a name, then removeGist ID
, and setAsk Gist Name
to true (theGist Description
will be ignored in this case).Third, once a gist is created, you cannot “rename” it through a tool, so changing
Gist Description
or setting/unsettingAsk Gist Name
does absolutely nothing, unless you also clear theGist ID
(which creates a new gist as described above). You can rename on the GitHub sideFourth. On the GitHub side, it looks like they always list your first file in the gist as the “link”, i.e.
yourname / cloudSettings
. Since Settings Sync uploads the first file titled “cloudSettings” you will always see that in the list of gits. Your customizedGist Description
or the result of your prompt forAsk Gist Name
is what’s shown under itLastly, when you want to load one of multiple previously saved gists, either manually change the
Gist ID
, orF1 > Sync: Reset Extension Settings
, then clickLogin with Github
, and you will see a window to pick form existing gist@shanalikhan This was rather confusing for a new user. Could you at least make
Ask Gist Name
andGist Description
consistent? Either usename
ordescription
, not both (not sure what official GitHub terminology is)Also, I don’t know if it’s possible to disable the form controls on that custom Sync Settings page, but if so, please don’t allow
Ask Gist Name
andGist Description
whileGist ID
is filled in. Only enable these fields whenGist ID
is clear. Ideally,Gist Description
andAsk Gist Name
should be mutually exclusive too, only one or the other selectable.And thank you for the hard work, this extension is a life saver!