SeeminglyScience / EditorServicesCommandSuite

Collection of editor commands for use in PowerShell Editor Services.
Other
152 stars 13 forks source link

Remove several editor commands in overhaul #38

Open SeeminglyScience opened 5 years ago

SeeminglyScience commented 5 years ago

In 0.5.0 every editor command had to be rewritten due to an overhaul of the module. There are some editor commands that are either non-trivial, or I suspect they do not get any usage.

Below is a comment for every editor command that is being considered for removal in 0.5.0. If you use any of these, please 👎 the comment they are contained within.

SeeminglyScience commented 5 years ago

Function Name: ConvertTo-LocalizationString Display Name: Add Closest String to Localization File Description: Replaces a string expression with a variable that references a localization file, and adds the string to that file

SeeminglyScience commented 5 years ago

Function Name: ConvertTo-MarkdownHelp Display Name: Generate Markdown from Closest Function Description: Generate markdown using PlatyPS, add the markdown file to your docs folder, and replace the comment help with an external help file comment.

SeeminglyScience commented 5 years ago

Function Name: Add-PinvokeMethod Display Name: Insert Pinvoke Method Definition Description: Searches the pinvoke.net web service for a matching function and creates a Add-Type expression with the signature

SeeminglyScience commented 5 years ago

Function Name: Expand-Expression Display Name: Expand Selection Text to Output Description: Invoke the currently selected text and replace it with the result.

SeeminglyScience commented 5 years ago

Function Name: Remove-Semicolon Display Name: Remove cosmetic semicolons Description: Remove semi-colons that are at the end of a line, not in a string, and not a part of a property definition in a class.

SeeminglyScience commented 5 years ago

Function Name: Set-HangingIndent Display Name: Set Selection Indent to Selection Start Description: Indent selected lines to the start of the selection.