question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ubiquitous parameters don't always auto-complete

See original GitHub issue

System Details

System Details Output

### VSCode version: 1.42.1 c47d83b293181d9be64f27ff093689e8e7aed054 x64

### VSCode extensions:
abusaidm.html-snippets@0.2.1
bierner.github-markdown-preview@0.0.2
bierner.markdown-checkbox@0.1.3
bierner.markdown-emoji@0.0.9
bierner.markdown-preview-github-styles@0.1.6
bierner.markdown-yaml-preamble@0.0.4
DavidAnson.vscode-markdownlint@0.34.0
DotJoshJohnson.xml@2.5.0
eamodio.gitlens@10.2.1
EditorConfig.EditorConfig@0.14.4
eg2.tslint@1.0.44
Mikael.Angular-BeastCode@8.1.2
ms-dotnettools.csharp@1.21.13
ms-python.python@2020.2.64397
ms-vscode-remote.remote-containers@0.101.1
ms-vscode-remote.remote-ssh@0.49.0
ms-vscode-remote.remote-ssh-edit@0.49.0
ms-vscode-remote.remote-ssh-explorer@0.49.0
ms-vscode-remote.remote-wsl@0.42.3
ms-vscode-remote.vscode-remote-extensionpack@0.19.0
ms-vscode.cpptools@0.26.3
ms-vscode.powershell@2020.3.0
ms-vscode.vscode-typescript-tslint-plugin@1.2.3
msjsdiag.debugger-for-chrome@4.12.6
msjsdiag.debugger-for-edge@1.0.14
robinbentley.sass-indented@1.5.1
sibiraj-s.vscode-scss-formatter@1.4.3
SimonSiefke.svg-preview@2.8.3
twxs.cmake@0.0.17
vsls-contrib.gistfs@0.0.61
wayou.vscode-todo-highlight@1.0.4
yzhang.markdown-all-in-one@2.7.0


### PSES version:

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      7.0.0
PSEdition                      Core
GitCommitId                    7.0.0
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Issue Description

Trying to complete invoke-webrequest -error is not supplying the expected ErrorAction completion.

Expected Behaviour

The auto-complete list should provide -ErrorAction

Actual Behaviour

The auto-complete list initially does not supply it:

image

If I type invoke-webrequest -erroractio then it finds it in the auto-complete list but at this point I’ve typed nearly the whole parameter name. Something’s not quite right here.

Attached Logs

Follow the instructions in the troubleshooting docs about capturing and sending logs.

1583432852-d0e516fc-13f8-444b-877f-cecf115455871583432271941.zip

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rjmholtcommented, Mar 5, 2020

I’m seeing this now too

And now I can’t repro it again!

0reactions
TylerLeonhardtcommented, Mar 11, 2020

There’s nothing we can really do for this since we rely on TabExpansion2 so I’m going to close this. If you wanna open this in the PowerShell repo I think that would be helpful.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Autocomplete doesn't autocomplete the parameters #1022
In the insiders vscode it doesn't autocomplete the parameters and i don't know why. image and this is on the release version of...
Read more >
What is Autocomplete? | Autocomplete
Autocomplete is now a ubiquitous part of most search experiences. Search providers like Google, ecommerce sites like Amazon, and messaging ...
Read more >
Extending Autocompletion To Tolerate Errors
Autocompletion is a ubiquitous feature found to be useful in several environments. As the user types, a list of appro- priate completions is...
Read more >
Improve mobile form usability—turn off autocorrect
Autocomplete allows a browser to complete values, based on values the user has entered before. Potentially helpful for “Last name,” but a real ......
Read more >
Google autocomplete: Not as weird, dark, or fun as it used ...
Google's Autocomplete feature, which first debuted in 2004, is now so ubiquitous among Internet users that it seems redundant to even ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found