Skip to content

Visual Studio Code PowerShell Extension crashes when IntelliSense about to pop out on passing param to custom function #1513

Closed
@victorwoo

Description

@victorwoo

System Details

- Operating system name and version: macOS High Sierra 10.13.6
- VS Code version: 1.26.1
- PowerShell extension version: v1.8.4
- Output from `$PSVersionTable`:
Name                           Value
----                           -----
PSVersion                      6.0.4
PSEdition                      Core
GitCommitId                    v6.0.4
OS                             Darwin 17.7.0 Darwin Kernel Version 17.7.0: Fri Jul  6 19:54:51 PDT 2018; root:xnu-4570.71.3~2/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

PS /Users/vichamp> code -v
1.26.1
493869ee8e8a846b0855873886fc79d480d342de
x64
PS /Users/vichamp> $pseditor.EditorServicesVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
1      8      4      0


PS /Users/vichamp> code --list-extensions --show-versions
abusaidm.html-snippets@0.2.1
bbenoist.shell@0.3.0
DavidAnson.vscode-markdownlint@0.20.0
dbaeumer.vscode-eslint@1.5.0
eg2.vscode-npm-script@0.3.5
FallenMax.mithril-emmet@0.7.1
hollowtree.vue-snippets@0.1.8
HookyQR.beautify@1.4.2
lanmj2004.changeEncode@0.0.8
liuji-jim.vue@0.1.5
michalyao.evermonkey@2.4.5
minhthai.vscode-todo-parser@1.9.1
MS-CEINTL.vscode-language-pack-zh-hans@1.26.3
ms-vscode.PowerShell@1.8.4
msjsdiag.debugger-for-chrome@4.9.0
redhat.java@0.30.0
robertohuertasm.vscode-icons@7.25.0
Shan.code-settings-sync@3.1.1
slevesque.vscode-hexdump@1.6.0
streetsidesoftware.code-spell-checker@1.6.10
waderyan.gitblame@2.4.4
xabikos.JavaScriptSnippets@1.7.0
yzane.markdown-pdf@1.2.0
PS /Users/vichamp> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.4
PSEdition                      Core
GitCommitId                    v6.0.4
OS                             Darwin 17.7.0 Darwin Kernel Version 17.7.0: Fri Jul  6 19:54:51 PDT 2018; root:xnu-4570.71.3~2/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Issue Description

function mytest {

}

mytest # extension crashes

PowerShell extension for Visual Studio Code crashes when InteliSense about to parse mytest custom function.

Attached Logs

logs.zip

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions