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

(Preview) PowerShell Command Explorer completely empty (Logs included) #3101

Closed
mkanet opened this issue Dec 18, 2020 · 25 comments
Closed

(Preview) PowerShell Command Explorer completely empty (Logs included) #3101

mkanet opened this issue Dec 18, 2020 · 25 comments
Assignees
Labels
Area-Command Explorer Issue-Bug A bug to squash. Resolution-Answered Will close automatically.

Comments

@mkanet
Copy link

mkanet commented Dec 18, 2020

The Sidebar PowerShell Command Explorer doesn't have anything listed there.

  • I am using the latest version of the PowerShell Extension for VSCode.
  • I'm using Windows 10 (Version 2004) with native PowerShell 5.1.

Below, are the respective diagnostic logs when I navigate to the PowerShell Command Explorer:

Logs:
EditorServices.log
StartEditorServices.log
vscode-powershell.log

Thank you for your time and hard work.

@ghost ghost added the Needs: Triage Maintainer attention needed! label Dec 18, 2020
@rjmholt rjmholt added Issue-Bug A bug to squash. Needs-Repro-Info and removed Needs: Triage Maintainer attention needed! Issue-Bug A bug to squash. labels Jan 5, 2021
@rjmholt
Copy link
Contributor

rjmholt commented Jan 5, 2021

I'm able to reproduce this locally, at first. After waiting a bit the explorer populated. In your case, does the command explorer simply never populate or do entries appear after a while?

@mkanet
Copy link
Author

mkanet commented Jan 5, 2021

@rjmholt Thank you for your reply. I tried waiting several minutes... nothing happens, unfortunately.

It used to populate after only 5 seconds when it used to work on the same machine. Now, it doesn't populate at all. I'm not sure what else to try other than posting the debug logs above.

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Jan 5, 2021
@SydneyhSmith
Copy link
Collaborator

Thanks, looks like this will need some deeper investigation

... fyi: @corbob

@SydneyhSmith SydneyhSmith added Area-Command Explorer Issue-Bug A bug to squash. and removed Needs: Maintainer Attention Maintainer attention needed! labels Jan 12, 2021
@corbob
Copy link
Contributor

corbob commented Jan 24, 2021

🤔 I believe I've seen instances where the sidebar doesn't load initially, and you must hit the refresh button to get it to load. Not sure if that's related to #2949 or like this issue (or if they're both related). I'll try to take another look at both this week and see if I can repro.

IIRC there was a setting added for not refreshing the first time, I presume that's not at play here though.

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Jan 24, 2021
@mkanet
Copy link
Author

mkanet commented Jan 24, 2021

🤔 I believe I've seen instances where the sidebar doesn't load initially, and you must hit the refresh button to get it to load. Not sure if that's related to #2949 or like this issue (or if they're both related). I'll try to take another look at both this week and see if I can repro.

IIRC there was a setting added for not refreshing the first time, I presume that's not at play here though.

@corbob , I really appreciate your effort to look into this issue. In my case, it doesn't make any difference if I manually press the refresh icon or not. The Command Explorer remains empty. This used to work for me a couple of years ago on the same PC. I'm not sure what changed to cause this to stop working. As far as I know, my setup has remained unchanged when it comes to PowerShell. I'm still using the same PowerShell that came with Windows 10:

PSVersion 5.1.19041.610
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.610
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

If there's any other information you need from me other than the debug logs I've provided, please let me know.

@SydneyhSmith
Copy link
Collaborator

Thanks @mkanet can you try running Get-Command in the integrated console and see if that returns anything for you?

@SydneyhSmith SydneyhSmith removed the Needs: Maintainer Attention Maintainer attention needed! label Feb 2, 2021
@mkanet
Copy link
Author

mkanet commented Feb 2, 2021

Thanks @mkanet can you try running Get-Command in the integrated console and see if that returns anything for you?

get-command works fine both within the integrated terminal (panel) and outside of VSCode
Screenshot 02-02-2021 at 03 44 55 PM

My apologies if I misunderstood.

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Feb 2, 2021
@SydneyhSmith
Copy link
Collaborator

SydneyhSmith commented Feb 9, 2021

@mkanet thanks for testing that out, that was exactly what I was asking....we will look into this when we have time...thanks!

@SydneyhSmith SydneyhSmith removed the Needs: Maintainer Attention Maintainer attention needed! label Feb 9, 2021
@mkanet
Copy link
Author

mkanet commented Feb 9, 2021

@SydneyhSmith thank you so much for all your hard work!

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Feb 9, 2021
@SydneyhSmith SydneyhSmith removed the Needs: Maintainer Attention Maintainer attention needed! label Feb 16, 2021
@ghost
Copy link

ghost commented Aug 19, 2021

This issue was closed automatically as repro info was indicated as needed, but there has been no activity in over a week. Please feel free to reopen with any available information!

@ghost ghost closed this as completed Aug 19, 2021
@andyleejordan
Copy link
Member

I see that repro info was not actually needed, the label was just never removed. Re-opening!

@allenschei
Copy link

Hello, I have exactly the same issue and test results as mkanet with the latest VSCode 1.66.2 using PS 7.2 on Windows 10 19044.1645. Was a solution discovered for this issue?

Thank you!

@andyleejordan
Copy link
Member

Hello @allenschei! The latest code is available in the PowerShell Preview for VS Code, and includes a myriad of fixes. Could you verify if this issue still reproduces using the preview extension?

@allenschei
Copy link

allenschei commented Apr 27, 2022 via email

@malimal99
Copy link

any solutions? have the same issue.

@andyleejordan
Copy link
Member

Is there any chance either of you have powershell.sideBar.CommandExplorerExcludeFilter set to something?

@malimal99
Copy link

malimal99 commented Nov 1, 2022 via email

@allenschei
Copy link

I can't find the defaultsettings.json file, but here it is in Settings

image

@andyleejordan
Copy link
Member

Hey @mkanet, I know this issue is from 2020. Is it still reproducing for you? I'm going to mark as "needs feedback" so it will auto-close in a week if I don't hear back from. For other users posting, if you are having problem today, please file a new issue so we can get back to you. Thanks all!

@andyleejordan andyleejordan added the Needs: Author Feedback Please give us the requested feedback! label Apr 27, 2023
@andyleejordan andyleejordan self-assigned this Apr 27, 2023
@andyleejordan andyleejordan moved this to In Progress in Flying Fox Apr 27, 2023
@mkanet
Copy link
Author

mkanet commented Apr 27, 2023

@andschwa This feature stopped working for me a long time ago on both of my PCs. I provided all the necessary logs when I opened this issue already. Maybe a new duplicate issue could be opened by someone else if this issue auto-closes. Maybe they would have better luck getting the issue fixed.

@ghost ghost added Needs: Maintainer Attention Maintainer attention needed! and removed Needs: Author Feedback Please give us the requested feedback! labels Apr 27, 2023
@andyleejordan
Copy link
Member

andyleejordan commented Apr 27, 2023

Is it still reproducing with the latest version of PowerShell, the extension, and VS Code? They've all gone through a ton of updates in the last three years since this was opened, so I want to confirm the bug is still extant.

I can't do much with the original logs provided from Extension v2020.6.0, as both the server and client have changed quite a ton so the logs no longer correlate. If it repros with v2023.4.1-preview, please get me some fresh logs so I can take a look!

Thanks!!

@andyleejordan andyleejordan added Needs: Author Feedback Please give us the requested feedback! and removed Needs: Maintainer Attention Maintainer attention needed! labels Apr 27, 2023
@mkanet
Copy link
Author

mkanet commented Apr 27, 2023

Is it still reproducing with the latest version of PowerShell, the extension, and VS Code? They've all gone through a ton of updates in the last three years since this was opened, so I want to confirm the bug is still extant.

Yes, the same issue has been present on all versions of PowerShell extension (both previous and regular version). However, I am still using an older version of VSCode (version: 1.56.2 05/12/2021) due to another unrelated issue. Hence. I'm not in a position to do any more testing. I can close this issue now. If someone else wants to open a new issue with a current version of VSCode, they are welcome to do so.

@ghost ghost added Needs: Maintainer Attention Maintainer attention needed! and removed Needs: Author Feedback Please give us the requested feedback! labels Apr 27, 2023
@andyleejordan
Copy link
Member

VSCode (version: 1.56.2 05/12/2021)

Ah, then you'll also be stuck on an older (and broken) version of the extension, v2021.12.0 (or v2022.2.2-preview, if you can get it). That's unfortunate! I hope you're able to get that updated at some point in the future. If you can get v2022.2.2-preview installed, it may be worth trying, as v2021.12.0 does not contain the rewrite of the pipeline that I think ultimately fixed this issue, but that preview does. Thing is, it's a preview while we were in the middle of testing the rewrite so it definitely had other issues.

Thanks for the follow-up, appreciate it!

@andyleejordan andyleejordan added Resolution-Answered Will close automatically. and removed Needs: Maintainer Attention Maintainer attention needed! labels Apr 27, 2023
@ghost ghost closed this as completed Apr 28, 2023
@ghost
Copy link

ghost commented Apr 28, 2023

This issue has been marked as answered and has not had any activity in a day. It has been automatically closed for housekeeping purposes.

@github-project-automation github-project-automation bot moved this from In Progress to Done in Flying Fox Apr 28, 2023
@Grosner300
Copy link

Grosner300 commented Jul 8, 2024

For possible workaround, see my note: Command Explorer never populates.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Command Explorer Issue-Bug A bug to squash. Resolution-Answered Will close automatically.
Projects
Status: Done
Development

No branches or pull requests

8 participants