question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot add profile created in CLI

See original GitHub issue

Given I am in VSCode, When I add a profile from CLI and then try to add it in the Explorer by clicking + in dataset/uss/jobs trees, Then I do not see the profile in the list.

To see the newly created profile I have to restart VSCode. It would be nice to be able to add the profile to a tree after it was created - without having to restart VSCode.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
VitGottwaldcommented, Apr 29, 2020

I think we may take the experience another step forward.

When editing the same file in multiple editors like vim/vscode/webstorm I got used to a feature of all these editors that when I switch between apps they update the contents of the file from the disk. This even works when the file is changed from a terminal through some cli command.

In case we could hook to the window or app focus event we could do the same thing for profiles - checking if something changed and update the UI acordingly.

What do you think?

1reaction
VitGottwaldcommented, Apr 29, 2020

For the case wen a user is clicking the + button to add a profile I can imagine that we would read the current list of profiles an offer that, rather than what we have in memory. That way the user will get the up to date list to choose from. If a profile was added it will be there, if it was deleted, it will not be there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Named profiles for the AWS CLI - AWS Command Line Interface
A named profile is a collection of settings and credentials that you can apply to a AWS CLI command. When you specify a...
Read more >
Credential file on win 10 adding "profile" to the name ... - GitHub
When creating using the aws cli (aws configure --profile test-profile-2) the entry in the credentials file looks similar to:.
Read more >
AWS : The config profile (MyName) could not be found
This happened to me when AWS config file was not found since the user starting the service was a root user, when i...
Read more >
Create User Profile (CRTUSRPRF) - IBM
The Create User Profile (CRTUSRPRF) command identifies a user to the system and allows you to customize the way the system appears. When...
Read more >
Creating a Profile in the Oracle Cloud Infrastructure CLI ...
Change the name of the new profile you paste into the ~/.oci/config file in the configuration file snippet, from DEFAULT to a name...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found