Patrick Meinecke

Results 430 comments of Patrick Meinecke

There's a few improvements coming in 0.5.0 that make this a bit easier to use 1. If your cursor is *directly after* the command AST it'll pick that up 1....

**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...

**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...

**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

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

**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...

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

@tylerl0706 variables are pretty simple, all you need to do is save the result of `Get-Variable`. Well, that's all *I* needed to do, but if you want to capture variables...

Yep, same thing. A couple things you could do: 1. Override the same delegate we do in PSES. Keep in mind it's a "private" contract between PSES and PSRL, so...

@Tiberriver256 Now that I think about it, the same route PSES takes isn't feasible here. PSRL only checks for the override at process start (or more specifically, it only checks...