-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interactive console does not provide command history in debugger #550
Comments
Are you typing in the command or using F8 to execute it? What is the output of the |
Sorry missed some information. This is only an issue while debugging when a breakpoint is hit and commands are being manually entered via the terminal. |
Thanks! I'll check on that. |
Definitely a bug here. I'll fix it when I overhaul command history in a few days. |
This is a pain, typing the commands again and again on the interactive console while debugging. Hoping this gets fixed soon. |
@bergmeister careful now, my price is steep 😉 (PowerShell/PSScriptAnalyzer#850) |
@SeeminglyScience Phew, I'm glad you did not pick one of the many |
+1 |
+1
Really am looking forward to seeing when the update is made to support
this, As love vscode but have to resort back to ISE for basic debugging in
pwsh :(
…On Mon, 26 Mar 2018 at 10:48, Sharken03 ***@***.***> wrote:
+1
SeeminglyScience has a commit ready since October 2017, but it seems that
commit is just the tip of the iceberg. Anyways, would be really good with
an ETA, as this issue prevents me from using VS Code with PowerShell.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#550 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQYljh79JH47-0AZy6yJSVZM7lL0B038ks5tiLlygaJpZM4MeCh8>
.
|
Any update on general availability for this fix yet? I am also in the group who want to drop the ISE but find this issue a show-stopper. |
@WaynePlummer Current core work for it is happening in this PR: PowerShell/PowerShellEditorServices#672 |
I generally debug code in the ISE for this reason. This is my last reservation. |
@bergmeister
|
@Sharken03, thanks for the feedback! Definitely leave comments on the PR so that we can address them. As for your current comments, can you try setting |
@tylerl0706 Update: |
Here are a couple of keyboard shortcut customizations I use that you might find helpful:
|
Just updated everything today and saw this feature is still missing. +1 ! 🙏 |
Soon ™ 😉 The PSReadLine PR is almost done. |
Any ETA yet on this bug fix being released? |
Struggling from the same problem since started to use VS Code for Powershell coding :( Up arrow just doesn't populate any last command entered in debugger. Guys any news when it can be fixed? |
There's a preview build available to address this that you can find here: #535 (comment) Please give it a try -- it's a pretty significant feature, so if you hit any problems please open an issue :) |
I'm running 1.9.0 on VScode 1.27.2 (Windows, PowerShell 5.1), and still no history when debugging... Am I missing something? P.S. I do have the "PSReadLine" feature flag set. |
@sba923 Yeah, it's in the 2.0 which isn't released yet. There's a preview build in this comment if you'd like to help test though 🙂 |
IIRC I tried that vsix when it was announced in this thread, but it didn't work, and someone commented it can't work with PowerShell 5.1, only with PowerShell 6.x. Do you concur? |
The latest build in that comment thread works with Windows PowerShell. There is still an extension command bug in it which is fixed upstream, but we're currently getting all the fixes in 1.9.0 into 2.0.0 so we can get an up-to-date AppVeyor build going — that way you won't need to pull from a comment. |
With the PSReadline integration done in PowerShell/PowerShellEditorServices#672, i really hope version 2.0 is out soon as it is a really great improvement to VS Code. |
Closing as PSReadLine is now available in the PowerShell Preview extension, tracking that PSReadLine is not available in the main PowerShell Extension here #1793 |
System Details
$PSVersionTable
:Issue Description
When executing commands in the integrated terminal, the up and down arrows on the keyboard to browse through command history do not work.
For example:
Get-Item
re-appear as the command to run. Instead, the command input remains blank.The text was updated successfully, but these errors were encountered: