launchdarkly / ld-vscode

VSCode extension for LaunchDarkly
https://www.launchdarkly.com
Other
16 stars 8 forks source link

Version 4.x gives error when trying to configure #111

Closed ryanalford-suzy closed 1 year ago

ryanalford-suzy commented 1 year ago

I'm running into an issue with all version 4.x releases in my VS code installation. When trying to configure the extension, I get this error message in VS Code..

command 'launchdarkly.configureLaunchDarklyEnvironment' not found

image

I have tried completely uninstalling and reinstalling(deleting all hidden files) VS Code, but it didn't fix the issue.

In 3.x versions, I am able to configure the extension in VS Code without any issues. However, those 3.x versions don't show up in the sidebar for VS Code. The only way to get it to show up in the sidebar is to update to any of the 4.x versions.

Once I update to the latest version and restart VS Code, the extension shows up in the sidebar, but it's completely blank. Tapping the settings cog gives the error message above. Trying the keyboard shortcuts to run the configure command also gives the same error messages...

image

Looking at the "Running Extensions" in VS Code, it looks like the extension is stuck in "Activating"...

image

Let me know if you need anymore information. This has been happening for a while, but I haven't had time to try to figure it out.

InTheCloudDan commented 1 year ago

Thanks for the report @ryanalford-suzy, does this happen with a VSCode Workspace open? In 4.x the integration settings are mapped to each workspace. This is so that if you end up with a number of VSCode windows open, you may not want a single LaunchDarkly project open across all of them.

ryanalford-suzy commented 1 year ago

That was exactly the problem. I don't use VS code for development(I use Rider for Xamarin development), so I didn't have an actual workspace open. I opened a workspace and the LD extension showed up immediately.

Thanks!!