cs50 / lab50.vsix

Inspired by https://github.com/lostintangent/workspace-layout/
GNU General Public License v3.0
21 stars 4 forks source link

Can we gray-out the "Open in CS50 Lab" context-menu item until extension is fully loaded? #33

Closed dmalan closed 2 years ago

dmalan commented 2 years ago

Noticed that, if you try to right-click a lab folder and choose Open in CS50 Lab as soon as a codespace opens, nothing sometimes happens. And I even saw one scenario where the windows opened but HTML didn't appear in the README, likely the result of the extension itself not being ready. Can we perhaps configure package.json to contribute an initially disabled (grayed-out) Open in CS50 Lab option, and then enable it in code in response to the post-load VS Code event?