Carl Morris

Results 133 comments of Carl Morris

This might just have been an accident from a grammar developer, since this looks like an automatic posting from an error trap? I think I have triggered this error a...

For reference, here is VS Code's standard 'dark' theme definition: ```json { "name": "String interpolation", "scope": [ "punctuation.definition.template-expression.begin", "punctuation.definition.template-expression.end", "punctuation.section.embedded" ], "settings": { "foreground": "#569cd6" } }, ``` There is...

Adding some detail: ```PowerShell Set-PSReadLineKeyHandler ctrl+k AcceptAndGetNext ``` ```PowerShell Write-Host "One" Write-Host "Two" Write-Host "Three" Write-Host "Four" Write-Host "Five" ``` UpArrow 5 times. Then CTRL+k 5 times, the results are...

Quick guess ... AcceptLineImpl() is saving this new line in to the history, or changing up the history indexing, causing the next command to bump up one ?? Maybe a...

Not quite what I guessed, but I was close. Once the `_history` `` fills, the `_head` moves, changing the index of every `_history` item. Every command is moved or copied...

@jhoneill, you appear to be correct, the -force is not required in PowerShell 7 at all, the symbolic link is deleted even though `-WhatIf` was specified, and it only appears...

@jhoneill, the conversation appears to have moved to this older thread that didn't turn up when originally researching my issue.

@ViperTG, still an issue, until this issue is closed. @jhoneill had at least marked #19714 as a bug.

Wouldn't the correct behavior for the OP's purpose be to: 1. Save the current command. 1. Cancel the command to clear the prompt. (`RevertLine()`) 1. Enter the desired command on...

I could see scoping this as keyword.other.special-method, in some themes that would make it the same color as other keywords, such as the `ECHO`. Some people have a hard time...