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.

cell-related commands not showing in command palette

See original GitHub issue

This still happens sometimes for 2020.4.76186 (27 April 2020)

image

https://github.com/microsoft/vscode-python/issues/10884#issuecomment-622671217

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
IanMatthewHuffcommented, May 15, 2020

In that case this is expected behavior. If the editor context is not in the .py file, which is the case if the interactive window has been clicked into, then the commands are not expected to show. Say you had a view with filea.py, fileb.py, and the interactive window all open and visible. If your context was in the interactive window we would not know if a Run All Cells command would be associated with filea.py or fileb.py since neither of them have editor focus. We could consider seeing if only one .py file with cells is open / visible and then consider keeping the commands open then.

0reactions
StevenLi-DScommented, May 15, 2020

@IanMatthewHuff @greazer that’s right. If I click the interactive window area, those commands would disappear.

demo

Read more comments on GitHub >

github_iconTop Results From Across the Web

cell-related commands not showing in command palette #1769
@StevenLi-DS . I've been poking with this a bit. So those cell specific commands we changed to only be active when there is...
Read more >
Commands in command palette not working with several ...
I run the command from the command palette, it just happens nothing and closes the dropdown window instantly. I have vs code 1.51.1,....
Read more >
sfdx plugin - VS Code: Commands run through Command ...
But the last few months, I'm not seeing the corresponding commands in either Output or Terminal when I execute it via Cmd Palette....
Read more >
Command Palette | Visual Studio Code Extension API
The Command Palette is where all Commands are found. It's important that your command names are labeled appropriately so users can easily find...
Read more >
Command Palette Not Showing Installed Extension : r/vscode
Command Palette Not Showing Installed Extension. I'm new to Vscode and would like to install GitDoc, however, after I've hit the 'install' ...
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