-
Notifications
You must be signed in to change notification settings - Fork 3
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
Prompt use of personal CF CLI config if found #355
Comments
@atwoosnam Does that imply keeping the 2 in synch? If not, could lead to unexpected-to-the-developer behavior. |
I would find having to answer that question every time I started VS annoying ... I would prefer that the two environments be separate ... @atwoosnam : If I start VS and login, and then terminate VS, and immediately restart it .. do I have to login again? If the tokens are still valid in the cf ".config" file used by VS plugin I shouldn't have to re login correct? |
@ccheetham nah I was thinking this would just allow you to log in quickly the first time but then let the 2 stay separate afterward. |
@dtillman correct - as long as the |
You may have noticed that the CF connection does not persist between sessions when using the "experimental" VS instance (while debugging this VSIX e.g.) -- I don't remember exactly what causes this (I know I've looked into it and I think it's because the |
@atwoosnam : I could see value in giving the user an option (i.e. yes/no dialog) to initialize the plugins "cf.config" file from the CLI's "cf.config" file only if the plugins file doesn't exist. Wording of the dialog would be important ... so not to infer they are kept in sync. I was thinking you would prompt every time... which I wouldn't like ;-) |
Feature idea:
When the extension launches, it checks for the presence of a cf cli
config.json
file at the default installation directory (~/.cf
). If found, a prompt could appear offering to use those values for the CF connection (e.g. copy the contents of the personalconfig.json
into the vsixconfig.json
), obviating the need to log in to CF manually.The text was updated successfully, but these errors were encountered: