-
Notifications
You must be signed in to change notification settings - Fork 228
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
Implement a way to determine if an extension is conflicting with VSCo… #405
Conversation
@JPinkney I like the suggestion to just turn off validation in anisible here #404 (comment) |
Yeah, I can change the code to be that. The only reason I had it like this originally is there are actually a few more conflicting extensions but I can't seem to find their VSCode ID's ATM. The other conflicting extensions are under 50k installs though so I'm not sure if it matters or not |
You could do both since you already have this. Set a generic check for a conflict and then the specific one for ansible that just turns off validation. |
I went with just the ansible specific thing. It got a little awkward trying to determine what happened if VSCode Ansible and another extension were conflicting and what message I should show there etc |
Based on the comments in #404 (comment) I think we should go back to the generic version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Approved as is. Did you plan to look for those other extensions that conflict? |
It took me a while but I finally found the conflicting extension that I was thinking of: https://marketplace.visualstudio.com/items?itemName=ms-vscode-deploy-azure.azure-deploy. If you install it along VSCode-YAML you get multiple Do you know if a deprecated extension still shows on the marketplace? Just wondering if we should switch back to generic and make it so that VSCode-Ansible/others will automatically uninstall (since VSCode-Ansible will be deprecated anyways) or if I should still have the |
I have not tried using a deprecated ext. I think generic is better but if you can't then just doing something simple for now is good enough. Though "automatically uninstalling" is not very nice. I think it is enough to tell them the cause. |
by automatic uninstalling I meant to say prompt them with a button asking if they want to uninstall (the way the PR was originally) |
|
I filed one July 15 but I didn't get a response: microsoft/vscode-deploy-azure#130 |
fd1746e
to
803873f
Compare
…de-YAML Signed-off-by: Josh Pinkney <[email protected]>
I am inclined to believe that haaaad.ansible and |
…window Signed-off-by: Josh Pinkney <[email protected]>
Signed-off-by: Josh Pinkney <[email protected]>
803873f
to
90718fa
Compare
I made some changes so that when an extension is conflicting it will only show in one information window. Previously when you installed Ansible, then installed vscode-deploy you'd get two popups. The first would say:
and the second would say
|
Signed-off-by: Yevhen Vydolob <[email protected]>
Implement a way to determine if an extension is conflicting with VSCode-YAML
Signed-off-by: Josh Pinkney [email protected]
What does this PR do?
This PR makes it so that a notification will pop up prompting a user to uninstall conflicting extensions with VSCode-YAML
What issues does this PR fix or reference?
#404
Is it tested? How?
Launch extension with Ansible already installed -> you should see notification saying to uninstall -> click it and it should be uninstalled (though manual reload is required)
Launch extension without Ansible installed -> install Ansible -> you should see notification saying to uninstall -> click it and it should be uninstalled (though manual reload is required)