-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ArgumentOutOfRangeException
if autocomplete wraps in VSCode
#11511
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
Comments
@ericwj I guess you should move the issue to https://github.com/PowerShell/PowerShellEditorServices
|
Duplicated with PS 5.1 in VSCode by just entering characters (no tab). Around the 160th character the error will be returned. $PSVersionTable PSVersion 5.1.18362.145 $host |
@rjmholt Is the issue external? |
This is PowerShell/vscode-powershell#702 |
This issue has been marked as external and has not had any activity for 1 day. It has been be closed for housekeeping purposes. |
Steps to reproduce
In Visual Studio Code, do
dir
near the right end of the terminal window and type C:\win, hitting tab to autocomplete into any directory until the exception occurs. The same happens with other commands when it wraps pressing Tab to autocomplete the parameter name or the value.In Windows Terminal, this works - no exception occurs. Although the output may be garbled while editing the command, depending on how big the window is.
Hit Tab.
Expected behavior
The path wraps and the autocomplete leaves the cursor at the end of the autocompleted name.
Actual behavior
The cursor will be after a new prompt and the command that was being constructed is lost completely.
Environment data
$PSVersionTable
$Host
Help | About

Could say this is a VSCode issue but the stacktrace in fact doesn't have anyhting VSCode related in it.
The text was updated successfully, but these errors were encountered: