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.

Intellisense results not returned by Visual Studio Code, but Windows Terminal works fine

See original GitHub issue

System Details

System Details Output

### VSCode version: 1.45.1 5763d909d5f12fe19f215cbfdd29a91c0fa9208a x64

### VSCode extensions:
amazonwebservices.aws-toolkit-vscode@1.10.0
arcticicestudio.nord-visual-studio-code@0.13.0
dracula-theme.theme-dracula@2.22.1
EliverLara.andromeda@1.7.0
formulahendry.code-runner@0.10.0
icsharpcode.ilspy-vscode@0.7.11
johnpapa.vscode-peacock@3.7.2
ms-azuretools.vscode-docker@1.2.1
ms-dotnettools.csharp@1.22.0
ms-python.python@2020.5.86398
ms-vscode-remote.remote-containers@0.117.1
ms-vscode-remote.remote-ssh@0.51.0
ms-vscode-remote.remote-ssh-edit@0.51.0
ms-vscode-remote.remote-wsl@0.44.2
ms-vscode.powershell@2020.4.0


### PSES version:

### PowerShell version:

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

Issue Description

I am experiencing a lack of consistency with Intellisense handlers running successfully inside Visual Studio Code, while the same code runs perfectly fine in the Windows Terminal. I reproduced the problem inside a PowerShell container, using Docker Desktop with WSL2 support in conjunction with the Remote-Containers extension. The problem exists both inside the container and outside the container, natively on Windows.

Expected Behaviour

Intellisense results should be returned.

image

Actual Behaviour

No Intellisense results are returned.

image

Attached Logs

Sent via e-mail

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
SydneyhSmithcommented, Jun 11, 2020

@pcgeek86 sorry about that (and apologies for the delay in the response) you are correct, in your logs it shows that you were using the latest preview…because I am going to track this issue under #2745

0reactions
nippyincommented, Jun 16, 2020

image ms-vscode.powershell-preview@2020.6.1 & PSVersion 7.1.0-preview.3

Please refer screen shot and it used to be autocomplete any command in history but it does not work now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Terminal launch failures - Visual Studio Code
If your terminal is set to run as administrator only, and you are not launching VS Code as administrator, the terminal will not...
Read more >
IntelliSense in Visual Studio Code
Troubleshooting. If you find IntelliSense has stopped working, the language service may not be running. Try restarting VS Code and this should solve...
Read more >
Debugging in Visual Studio Code
One of the great things in Visual Studio Code is debugging support. Set breakpoints, step-in, inspect variables and more.
Read more >
User and Workspace Settings - Visual Studio Code
To open the Settings editor, use the following VS Code menu command: On Windows/Linux - File > Preferences > Settings; On macOS -...
Read more >
Variables reference - Visual Studio Code
Without the root folder name, the variable is scoped to the same folder where it ... If the command returns anything other than...
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