PowerShell / vscode-powershell

Provides PowerShell language and debugging support for Visual Studio Code

Home Page:https://marketplace.visualstudio.com/items/ms-vscode.PowerShell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discussion: Deprecate RunCode Feature

JustinGrote opened this issue · comments

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.

Summary

The RunCode feature was added 5 years ago by @TylerLeonhardt to support the related codelens feature at the time, but now all codelens is driven via PSES, so this command is never used anywhere in the codebase, and is exposed as a command with no keybinding that, when bound to a key, executes with no arguments and basically crashes because all the parameters it requires are undefined.

Proposed Design

Either completely remove the library or stub out the command with a warning that it is no longer supported.

Lol of course, let's delete it!