Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Edit Profile #82

Open
1 of 2 tasks
jaywryan opened this issue Jan 7, 2019 · 12 comments
Open
1 of 2 tasks

Feature - Edit Profile #82

jaywryan opened this issue Jan 7, 2019 · 12 comments

Comments

@jaywryan
Copy link

jaywryan commented Jan 7, 2019

This is a

  • bug report
  • feature request

Description

I would like the ability to update a profile. It seems that the only option is to reset everything? For instance, I want to cycle my Personal Access Token on one profile, or change the name of it.

Also, do I have to map the reset to a command pallet item manually to use it? Is there a reason you don't have this mapped by default?

@kenhowardpdx
Copy link
Owner

The reason it's not in the command pallet is that it is a infrequently used feature. I do hope to allow profiles to be edited and removed in a future release.

@jaywryan
Copy link
Author

jaywryan commented Jan 8, 2019

The reason it's not in the command pallet is that it is a infrequently used feature. I do hope to allow profiles to be edited and removed in a future release.

Thanks, that makes sense. can you provide some documentation for using the feature if its not exposed? Maybe this is something most people are aware of, but I'm missing something. Thanks :-)

@kenhowardpdx
Copy link
Owner

kenhowardpdx commented Feb 3, 2019

I won't close this, but I just published a new version where you can override your key in extension settings. I still want to get to this feature so I'm keeping it open :)

@tohjg
Copy link

tohjg commented Mar 8, 2019

I accidentally set my profile's name with my private token. Seems like I have to regenerated it again.

@azivkovi
Copy link

Is there a way to remove a profile at this point?

@kenhowardpdx
Copy link
Owner

You can use the Reset State command: https://github.com/kenhowardpdx/vscode-gist#all-commands--keyboard-mappings

It's the nuclear option.

@zhuziyi1989
Copy link

zhuziyi1989 commented Oct 8, 2019

You can use the Reset State command: https://github.com/kenhowardpdx/vscode-gist#all-commands--keyboard-mappings

It's the nuclear option.

How can I use this reset command?

Answer: ctrl+shift+0 (Number 0)

In the MacOS system environment, the shortcut key "ctrl+shift+0" is used directly to clear the private token. Although the success is clear, there is no interactive prompt.

@zhuziyi1989
Copy link

zhuziyi1989 commented Oct 8, 2019

Is there a way to remove a profile at this point?

I accidentally set my profile's name with my private token. Seems like I have to regenerated it again.

ctrl+shift+0

@fullenw1
Copy link

How can I use this reset command?

Answer: ctrl+shift+0 (Number 0)

Hi @zhuziyi1989
This does not work for me.
Do you need to be in a specific context?

@raphlev
Copy link

raphlev commented Apr 12, 2020

Hi
extension.resetState or ctrl+shift+0 are not working for me either (windows platform)
I don't find a way to remove profile.

@kenhowardpdx
Copy link
Owner

You should be able to remap that command. I’ll take a look.

@raphlev
Copy link

raphlev commented Apr 20, 2020

Hi, from File/Preferences/Keyboard Shortcut menu in VSCode, I was able to change the keyboard binding for extension.resetState and it works now. For some reason, the original mapping for this command is not working on my azerty keyboard.
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants