Skip to content
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

PowerShell Preview: References aren't working across workspace #2306

Closed
muzzar78 opened this issue Nov 16, 2019 · 4 comments · Fixed by PowerShell/PowerShellEditorServices#1110

Comments

@muzzar78
Copy link

muzzar78 commented Nov 16, 2019

Issue Description

I'm seeing an issue with the VSCode PowerShell preview extension where references aren't working across a workspace (they work ok in the same file). If I switch back to non-preview it works fine.

Preview Not Working
image

Non-Preview Working
image

Attached Logs

[Trace - 12:18:47 pm] Sending request 'initialize - (0)'.
Params: {
    "processId": 17708,
    "rootPath": "c:\\repos\\test",
    "rootUri": "file:///c%3A/repos/test",
    "capabilities": {
        "workspace": {
            "applyEdit": true,
            "workspaceEdit": {
                "documentChanges": true,
                "resourceOperations": [
                    "create",
                    "rename",
                    "delete"
                ],
                "failureHandling": "textOnlyTransactional"
            },
            "didChangeConfiguration": {
                "dynamicRegistration": true
            },
            "didChangeWatchedFiles": {
                "dynamicRegistration": true
            },
            "symbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                }
            },
            "executeCommand": {
                "dynamicRegistration": true
            },
            "configuration": true,
            "workspaceFolders": true
        },
        "textDocument": {
            "publishDiagnostics": {
                "relatedInformation": true
            },
            "synchronization": {
                "dynamicRegistration": true,
                "willSave": true,
                "willSaveWaitUntil": true,
                "didSave": true
            },
            "completion": {
                "dynamicRegistration": true,
                "contextSupport": true,
                "completionItem": {
                    "snippetSupport": true,
                    "commitCharactersSupport": true,
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "deprecatedSupport": true,
                    "preselectSupport": true
                },
                "completionItemKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25
                    ]
                }
            },
            "hover": {
                "dynamicRegistration": true,
                "contentFormat": [
                    "markdown",
                    "plaintext"
                ]
            },
            "signatureHelp": {
                "dynamicRegistration": true,
                "signatureInformation": {
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "parameterInformation": {
                        "labelOffsetSupport": true
                    }
                }
            },
            "definition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "references": {
                "dynamicRegistration": true
            },
            "documentHighlight": {
                "dynamicRegistration": true
            },
            "documentSymbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                },
                "hierarchicalDocumentSymbolSupport": true
            },
            "codeAction": {
                "dynamicRegistration": true,
                "codeActionLiteralSupport": {
                    "codeActionKind": {
                        "valueSet": [
                            "",
                            "quickfix",
                            "refactor",
                            "refactor.extract",
                            "refactor.inline",
                            "refactor.rewrite",
                            "source",
                            "source.organizeImports"
                        ]
                    }
                }
            },
            "codeLens": {
                "dynamicRegistration": true
            },
            "formatting": {
                "dynamicRegistration": true
            },
            "rangeFormatting": {
                "dynamicRegistration": true
            },
            "onTypeFormatting": {
                "dynamicRegistration": true
            },
            "rename": {
                "dynamicRegistration": true,
                "prepareSupport": true
            },
            "documentLink": {
                "dynamicRegistration": true
            },
            "typeDefinition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "implementation": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "colorProvider": {
                "dynamicRegistration": true
            },
            "foldingRange": {
                "dynamicRegistration": true,
                "rangeLimit": 5000,
                "lineFoldingOnly": true
            },
            "declaration": {
                "dynamicRegistration": true,
                "linkSupport": true
            }
        }
    },
    "trace": "verbose",
    "workspaceFolders": [
        {
            "uri": "file:///c%3A/repos/test",
            "name": "test"
        }
    ]
}


[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "PowerShell runtime version: 7.0.0, edition: Core"
}


[Info  - 12:18:47 pm] PowerShell runtime version: 7.0.0, edition: Core
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Setting execution policy:\r\n    Current = ExecutionPolicy.Bypass\r\n    Desired = ExecutionPolicy.RemoteSigned"
}


[Info  - 12:18:47 pm] Setting execution policy:
    Current = ExecutionPolicy.Bypass
    Desired = ExecutionPolicy.RemoteSigned
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Setting $profile variable in runspace.  Current user host profile path: C:\\Users\\AdamMurray\\Documents\\PowerShell\\Microsoft.VSCode_profile.ps1"
}


[Info  - 12:18:47 pm] Setting $profile variable in runspace.  Current user host profile path: C:\Users\AdamMurray\Documents\PowerShell\Microsoft.VSCode_profile.ps1
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Attempting to execute command(s):\r\n\r\n    Import-Module C:\\Users\\AdamMurray\\.vscode\\extensions\\ms-vscode.powershell-preview-2019.11.0\\modules\\PowerShellEditorServices\\bin\\..\\Commands\\PowerShellEditorServices.Commands.psd1\r\n"
}


[Info  - 12:18:47 pm] Attempting to execute command(s):

    Import-Module C:\Users\AdamMurray\.vscode\extensions\ms-vscode.powershell-preview-2019.11.0\modules\PowerShellEditorServices\bin\..\Commands\PowerShellEditorServices.Commands.psd1

[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Session state changed --\r\n\r\n    Old state: Ready\r\n    New state: Running\r\n    Result: NotFinished"
}


[Info  - 12:18:47 pm] Session state changed --

    Old state: Ready
    New state: Running
    Result: NotFinished
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "PSScriptAnalyzer successfully imported:\r\n    Version: 1.18.3\r\n    Exported Cmdlets:\r\n    Get-ScriptAnalyzerRule\r\n    Invoke-Formatter\r\n    Invoke-ScriptAnalyzer\r\n    Available Rules:\r\n        PSAlignAssignmentStatement\r\n        PSAvoidUsingCmdletAliases\r\n        PSAvoidAssignmentToAutomaticVariable\r\n        PSAvoidDefaultValueSwitchParameter\r\n        PSAvoidDefaultValueForMandatoryParameter\r\n        PSAvoidUsingEmptyCatchBlock\r\n        PSAvoidGlobalAliases\r\n        PSAvoidGlobalFunctions\r\n        PSAvoidGlobalVars\r\n        PSAvoidInvokingEmptyMembers\r\n        PSAvoidNullOrEmptyHelpMessageAttribute\r\n        PSAvoidUsingPositionalParameters\r\n        PSReservedCmdletChar\r\n        PSReservedParams\r\n        PSAvoidShouldContinueWithoutForce\r\n        PSAvoidTrailingWhitespace\r\n        PSAvoidUsingUsernameAndPasswordParams\r\n        PSAvoidUsingComputerNameHardcoded\r\n        PSAvoidUsingConvertToSecureStringWithPlainText\r\n        PSAvoidUsingDeprecatedManifestFields\r\n        PSAvoidUsingInvokeExpression\r\n        PSAvoidUsingPlainTextForPassword\r\n        PSAvoidUsingWMICmdlet\r\n        PSAvoidUsingWriteHost\r\n        PSUseCompatibleCommands\r\n        PSUseCompatibleSyntax\r\n        PSUseCompatibleTypes\r\n        PSMisleadingBacktick\r\n        PSMissingModuleManifestField\r\n        PSPlaceCloseBrace\r\n        PSPlaceOpenBrace\r\n        PSPossibleIncorrectComparisonWithNull\r\n        PSPossibleIncorrectUsageOfAssignmentOperator\r\n        PSPossibleIncorrectUsageOfRedirectionOperator\r\n        PSProvideCommentHelp\r\n        PSUseApprovedVerbs\r\n        PSUseBOMForUnicodeEncodedFile\r\n        PSUseCmdletCorrectly\r\n        PSUseCompatibleCmdlets\r\n        PSUseConsistentIndentation\r\n        PSUseConsistentWhitespace\r\n        PSUseCorrectCasing\r\n        PSUseDeclaredVarsMoreThanAssignments\r\n        PSUseLiteralInitializerForHashtable\r\n        PSUseOutputTypeCorrectly\r\n        PSUsePSCredentialType\r\n        PSShouldProcess\r\n        PSUseShouldProcessForStateChangingFunctions\r\n        PSUseSupportsShouldProcess\r\n        PSUseToExportFieldsInManifest\r\n        PSUseUTF8EncodingForHelpFile\r\n        PSDSCDscExamplesPresent\r\n        PSDSCDscTestsPresent\r\n        PSDSCReturnCorrectTypesForDSCFunctions\r\n        PSDSCUseIdenticalMandatoryParametersForDSC\r\n        PSDSCUseIdenticalParametersForDSC\r\n        PSDSCStandardDSCFunctionsInResource\r\n        PSDSCUseVerboseMessageInDSCResource\r\n"
}


[Info  - 12:18:47 pm] PSScriptAnalyzer successfully imported:
    Version: 1.18.3
    Exported Cmdlets:
    Get-ScriptAnalyzerRule
    Invoke-Formatter
    Invoke-ScriptAnalyzer
    Available Rules:
        PSAlignAssignmentStatement
        PSAvoidUsingCmdletAliases
        PSAvoidAssignmentToAutomaticVariable
        PSAvoidDefaultValueSwitchParameter
        PSAvoidDefaultValueForMandatoryParameter
        PSAvoidUsingEmptyCatchBlock
        PSAvoidGlobalAliases
        PSAvoidGlobalFunctions
        PSAvoidGlobalVars
        PSAvoidInvokingEmptyMembers
        PSAvoidNullOrEmptyHelpMessageAttribute
        PSAvoidUsingPositionalParameters
        PSReservedCmdletChar
        PSReservedParams
        PSAvoidShouldContinueWithoutForce
        PSAvoidTrailingWhitespace
        PSAvoidUsingUsernameAndPasswordParams
        PSAvoidUsingComputerNameHardcoded
        PSAvoidUsingConvertToSecureStringWithPlainText
        PSAvoidUsingDeprecatedManifestFields
        PSAvoidUsingInvokeExpression
        PSAvoidUsingPlainTextForPassword
        PSAvoidUsingWMICmdlet
        PSAvoidUsingWriteHost
        PSUseCompatibleCommands
        PSUseCompatibleSyntax
        PSUseCompatibleTypes
        PSMisleadingBacktick
        PSMissingModuleManifestField
        PSPlaceCloseBrace
        PSPlaceOpenBrace
        PSPossibleIncorrectComparisonWithNull
        PSPossibleIncorrectUsageOfAssignmentOperator
        PSPossibleIncorrectUsageOfRedirectionOperator
        PSProvideCommentHelp
        PSUseApprovedVerbs
        PSUseBOMForUnicodeEncodedFile
        PSUseCmdletCorrectly
        PSUseCompatibleCmdlets
        PSUseConsistentIndentation
        PSUseConsistentWhitespace
        PSUseCorrectCasing
        PSUseDeclaredVarsMoreThanAssignments
        PSUseLiteralInitializerForHashtable
        PSUseOutputTypeCorrectly
        PSUsePSCredentialType
        PSShouldProcess
        PSUseShouldProcessForStateChangingFunctions
        PSUseSupportsShouldProcess
        PSUseToExportFieldsInManifest
        PSUseUTF8EncodingForHelpFile
        PSDSCDscExamplesPresent
        PSDSCDscTestsPresent
        PSDSCReturnCorrectTypesForDSCFunctions
        PSDSCUseIdenticalMandatoryParametersForDSC
        PSDSCUseIdenticalParametersForDSC
        PSDSCStandardDSCFunctionsInResource
        PSDSCUseVerboseMessageInDSCResource

[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "highlight handler loaded"
}


[Info  - 12:18:47 pm] highlight handler loaded
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Session state changed --\r\n\r\n    Old state: Running\r\n    New state: Ready\r\n    Result: Completed"
}


[Info  - 12:18:47 pm] Session state changed --

    Old state: Running
    New state: Ready
    Result: Completed
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Execution completed successfully."
}


[Info  - 12:18:47 pm] Execution completed successfully.
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Attempting to execute command(s):\r\n\r\n    Microsoft.PowerShell.Core\\Import-Module -Name PowerShellEditorServices.VSCode\r\n"
}


[Info  - 12:18:47 pm] Attempting to execute command(s):

    Microsoft.PowerShell.Core\Import-Module -Name PowerShellEditorServices.VSCode

[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Session state changed --\r\n\r\n    Old state: Ready\r\n    New state: Running\r\n    Result: NotFinished"
}


[Info  - 12:18:47 pm] Session state changed --

    Old state: Ready
    New state: Running
    Result: NotFinished
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Session state changed --\r\n\r\n    Old state: Running\r\n    New state: Ready\r\n    Result: Completed"
}


[Info  - 12:18:47 pm] Session state changed --

    Old state: Running
    New state: Ready
    Result: Completed
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Execution completed successfully."
}


[Info  - 12:18:47 pm] Execution completed successfully.
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finding descriptor for initialize"
}


[Info  - 12:18:47 pm] Finding descriptor for initialize
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Starting: Routing Request (0) initialize"
}


[Info  - 12:18:47 pm] Starting: Routing Request (0) initialize
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Converting params for Request (0) initialize to OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeParams"
}


[Info  - 12:18:47 pm] Converting params for Request (0) initialize to OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeParams
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}


[Info  - 12:18:47 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult"
}


[Info  - 12:18:47 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finished: Routing Request (0) initialize in 41ms"
}


[Info  - 12:18:47 pm] Finished: Routing Request (0) initialize in 41ms
[Trace - 12:18:47 pm] Received response 'initialize - (0)' in 840ms.
Result: {
    "capabilities": {
        "textDocumentSync": 0,
        "hoverProvider": false,
        "definitionProvider": false,
        "referencesProvider": false,
        "documentHighlightProvider": false,
        "documentSymbolProvider": false,
        "workspaceSymbolProvider": false,
        "documentFormattingProvider": false,
        "documentRangeFormattingProvider": false,
        "experimental": {}
    }
}


[Trace - 12:18:47 pm] Sending notification 'initialized'.
Params: {}


[Trace - 12:18:47 pm] Sending notification 'workspace/didChangeConfiguration'.
Params: {
    "settings": {
        "powershell": {
            "sideBar": {
                "CommandExplorerVisibility": true,
                "CommandExplorerExcludeFilter": []
            },
            "powerShellExePath": "C:\\Program Files\\PowerShell\\7-preview\\pwsh.exe",
            "powerShellAdditionalExePaths": [],
            "powerShellDefaultVersion": "",
            "promptToUpdatePowerShell": true,
            "startAutomatically": true,
            "useX86Host": false,
            "enableProfileLoading": true,
            "bugReporting": {
                "project": "https://github.com/PowerShell/vscode-powershell"
            },
            "helpCompletion": "BlockComment",
            "scriptAnalysis": {
                "enable": true,
                "settingsPath": ""
            },
            "codeFolding": {
                "enable": true,
                "showLastLine": true
            },
            "codeFormatting": {
                "autoCorrectAliases": false,
                "preset": "Custom",
                "openBraceOnSameLine": true,
                "newLineAfterOpenBrace": true,
                "newLineAfterCloseBrace": true,
                "pipelineIndentationStyle": "NoIndentation",
                "whitespaceBeforeOpenBrace": true,
                "whitespaceBeforeOpenParen": true,
                "whitespaceAroundOperator": true,
                "whitespaceAfterSeparator": true,
                "whitespaceInsideBrace": true,
                "whitespaceAroundPipe": true,
                "ignoreOneLineBlock": true,
                "alignPropertyValuePairs": true,
                "useCorrectCasing": false
            },
            "integratedConsole": {
                "showOnStartup": true,
                "focusConsoleOnExecute": true,
                "useLegacyReadLine": false
            },
            "debugging": {
                "createTemporaryIntegratedConsole": false
            },
            "developer": {
                "bundledModulesPath": "",
                "editorServicesLogLevel": "Normal",
                "editorServicesWaitForDebugger": false,
                "featureFlags": [
                    "PSReadLine"
                ],
                "powerShellExeIsWindowsDevBuild": false
            }
        }
    }
}


[Trace - 12:18:47 pm] Sending request 'powerShell/getVersion - (1)'.
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finding descriptor for initialized"
}


[Info  - 12:18:47 pm] Finding descriptor for initialized
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finding descriptor for workspace/didChangeConfiguration"
}


[Info  - 12:18:47 pm] Finding descriptor for workspace/didChangeConfiguration
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Starting: Routing Notification initialized"
}


[Info  - 12:18:47 pm] Starting: Routing Notification initialized
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finding descriptor for powerShell/getVersion"
}


[Info  - 12:18:47 pm] Finding descriptor for powerShell/getVersion
[Trace - 12:18:47 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Converting params for Notification initialized to OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializedParams"
}


[Info  - 12:18:47 pm] Converting params for Notification initialized to OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializedParams
[Trace - 12:18:48 pm] Received request 'client/registerCapability - (1)'.
Params: {
    "registrations": [
        {
            "id": "e5234972-2eb7-4910-959a-9e3851d0c1b3",
            "method": "workspace/symbol",
            "registerOptions": {}
        },
        {
            "id": "926f242d-67d9-48ea-91d3-162fc333376c",
            "method": "textDocument/didChange",
            "registerOptions": {
                "syncKind": 2,
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "3da05220-7718-4684-b6c7-bb5cd943d090",
            "method": "textDocument/didOpen",
            "registerOptions": {
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "45540e31-e056-4c4f-b57d-5ecd14f99142",
            "method": "textDocument/didClose",
            "registerOptions": {
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "ba7a35ba-0b40-4495-808d-74ab14c4c60c",
            "method": "textDocument/didSave",
            "registerOptions": {
                "includeText": true,
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "e13d7d73-5aad-4172-bad6-7108065e4411",
            "method": "workspace/didChangeConfiguration",
            "registerOptions": {}
        },
        {
            "id": "804e3171-f6d0-4474-876c-c76a10eb453d",
            "method": "textDocument/foldingRange",
            "registerOptions": {
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "1720027f-2511-4356-b3c9-29eae5bf01e8",
            "method": "textDocument/formatting",
            "registerOptions": {
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "a7bc50cd-0967-4ef5-916e-e03feb1768cd",
            "method": "textDocument/rangeFormatting",
            "registerOptions": {
                "documentSelector": [
                    {
                        "pattern": "**/*.ps*1"
                    }
                ]
            }
        },
        {
            "id": "ee4189da-f7a0-4926-bec5-6e678c8964ae",
            "method": "textDocument/references",
            "registerOptions": {
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "1a201a58-b120-42dd-bb05-3e59c91e3bb1",
            "method": "textDocument/documentSymbol",
            "registerOptions": {
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "28c4076e-8a68-4f5b-8330-41138929ce4b",
            "method": "textDocument/documentHighlight",
            "registerOptions": {
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "3f6207ae-e931-40d1-ace1-c38fc9131f50",
            "method": "textDocument/codeLens",
            "registerOptions": {
                "resolveProvider": true,
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "9113a090-1704-451a-a8ba-7df6fe588dd4",
            "method": "textDocument/codeAction",
            "registerOptions": {
                "codeActionKinds": [
                    "quickfix"
                ],
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "3d54ccea-839c-4da9-9717-85cb519c6281",
            "method": "textDocument/completion",
            "registerOptions": {
                "triggerCharacters": [
                    ".",
                    "-",
                    ":",
                    "\\"
                ],
                "resolveProvider": true,
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "59765dd1-5cd3-4d55-b0bb-1d4cfedb3356",
            "method": "textDocument/hover",
            "registerOptions": {
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "eea7a9de-1bef-458a-b9e2-b194665e045a",
            "method": "textDocument/signatureHelp",
            "registerOptions": {
                "triggerCharacters": [
                    " "
                ],
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        },
        {
            "id": "e0677c9d-793e-4dd9-92dd-e77a9ef77ce1",
            "method": "textDocument/definition",
            "registerOptions": {
                "documentSelector": [
                    {
                        "language": "powershell"
                    }
                ]
            }
        }
    ]
}


[Trace - 12:18:48 pm] Sending notification 'textDocument/didOpen'.
Params: {
    "textDocument": {
        "uri": "file:///c%3A/repos/test/test.ps1",
        "languageId": "powershell",
        "version": 1,
        "text": "\r\ntest-function\r\n\r\nanotherfunction\r\n\r\nfunction test-function {\r\n\r\n    \r\n}"
    }
}


[Trace - 12:18:48 pm] Sending response 'client/registerCapability - (1)'. Processing request took 4ms
No result returned.


[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finished: Routing Notification initialized in 122ms"
}


[Info  - 12:18:48 pm] Finished: Routing Notification initialized in 122ms
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Starting: Routing Notification workspace/didChangeConfiguration"
}


[Info  - 12:18:48 pm] Starting: Routing Notification workspace/didChangeConfiguration
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Converting params for Notification workspace/didChangeConfiguration to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidChangeConfigurationParams"
}


[Info  - 12:18:48 pm] Converting params for Notification workspace/didChangeConfiguration to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidChangeConfigurationParams
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finding descriptor for textDocument/didOpen"
}


[Info  - 12:18:48 pm] Finding descriptor for textDocument/didOpen
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Using Script Analyzer settings path - ''."
}


[Info  - 12:18:48 pm] Using Script Analyzer settings path - ''.
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Created attribute powershell::file:///c%3A/repos/test/test.ps1"
}


[Info  - 12:18:48 pm] Created attribute powershell::file:///c%3A/repos/test/test.ps1
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Looking for handler for descriptors textDocument/didOpen"
}


[Info  - 12:18:48 pm] Looking for handler for descriptors textDocument/didOpen
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Checking handler textDocument/didOpen:Microsoft.PowerShell.EditorServices.Handlers.TextDocumentHandler"
}


[Info  - 12:18:48 pm] Checking handler textDocument/didOpen:Microsoft.PowerShell.EditorServices.Handlers.TextDocumentHandler
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions"
}


[Info  - 12:18:48 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Document Selector [powershell]"
}


[Info  - 12:18:48 pm] Document Selector [powershell]
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.TextDocumentHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcNotificationHandler`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}


[Info  - 12:18:48 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.TextDocumentHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcNotificationHandler`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finished: Routing Notification workspace/didChangeConfiguration in 20ms"
}


[Info  - 12:18:48 pm] Finished: Routing Notification workspace/didChangeConfiguration in 20ms
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Starting: Routing Request (1) powerShell/getVersion"
}


[Info  - 12:18:48 pm] Starting: Routing Request (1) powerShell/getVersion
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Converting params for Request (1) powerShell/getVersion to Microsoft.PowerShell.EditorServices.Handlers.GetVersionParams"
}


[Info  - 12:18:48 pm] Converting params for Request (1) powerShell/getVersion to Microsoft.PowerShell.EditorServices.Handlers.GetVersionParams
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Result was System.Threading.Tasks.Task`1[[Microsoft.PowerShell.EditorServices.Handlers.PowerShellVersion, Microsoft.PowerShell.EditorServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]]"
}


[Info  - 12:18:48 pm] Result was System.Threading.Tasks.Task`1[[Microsoft.PowerShell.EditorServices.Handlers.PowerShellVersion, Microsoft.PowerShell.EditorServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]]
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Response value was Microsoft.PowerShell.EditorServices.Handlers.PowerShellVersion"
}


[Info  - 12:18:48 pm] Response value was Microsoft.PowerShell.EditorServices.Handlers.PowerShellVersion
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finished: Routing Request (1) powerShell/getVersion in 1ms"
}


[Info  - 12:18:48 pm] Finished: Routing Request (1) powerShell/getVersion in 1ms
[Trace - 12:18:48 pm] Received response 'powerShell/getVersion - (1)' in 153ms.
Result: {
    "version": "7.0.0-preview.5",
    "displayVersion": "7.0",
    "edition": "Core",
    "architecture": "X64"
}


[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Starting: Routing Notification textDocument/didOpen"
}


[Info  - 12:18:48 pm] Starting: Routing Notification textDocument/didOpen
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams"
}


[Info  - 12:18:48 pm] Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Resolved path: c:\\repos\\test\\test.ps1"
}


[Info  - 12:18:48 pm] Resolved path: c:\repos\test\test.ps1
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Opened file as in-memory buffer: c:\\repos\\test\\test.ps1"
}


[Info  - 12:18:48 pm] Opened file as in-memory buffer: c:\repos\test\test.ps1
[Trace - 12:18:48 pm] Received notification 'powerShell/executionStatusChanged'.
Params: {
    "executionOptions": {
        "writeOutputToHost": false,
        "writeErrorsToHost": false,
        "addToHistory": false,
        "interruptCommandPrompt": false,
        "writeInputToHost": false
    },
    "executionStatus": 1,
    "hadErrors": false
}


[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Attempting to execute command(s):\r\n\r\n    prompt\r\n"
}


[Info  - 12:18:48 pm] Attempting to execute command(s):

    prompt

[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Session state changed --\r\n\r\n    Old state: Ready\r\n    New state: Running\r\n    Result: NotFinished"
}


[Info  - 12:18:48 pm] Session state changed --

    Old state: Ready
    New state: Running
    Result: NotFinished
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finished opening document."
}


[Info  - 12:18:48 pm] Finished opening document.
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finished: Routing Notification textDocument/didOpen in 7ms"
}


[Info  - 12:18:48 pm] Finished: Routing Notification textDocument/didOpen in 7ms
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Session state changed --\r\n\r\n    Old state: Running\r\n    New state: Ready\r\n    Result: Completed"
}


[Info  - 12:18:48 pm] Session state changed --

    Old state: Running
    New state: Ready
    Result: Completed
[Trace - 12:18:48 pm] Sending request 'textDocument/documentSymbol - (2)'.
Params: {
    "textDocument": {
        "uri": "file:///c%3A/repos/test/test.ps1"
    }
}


[Trace - 12:18:48 pm] Sending request 'textDocument/codeAction - (3)'.
Params: {
    "textDocument": {
        "uri": "file:///c%3A/repos/test/test.ps1"
    },
    "range": {
        "start": {
            "line": 5,
            "character": 12
        },
        "end": {
            "line": 5,
            "character": 12
        }
    },
    "context": {
        "diagnostics": []
    }
}


[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Execution completed successfully."
}


[Info  - 12:18:48 pm] Execution completed successfully.
[Trace - 12:18:48 pm] Received notification 'powerShell/executionStatusChanged'.
Params: {
    "executionOptions": {
        "writeOutputToHost": false,
        "writeErrorsToHost": false,
        "addToHistory": false,
        "interruptCommandPrompt": false,
        "writeInputToHost": false
    },
    "executionStatus": 4,
    "hadErrors": false
}


[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finding descriptor for textDocument/documentSymbol"
}


[Info  - 12:18:48 pm] Finding descriptor for textDocument/documentSymbol
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Attempting to execute command(s):\r\n\r\n    \r\n            [System.Diagnostics.DebuggerHidden()]\r\n            [System.Diagnostics.DebuggerStepThrough()]\r\n            param()\r\n            return [Microsoft.PowerShell.PSConsoleReadLine, Microsoft.PowerShell.PSReadLine2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]::ReadLine(\r\n                $Host.Runspace,\r\n                $ExecutionContext,\r\n                $args[0]) System.Threading.CancellationToken\r\n"
}


[Info  - 12:18:48 pm] Attempting to execute command(s):

    
            [System.Diagnostics.DebuggerHidden()]
            [System.Diagnostics.DebuggerStepThrough()]
            param()
            return [Microsoft.PowerShell.PSConsoleReadLine, Microsoft.PowerShell.PSReadLine2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]::ReadLine(
                $Host.Runspace,
                $ExecutionContext,
                $args[0]) System.Threading.CancellationToken

[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1"
}


[Info  - 12:18:48 pm] Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Looking for handler for descriptors textDocument/documentSymbol"
}


[Info  - 12:18:48 pm] Looking for handler for descriptors textDocument/documentSymbol
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Checking handler textDocument/documentSymbol:Microsoft.PowerShell.EditorServices.Handlers.DocumentSymbolHandler"
}


[Info  - 12:18:48 pm] Checking handler textDocument/documentSymbol:Microsoft.PowerShell.EditorServices.Handlers.DocumentSymbolHandler
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions"
}


[Info  - 12:18:48 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Document Selector [powershell]"
}


[Info  - 12:18:48 pm] Document Selector [powershell]
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.DocumentSymbolHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}


[Info  - 12:18:48 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.DocumentSymbolHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Starting: Routing Request (2) textDocument/documentSymbol"
}


[Info  - 12:18:48 pm] Starting: Routing Request (2) textDocument/documentSymbol
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Converting params for Request (2) textDocument/documentSymbol to OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams"
}


[Info  - 12:18:48 pm] Converting params for Request (2) textDocument/documentSymbol to OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finding descriptor for textDocument/codeAction"
}


[Info  - 12:18:48 pm] Finding descriptor for textDocument/codeAction
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Resolved path: c:\\repos\\test\\test.ps1"
}


[Info  - 12:18:48 pm] Resolved path: c:\repos\test\test.ps1
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Invocation of provider 'ScriptDocumentSymbolProvider' completed in 1ms."
}


[Info  - 12:18:48 pm] Invocation of provider 'ScriptDocumentSymbolProvider' completed in 1ms.
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1"
}


[Info  - 12:18:48 pm] Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Looking for handler for descriptors textDocument/codeAction"
}


[Info  - 12:18:48 pm] Looking for handler for descriptors textDocument/codeAction
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Checking handler textDocument/codeAction:Microsoft.PowerShell.EditorServices.Handlers.CodeActionHandler"
}


[Info  - 12:18:48 pm] Checking handler textDocument/codeAction:Microsoft.PowerShell.EditorServices.Handlers.CodeActionHandler
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionRegistrationOptions"
}


[Info  - 12:18:48 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionRegistrationOptions
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Document Selector [powershell]"
}


[Info  - 12:18:48 pm] Document Selector [powershell]
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.CodeActionHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}


[Info  - 12:18:48 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.CodeActionHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Invocation of provider 'PsdDocumentSymbolProvider' completed in 62ms."
}


[Info  - 12:18:48 pm] Invocation of provider 'PsdDocumentSymbolProvider' completed in 62ms.
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Invocation of provider 'PesterDocumentSymbolProvider' completed in 0ms."
}


[Info  - 12:18:48 pm] Invocation of provider 'PesterDocumentSymbolProvider' completed in 0ms.
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}


[Info  - 12:18:48 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer"
}


[Info  - 12:18:48 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finished: Routing Request (2) textDocument/documentSymbol in 70ms"
}


[Info  - 12:18:48 pm] Finished: Routing Request (2) textDocument/documentSymbol in 70ms
[Trace - 12:18:48 pm] Received response 'textDocument/documentSymbol - (2)' in 112ms.
Result: [
    {
        "name": "test-function { }",
        "kind": 12,
        "deprecated": false,
        "location": {
            "uri": "file:///",
            "range": {
                "start": {
                    "line": 5,
                    "character": 0
                },
                "end": {
                    "line": 8,
                    "character": 1
                }
            }
        },
        "containerName": "test"
    }
]


[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Starting: Routing Request (3) textDocument/codeAction"
}


[Info  - 12:18:48 pm] Starting: Routing Request (3) textDocument/codeAction
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Converting params for Request (3) textDocument/codeAction to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionParams"
}


[Info  - 12:18:48 pm] Converting params for Request (3) textDocument/codeAction to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionParams
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}


[Info  - 12:18:48 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer"
}


[Info  - 12:18:48 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finished: Routing Request (3) textDocument/codeAction in 8ms"
}


[Info  - 12:18:48 pm] Finished: Routing Request (3) textDocument/codeAction in 8ms
[Trace - 12:18:48 pm] Received response 'textDocument/codeAction - (3)' in 113ms.
Result: []


[Trace - 12:18:48 pm] Sending request 'textDocument/foldingRange - (4)'.
Params: {
    "textDocument": {
        "uri": "file:///c%3A/repos/test/test.ps1"
    }
}


[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finding descriptor for textDocument/foldingRange"
}


[Info  - 12:18:48 pm] Finding descriptor for textDocument/foldingRange
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1"
}


[Info  - 12:18:48 pm] Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Looking for handler for descriptors textDocument/foldingRange"
}


[Info  - 12:18:48 pm] Looking for handler for descriptors textDocument/foldingRange
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Checking handler textDocument/foldingRange:Microsoft.PowerShell.EditorServices.Handlers.FoldingRangeHandler"
}


[Info  - 12:18:48 pm] Checking handler textDocument/foldingRange:Microsoft.PowerShell.EditorServices.Handlers.FoldingRangeHandler
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions"
}


[Info  - 12:18:48 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Document Selector [powershell]"
}


[Info  - 12:18:48 pm] Document Selector [powershell]
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.FoldingRangeHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}


[Info  - 12:18:48 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.FoldingRangeHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Starting: Routing Request (4) textDocument/foldingRange"
}


[Info  - 12:18:48 pm] Starting: Routing Request (4) textDocument/foldingRange
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Converting params for Request (4) textDocument/foldingRange to OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam"
}


[Info  - 12:18:48 pm] Converting params for Request (4) textDocument/foldingRange to OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Resolved path: c:\\repos\\test\\test.ps1"
}


[Info  - 12:18:48 pm] Resolved path: c:\repos\test\test.ps1
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}


[Info  - 12:18:48 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}


[Info  - 12:18:48 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finished: Routing Request (4) textDocument/foldingRange in 5ms"
}


[Info  - 12:18:48 pm] Finished: Routing Request (4) textDocument/foldingRange in 5ms
[Trace - 12:18:48 pm] Received response 'textDocument/foldingRange - (4)' in 11ms.
Result: [
    {
        "startLine": 5,
        "startCharacter": 23,
        "endLine": 7,
        "endCharacter": 1
    }
]


[Trace - 12:18:48 pm] Sending request 'textDocument/codeLens - (5)'.
Params: {
    "textDocument": {
        "uri": "file:///c%3A/repos/test/test.ps1"
    }
}


[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finding descriptor for textDocument/codeLens"
}


[Info  - 12:18:48 pm] Finding descriptor for textDocument/codeLens
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1"
}


[Info  - 12:18:48 pm] Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Looking for handler for descriptors textDocument/codeLens"
}


[Info  - 12:18:48 pm] Looking for handler for descriptors textDocument/codeLens
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Checking handler textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers"
}


[Info  - 12:18:48 pm] Checking handler textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions"
}


[Info  - 12:18:48 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Document Selector [powershell]"
}


[Info  - 12:18:48 pm] Document Selector [powershell]
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}


[Info  - 12:18:48 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Starting: Routing Request (5) textDocument/codeLens"
}


[Info  - 12:18:48 pm] Starting: Routing Request (5) textDocument/codeLens
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Converting params for Request (5) textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams"
}


[Info  - 12:18:48 pm] Converting params for Request (5) textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Resolved path: c:\\repos\\test\\test.ps1"
}


[Info  - 12:18:48 pm] Resolved path: c:\repos\test\test.ps1
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Invocation of provider 'ReferencesCodeLensProvider' completed in 7ms."
}


[Info  - 12:18:48 pm] Invocation of provider 'ReferencesCodeLensProvider' completed in 7ms.
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Invocation of provider 'PesterCodeLensProvider' completed in 0ms."
}


[Info  - 12:18:48 pm] Invocation of provider 'PesterCodeLensProvider' completed in 0ms.
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Updating Resolve items with wrapped data for textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers"
}


[Info  - 12:18:48 pm] Updating Resolve items with wrapped data for textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}


[Info  - 12:18:48 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer"
}


[Info  - 12:18:48 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finished: Routing Request (5) textDocument/codeLens in 10ms"
}


[Info  - 12:18:48 pm] Finished: Routing Request (5) textDocument/codeLens in 10ms
[Trace - 12:18:48 pm] Received response 'textDocument/codeLens - (5)' in 16ms.
Result: [
    {
        "range": {
            "start": {
                "line": 5,
                "character": 0
            },
            "end": {
                "line": 8,
                "character": 1
            }
        },
        "data": {
            "data": {
                "Uri": "file:///c%3A/repos/test/test.ps1",
                "ProviderId": "ReferencesCodeLensProvider"
            },
            "$$___handlerType___$$": "Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers",
            "$$___handlerKey___$$": "[powershell]"
        }
    }
]


[Trace - 12:18:48 pm] Sending request 'codeLens/resolve - (6)'.
Params: {
    "range": {
        "start": {
            "line": 5,
            "character": 0
        },
        "end": {
            "line": 8,
            "character": 1
        }
    },
    "data": {
        "data": {
            "Uri": "file:///c%3A/repos/test/test.ps1",
            "ProviderId": "ReferencesCodeLensProvider"
        },
        "$$___handlerType___$$": "Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers",
        "$$___handlerKey___$$": "[powershell]"
    }
}


[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finding descriptor for codeLens/resolve"
}


[Info  - 12:18:48 pm] Finding descriptor for codeLens/resolve
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Checking handler codeLens/resolve:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers"
}


[Info  - 12:18:48 pm] Checking handler codeLens/resolve:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Starting: Routing Request (6) codeLens/resolve"
}


[Info  - 12:18:48 pm] Starting: Routing Request (6) codeLens/resolve
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Converting params for Request (6) codeLens/resolve to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens"
}


[Info  - 12:18:48 pm] Converting params for Request (6) codeLens/resolve to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Resolved path: c:\\repos\\test\\test.ps1"
}


[Info  - 12:18:48 pm] Resolved path: c:\repos\test\test.ps1
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}


[Info  - 12:18:48 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens"
}


[Info  - 12:18:48 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens
[Trace - 12:18:48 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Finished: Routing Request (6) codeLens/resolve in 11ms"
}


[Info  - 12:18:48 pm] Finished: Routing Request (6) codeLens/resolve in 11ms
[Trace - 12:18:48 pm] Received response 'codeLens/resolve - (6)' in 19ms.
Result: {
    "range": {
        "start": {
            "line": 5,
            "character": 0
        },
        "end": {
            "line": 8,
            "character": 1
        }
    },
    "command": {
        "title": "1 reference",
        "command": "editor.action.showReferences",
        "arguments": [
            "file:///c%3A/repos/test/test.ps1",
            {
                "Line": 5,
                "Character": 0
            },
            [
                {
                    "Uri": "file:///c%3A/repos/test/test.ps1",
                    "Range": {
                        "Start": {
                            "Line": 1,
                            "Character": 0
                        },
                        "End": {
                            "Line": 1,
                            "Character": 13
                        }
                    }
                }
            ]
        ]
    },
    "data": {
        "Uri": "file:///c%3A/repos/test/test.ps1",
        "ProviderId": "ReferencesCodeLensProvider"
    }
}


[Trace - 12:18:49 pm] Received notification 'window/logMessage'.
Params: {
    "type": 3,
    "message": "Found 0 violations"
}


[Info  - 12:18:49 pm] Found 0 violations
[Trace - 12:18:49 pm] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "uri": "file:///c:/repos/test/test.ps1",
    "diagnostics": []
}

Follow the instructions in the README about
capturing and sending logs.

Environment Information

Visual Studio Code

Name Version
Operating System Windows_NT x64 10.0.18362
VSCode 1.40.1
PowerShell Extension Version 2019.11.0

PowerShell Information

Name Value
PSVersion 7.0.0-preview.5
PSEdition Core
GitCommitId 7.0.0-preview.5
OS Microsoft Windows 10.0.18362
Platform Win32NT
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.10032.0 6.0.0 6.1.0 6.2.0 7.0.0-preview.5
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
azure-account ms-vscode 0.8.7
azurerm-vscode-tools msazurermtools 0.8.2
csharp ms-vscode 1.21.7
gitlens eamodio 10.1.2
powershell-preview ms-vscode 2019.11.0
prettify-json mohsen1 0.0.3
remote-wsl ms-vscode-remote 0.40.3
xml DotJoshJohnson 2.5.0
@ghost ghost added the Needs: Triage Maintainer attention needed! label Nov 16, 2019
@SydneyhSmith
Copy link
Collaborator

@muzzar78 thanks for opening this issue and providing logs. We have identified the bug and @TylerLeonhardt is currently working on a fix...thanks!

@TylerLeonhardt
Copy link
Member

TylerLeonhardt commented Nov 20, 2019

Fix out for this ^

@muzzar78
Copy link
Author

Hey, just got the update preview extension today and still something isn't right.

image

Here are the editor services logs

[Trace - 4:32:00 pm] Sending request 'initialize - (0)'.
Params: {
"processId": 36152,
"rootPath": "c:\repos\test",
"rootUri": "file:///c%3A/repos/test",
"capabilities": {
"workspace": {
"applyEdit": true,
"workspaceEdit": {
"documentChanges": true,
"resourceOperations": [
"create",
"rename",
"delete"
],
"failureHandling": "textOnlyTransactional"
},
"didChangeConfiguration": {
"dynamicRegistration": true
},
"didChangeWatchedFiles": {
"dynamicRegistration": true
},
"symbol": {
"dynamicRegistration": true,
"symbolKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
]
}
},
"executeCommand": {
"dynamicRegistration": true
},
"configuration": true,
"workspaceFolders": true
},
"textDocument": {
"publishDiagnostics": {
"relatedInformation": true
},
"synchronization": {
"dynamicRegistration": true,
"willSave": true,
"willSaveWaitUntil": true,
"didSave": true
},
"completion": {
"dynamicRegistration": true,
"contextSupport": true,
"completionItem": {
"snippetSupport": true,
"commitCharactersSupport": true,
"documentationFormat": [
"markdown",
"plaintext"
],
"deprecatedSupport": true,
"preselectSupport": true
},
"completionItemKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25
]
}
},
"hover": {
"dynamicRegistration": true,
"contentFormat": [
"markdown",
"plaintext"
]
},
"signatureHelp": {
"dynamicRegistration": true,
"signatureInformation": {
"documentationFormat": [
"markdown",
"plaintext"
],
"parameterInformation": {
"labelOffsetSupport": true
}
}
},
"definition": {
"dynamicRegistration": true,
"linkSupport": true
},
"references": {
"dynamicRegistration": true
},
"documentHighlight": {
"dynamicRegistration": true
},
"documentSymbol": {
"dynamicRegistration": true,
"symbolKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
]
},
"hierarchicalDocumentSymbolSupport": true
},
"codeAction": {
"dynamicRegistration": true,
"codeActionLiteralSupport": {
"codeActionKind": {
"valueSet": [
"",
"quickfix",
"refactor",
"refactor.extract",
"refactor.inline",
"refactor.rewrite",
"source",
"source.organizeImports"
]
}
}
},
"codeLens": {
"dynamicRegistration": true
},
"formatting": {
"dynamicRegistration": true
},
"rangeFormatting": {
"dynamicRegistration": true
},
"onTypeFormatting": {
"dynamicRegistration": true
},
"rename": {
"dynamicRegistration": true,
"prepareSupport": true
},
"documentLink": {
"dynamicRegistration": true
},
"typeDefinition": {
"dynamicRegistration": true,
"linkSupport": true
},
"implementation": {
"dynamicRegistration": true,
"linkSupport": true
},
"colorProvider": {
"dynamicRegistration": true
},
"foldingRange": {
"dynamicRegistration": true,
"rangeLimit": 5000,
"lineFoldingOnly": true
},
"declaration": {
"dynamicRegistration": true,
"linkSupport": true
}
}
},
"trace": "verbose",
"workspaceFolders": [
{
"uri": "file:///c%3A/repos/test",
"name": "test"
}
]
}

[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "PowerShell runtime version: 6.2.3, edition: Core"
}

[Info - 4:32:01 pm] PowerShell runtime version: 6.2.3, edition: Core
[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "highlight handler loaded"
}

[Info - 4:32:01 pm] highlight handler loaded
[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Resolved path: c:\repos\test"
}

[Info - 4:32:01 pm] Resolved path: c:\repos\test
[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Attempting to execute command(s):\r\n\r\n Set-Location -Path c:\repos\test\r\n"
}

[Info - 4:32:01 pm] Attempting to execute command(s):

Set-Location -Path c:\repos\test

[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Session state changed --\r\n\r\n Old state: Ready\r\n New state: Running\r\n Result: NotFinished"
}

[Info - 4:32:01 pm] Session state changed --

Old state: Ready
New state: Running
Result: NotFinished

[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Session state changed --\r\n\r\n Old state: Running\r\n New state: Ready\r\n Result: Completed"
}

[Info - 4:32:01 pm] Session state changed --

Old state: Running
New state: Ready
Result: Completed

[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Execution completed successfully."
}

[Info - 4:32:01 pm] Execution completed successfully.
[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Result was System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[MediatR.Pipeline.RequestPreProcessorBehavior`2+d__2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], MediatR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=bb9a41a5e8aaa7e2]]"
}

[Info - 4:32:01 pm] Result was System.Runtime.CompilerServices.AsyncTaskMethodBuilder1+AsyncStateMachineBox1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[MediatR.Pipeline.RequestPreProcessorBehavior`2+d__2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], MediatR, Version=7.0.0.0, Culture=neutral, PublicKeyToken=bb9a41a5e8aaa7e2]]
[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult"
}

[Info - 4:32:01 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult
[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Request (0) initialize in 128ms"
}

[Info - 4:32:01 pm] Finished: Routing Request (0) initialize in 128ms
[Trace - 4:32:01 pm] Received response 'initialize - (0)' in 1857ms.
Result: {
"capabilities": {
"textDocumentSync": 0,
"hoverProvider": false,
"definitionProvider": false,
"referencesProvider": false,
"documentHighlightProvider": false,
"documentSymbolProvider": false,
"workspaceSymbolProvider": false,
"documentFormattingProvider": false,
"documentRangeFormattingProvider": false,
"experimental": {}
}
}

[Trace - 4:32:01 pm] Sending notification 'initialized'.
Params: {}

[Trace - 4:32:01 pm] Sending notification 'workspace/didChangeConfiguration'.
Params: {
"settings": {
"powershell": {
"sideBar": {
"CommandExplorerVisibility": true,
"CommandExplorerExcludeFilter": []
},
"powerShellAdditionalExePaths": [],
"powerShellDefaultVersion": "",
"powerShellExePath": "",
"promptToUpdatePowerShell": true,
"startAutomatically": true,
"useX86Host": false,
"enableProfileLoading": true,
"bugReporting": {
"project": "https://github.com/PowerShell/vscode-powershell"
},
"helpCompletion": "BlockComment",
"scriptAnalysis": {
"enable": true,
"settingsPath": ""
},
"codeFolding": {
"enable": true,
"showLastLine": true
},
"codeFormatting": {
"autoCorrectAliases": false,
"preset": "Custom",
"openBraceOnSameLine": true,
"newLineAfterOpenBrace": true,
"newLineAfterCloseBrace": true,
"pipelineIndentationStyle": "NoIndentation",
"whitespaceBeforeOpenBrace": true,
"whitespaceBeforeOpenParen": true,
"whitespaceAroundOperator": true,
"whitespaceAfterSeparator": true,
"whitespaceInsideBrace": true,
"whitespaceAroundPipe": true,
"ignoreOneLineBlock": true,
"alignPropertyValuePairs": true,
"useCorrectCasing": false
},
"integratedConsole": {
"showOnStartup": true,
"focusConsoleOnExecute": true,
"useLegacyReadLine": false,
"forceClearScrollbackBuffer": false
},
"debugging": {
"createTemporaryIntegratedConsole": false
},
"developer": {
"bundledModulesPath": "",
"editorServicesLogLevel": "Normal",
"editorServicesWaitForDebugger": false,
"featureFlags": [
"PSReadLine"
],
"powerShellExeIsWindowsDevBuild": false
}
}
}
}

[Trace - 4:32:01 pm] Sending request 'powerShell/getVersion - (1)'.
[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for initialized"
}

[Info - 4:32:01 pm] Finding descriptor for initialized
[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for workspace/didChangeConfiguration"
}

[Info - 4:32:01 pm] Finding descriptor for workspace/didChangeConfiguration
[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for powerShell/getVersion"
}

[Info - 4:32:01 pm] Finding descriptor for powerShell/getVersion
[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Notification initialized"
}

[Info - 4:32:01 pm] Starting: Routing Notification initialized
[Trace - 4:32:01 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Notification initialized to OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializedParams"
}

[Info - 4:32:01 pm] Converting params for Notification initialized to OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializedParams
[Trace - 4:32:02 pm] Received request 'client/registerCapability - (1)'.
Params: {
"registrations": [
{
"id": "455901ff-a812-497d-81b5-c9b665ae1034",
"method": "workspace/symbol",
"registerOptions": {}
},
{
"id": "93b675f9-e9b8-40f7-a2e5-659b2e519be3",
"method": "textDocument/didChange",
"registerOptions": {
"syncKind": 2,
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "be7cbc4a-2368-4c92-ad51-950ff7bbc00c",
"method": "textDocument/didOpen",
"registerOptions": {
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "617525d8-bca1-4254-ac0e-ca56ea489495",
"method": "textDocument/didClose",
"registerOptions": {
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "29836e2a-08f5-4448-b38b-07d991fe036a",
"method": "textDocument/didSave",
"registerOptions": {
"includeText": true,
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "eedb465b-5fe6-4910-8cf1-e214e375a8a6",
"method": "workspace/didChangeConfiguration",
"registerOptions": {}
},
{
"id": "453b2890-d005-4c96-aa1f-c27c96d2832d",
"method": "textDocument/foldingRange",
"registerOptions": {
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "072c1bd3-a98d-4285-b7f1-5285063fe131",
"method": "textDocument/formatting",
"registerOptions": {
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "d62d6aa5-e3fe-4f54-a29c-702e7ef536a6",
"method": "textDocument/rangeFormatting",
"registerOptions": {
"documentSelector": [
{
"pattern": "**/.ps1"
}
]
}
},
{
"id": "8f51f992-323d-4a71-836f-bc90f4b9db33",
"method": "textDocument/references",
"registerOptions": {
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "39a73299-8318-4287-9b2c-89a981fed9c5",
"method": "textDocument/documentSymbol",
"registerOptions": {
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "bd4856f7-f18d-43ea-8af6-1fdc88bd6db2",
"method": "textDocument/documentHighlight",
"registerOptions": {
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "afe1daee-5f04-43a7-842d-15193c682e37",
"method": "textDocument/codeLens",
"registerOptions": {
"resolveProvider": true,
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "7913f6b4-0748-4bb2-bf76-d14905132fcc",
"method": "textDocument/codeAction",
"registerOptions": {
"codeActionKinds": [
"quickfix"
],
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "ea9f32d6-fe19-4f1f-a072-7c88ac5d0a26",
"method": "textDocument/completion",
"registerOptions": {
"triggerCharacters": [
".",
"-",
":",
"\"
],
"resolveProvider": true,
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "cd217db0-a9a3-459f-bb54-37ec967103fc",
"method": "textDocument/hover",
"registerOptions": {
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "1b07efe8-c97d-4fe2-978c-2bf9ce4f7144",
"method": "textDocument/signatureHelp",
"registerOptions": {
"triggerCharacters": [
" "
],
"documentSelector": [
{
"language": "powershell"
}
]
}
},
{
"id": "15643ccf-5bc1-46f2-b2b1-3a32e0791dca",
"method": "textDocument/definition",
"registerOptions": {
"documentSelector": [
{
"language": "powershell"
}
]
}
}
]
}

[Trace - 4:32:02 pm] Sending notification 'textDocument/didOpen'.
Params: {
"textDocument": {
"uri": "file:///c%3A/repos/test/test2.ps1",
"languageId": "powershell",
"version": 1,
"text": "Test-Function\r\n\r\nfunction anotherfunction\r\n{\r\n\r\n \r\n}"
}
}

[Trace - 4:32:02 pm] Sending notification 'textDocument/didOpen'.
Params: {
"textDocument": {
"uri": "file:///c%3A/repos/test/test.ps1",
"languageId": "powershell",
"version": 1,
"text": "\r\ntest-function\r\n\r\nanotherfunction\r\n\r\nfunction test-function {\r\n\r\n \r\n}"
}
}

[Trace - 4:32:02 pm] Sending response 'client/registerCapability - (1)'. Processing request took 7ms
No result returned.

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Notification initialized in 152ms"
}

[Info - 4:32:02 pm] Finished: Routing Notification initialized in 152ms
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Notification workspace/didChangeConfiguration"
}

[Info - 4:32:02 pm] Starting: Routing Notification workspace/didChangeConfiguration
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Notification workspace/didChangeConfiguration to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidChangeConfigurationParams"
}

[Info - 4:32:02 pm] Converting params for Notification workspace/didChangeConfiguration to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidChangeConfigurationParams
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for textDocument/didOpen"
}

[Info - 4:32:02 pm] Finding descriptor for textDocument/didOpen
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Using Script Analyzer settings path - ''."
}

[Info - 4:32:02 pm] Using Script Analyzer settings path - ''.
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Created attribute powershell::file:///c%3A/repos/test/test2.ps1"
}

[Info - 4:32:02 pm] Created attribute powershell::file:///c%3A/repos/test/test2.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Looking for handler for descriptors textDocument/didOpen"
}

[Info - 4:32:02 pm] Looking for handler for descriptors textDocument/didOpen
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Checking handler textDocument/didOpen:Microsoft.PowerShell.EditorServices.Handlers.TextDocumentHandler"
}

[Info - 4:32:02 pm] Checking handler textDocument/didOpen:Microsoft.PowerShell.EditorServices.Handlers.TextDocumentHandler
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions"
}

[Info - 4:32:02 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Document Selector [powershell]"
}

[Info - 4:32:02 pm] Document Selector [powershell]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.TextDocumentHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcNotificationHandler`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}

[Info - 4:32:02 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.TextDocumentHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcNotificationHandler`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for textDocument/didOpen"
}

[Info - 4:32:02 pm] Finding descriptor for textDocument/didOpen
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Created attribute powershell::file:///c%3A/repos/test/test.ps1"
}

[Info - 4:32:02 pm] Created attribute powershell::file:///c%3A/repos/test/test.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Looking for handler for descriptors textDocument/didOpen"
}

[Info - 4:32:02 pm] Looking for handler for descriptors textDocument/didOpen
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Checking handler textDocument/didOpen:Microsoft.PowerShell.EditorServices.Handlers.TextDocumentHandler"
}

[Info - 4:32:02 pm] Checking handler textDocument/didOpen:Microsoft.PowerShell.EditorServices.Handlers.TextDocumentHandler
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions"
}

[Info - 4:32:02 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Document Selector [powershell]"
}

[Info - 4:32:02 pm] Document Selector [powershell]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.TextDocumentHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcNotificationHandler`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}

[Info - 4:32:02 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.TextDocumentHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcNotificationHandler`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Notification workspace/didChangeConfiguration in 51ms"
}

[Info - 4:32:02 pm] Finished: Routing Notification workspace/didChangeConfiguration in 51ms
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Request (1) powerShell/getVersion"
}

[Info - 4:32:02 pm] Starting: Routing Request (1) powerShell/getVersion
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Request (1) powerShell/getVersion to Microsoft.PowerShell.EditorServices.Handlers.GetVersionParams"
}

[Info - 4:32:02 pm] Converting params for Request (1) powerShell/getVersion to Microsoft.PowerShell.EditorServices.Handlers.GetVersionParams
[Trace - 4:32:02 pm] Sending request 'textDocument/documentSymbol - (2)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/repos/test/test2.ps1"
}
}

[Trace - 4:32:02 pm] Sending request 'textDocument/documentSymbol - (3)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/repos/test/test.ps1"
}
}

[Trace - 4:32:02 pm] Sending request 'textDocument/codeAction - (4)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/repos/test/test2.ps1"
},
"range": {
"start": {
"line": 2,
"character": 9
},
"end": {
"line": 2,
"character": 9
}
},
"context": {
"diagnostics": []
}
}

[Trace - 4:32:02 pm] Sending request 'textDocument/codeAction - (5)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/repos/test/test.ps1"
},
"range": {
"start": {
"line": 5,
"character": 9
},
"end": {
"line": 5,
"character": 9
}
},
"context": {
"diagnostics": []
}
}

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Result was System.Threading.Tasks.Task`1[[Microsoft.PowerShell.EditorServices.Handlers.PowerShellVersion, Microsoft.PowerShell.EditorServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]]"
}

[Info - 4:32:02 pm] Result was System.Threading.Tasks.Task`1[[Microsoft.PowerShell.EditorServices.Handlers.PowerShellVersion, Microsoft.PowerShell.EditorServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Response value was Microsoft.PowerShell.EditorServices.Handlers.PowerShellVersion"
}

[Info - 4:32:02 pm] Response value was Microsoft.PowerShell.EditorServices.Handlers.PowerShellVersion
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Request (1) powerShell/getVersion in 4ms"
}

[Info - 4:32:02 pm] Finished: Routing Request (1) powerShell/getVersion in 4ms
[Trace - 4:32:02 pm] Received response 'powerShell/getVersion - (1)' in 269ms.
Result: {
"version": "6.2.3",
"displayVersion": "6.2",
"edition": "Core",
"architecture": "X64"
}

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Notification textDocument/didOpen"
}

[Info - 4:32:02 pm] Starting: Routing Notification textDocument/didOpen
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams"
}

[Info - 4:32:02 pm] Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for textDocument/documentSymbol"
}

[Info - 4:32:02 pm] Finding descriptor for textDocument/documentSymbol
[Trace - 4:32:02 pm] Received notification 'powerShell/executionStatusChanged'.
Params: {
"executionOptions": {
"writeOutputToHost": false,
"writeErrorsToHost": false,
"addToHistory": false,
"interruptCommandPrompt": false,
"writeInputToHost": false
},
"executionStatus": 1,
"hadErrors": false
}

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Attempting to execute command(s):\r\n\r\n prompt\r\n"
}

[Info - 4:32:02 pm] Attempting to execute command(s):

prompt

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Session state changed --\r\n\r\n Old state: Ready\r\n New state: Running\r\n Result: NotFinished"
}

[Info - 4:32:02 pm] Session state changed --

Old state: Ready
New state: Running
Result: NotFinished

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Resolved path: c:\repos\test\test2.ps1"
}

[Info - 4:32:02 pm] Resolved path: c:\repos\test\test2.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Found attributes 1, powershell::file:///c%3A/repos/test/test2.ps1"
}

[Info - 4:32:02 pm] Found attributes 1, powershell::file:///c%3A/repos/test/test2.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Looking for handler for descriptors textDocument/documentSymbol"
}

[Info - 4:32:02 pm] Looking for handler for descriptors textDocument/documentSymbol
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Checking handler textDocument/documentSymbol:Microsoft.PowerShell.EditorServices.Handlers.DocumentSymbolHandler"
}

[Info - 4:32:02 pm] Checking handler textDocument/documentSymbol:Microsoft.PowerShell.EditorServices.Handlers.DocumentSymbolHandler
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions"
}

[Info - 4:32:02 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Document Selector [powershell]"
}

[Info - 4:32:02 pm] Document Selector [powershell]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.DocumentSymbolHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}

[Info - 4:32:02 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.DocumentSymbolHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for textDocument/documentSymbol"
}

[Info - 4:32:02 pm] Finding descriptor for textDocument/documentSymbol
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1"
}

[Info - 4:32:02 pm] Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Looking for handler for descriptors textDocument/documentSymbol"
}

[Info - 4:32:02 pm] Looking for handler for descriptors textDocument/documentSymbol
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Checking handler textDocument/documentSymbol:Microsoft.PowerShell.EditorServices.Handlers.DocumentSymbolHandler"
}

[Info - 4:32:02 pm] Checking handler textDocument/documentSymbol:Microsoft.PowerShell.EditorServices.Handlers.DocumentSymbolHandler
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions"
}

[Info - 4:32:02 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Document Selector [powershell]"
}

[Info - 4:32:02 pm] Document Selector [powershell]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.DocumentSymbolHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}

[Info - 4:32:02 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.DocumentSymbolHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for textDocument/codeAction"
}

[Info - 4:32:02 pm] Finding descriptor for textDocument/codeAction
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Opened file as in-memory buffer: c:\repos\test\test2.ps1"
}

[Info - 4:32:02 pm] Opened file as in-memory buffer: c:\repos\test\test2.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished opening document."
}

[Info - 4:32:02 pm] Finished opening document.
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Notification textDocument/didOpen in 25ms"
}

[Info - 4:32:02 pm] Finished: Routing Notification textDocument/didOpen in 25ms
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Notification textDocument/didOpen"
}

[Info - 4:32:02 pm] Starting: Routing Notification textDocument/didOpen
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams"
}

[Info - 4:32:02 pm] Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Resolved path: c:\repos\test\test.ps1"
}

[Info - 4:32:02 pm] Resolved path: c:\repos\test\test.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Opened file as in-memory buffer: c:\repos\test\test.ps1"
}

[Info - 4:32:02 pm] Opened file as in-memory buffer: c:\repos\test\test.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished opening document."
}

[Info - 4:32:02 pm] Finished opening document.
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Notification textDocument/didOpen in 1ms"
}

[Info - 4:32:02 pm] Finished: Routing Notification textDocument/didOpen in 1ms
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Request (2) textDocument/documentSymbol"
}

[Info - 4:32:02 pm] Starting: Routing Request (2) textDocument/documentSymbol
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Request (2) textDocument/documentSymbol to OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams"
}

[Info - 4:32:02 pm] Converting params for Request (2) textDocument/documentSymbol to OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Resolved path: c:\repos\test\test2.ps1"
}

[Info - 4:32:02 pm] Resolved path: c:\repos\test\test2.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Found attributes 1, powershell::file:///c%3A/repos/test/test2.ps1"
}

[Info - 4:32:02 pm] Found attributes 1, powershell::file:///c%3A/repos/test/test2.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Looking for handler for descriptors textDocument/codeAction"
}

[Info - 4:32:02 pm] Looking for handler for descriptors textDocument/codeAction
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Checking handler textDocument/codeAction:Microsoft.PowerShell.EditorServices.Handlers.CodeActionHandler"
}

[Info - 4:32:02 pm] Checking handler textDocument/codeAction:Microsoft.PowerShell.EditorServices.Handlers.CodeActionHandler
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionRegistrationOptions"
}

[Info - 4:32:02 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionRegistrationOptions
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Document Selector [powershell]"
}

[Info - 4:32:02 pm] Document Selector [powershell]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.CodeActionHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}

[Info - 4:32:02 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.CodeActionHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for textDocument/codeAction"
}

[Info - 4:32:02 pm] Finding descriptor for textDocument/codeAction
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1"
}

[Info - 4:32:02 pm] Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Looking for handler for descriptors textDocument/codeAction"
}

[Info - 4:32:02 pm] Looking for handler for descriptors textDocument/codeAction
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Checking handler textDocument/codeAction:Microsoft.PowerShell.EditorServices.Handlers.CodeActionHandler"
}

[Info - 4:32:02 pm] Checking handler textDocument/codeAction:Microsoft.PowerShell.EditorServices.Handlers.CodeActionHandler
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionRegistrationOptions"
}

[Info - 4:32:02 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionRegistrationOptions
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Document Selector [powershell]"
}

[Info - 4:32:02 pm] Document Selector [powershell]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.CodeActionHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}

[Info - 4:32:02 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.CodeActionHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Invocation of provider 'ScriptDocumentSymbolProvider' completed in 7ms."
}

[Info - 4:32:02 pm] Invocation of provider 'ScriptDocumentSymbolProvider' completed in 7ms.
[Trace - 4:32:02 pm] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c%3A/repos/test/test2.ps1",
"diagnostics": []
}

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Session state changed --\r\n\r\n Old state: Running\r\n New state: Ready\r\n Result: Completed"
}

[Info - 4:32:02 pm] Session state changed --

Old state: Running
New state: Ready
Result: Completed

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Execution completed successfully."
}

[Info - 4:32:02 pm] Execution completed successfully.
[Trace - 4:32:02 pm] Received notification 'powerShell/executionStatusChanged'.
Params: {
"executionOptions": {
"writeOutputToHost": false,
"writeErrorsToHost": false,
"addToHistory": false,
"interruptCommandPrompt": false,
"writeInputToHost": false
},
"executionStatus": 4,
"hadErrors": false
}

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Attempting to execute command(s):\r\n\r\n \r\n [System.Diagnostics.DebuggerHidden()]\r\n [System.Diagnostics.DebuggerStepThrough()]\r\n param()\r\n return [Microsoft.PowerShell.PSConsoleReadLine, Microsoft.PowerShell.PSReadLine2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]::ReadLine(\r\n $Host.Runspace,\r\n $ExecutionContext,\r\n $args[0]) System.Threading.CancellationToken\r\n"
}

[Info - 4:32:02 pm] Attempting to execute command(s):

        [System.Diagnostics.DebuggerHidden()]
        [System.Diagnostics.DebuggerStepThrough()]
        param()
        return [Microsoft.PowerShell.PSConsoleReadLine, Microsoft.PowerShell.PSReadLine2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null]::ReadLine(
            $Host.Runspace,
            $ExecutionContext,
            $args[0]) System.Threading.CancellationToken

[Trace - 4:32:02 pm] Sending request 'textDocument/foldingRange - (6)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/repos/test/test2.ps1"
}
}

[Trace - 4:32:02 pm] Sending request 'textDocument/foldingRange - (7)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/repos/test/test.ps1"
}
}

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for textDocument/foldingRange"
}

[Info - 4:32:02 pm] Finding descriptor for textDocument/foldingRange
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Found attributes 1, powershell::file:///c%3A/repos/test/test2.ps1"
}

[Info - 4:32:02 pm] Found attributes 1, powershell::file:///c%3A/repos/test/test2.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Looking for handler for descriptors textDocument/foldingRange"
}

[Info - 4:32:02 pm] Looking for handler for descriptors textDocument/foldingRange
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Checking handler textDocument/foldingRange:Microsoft.PowerShell.EditorServices.Handlers.FoldingRangeHandler"
}

[Info - 4:32:02 pm] Checking handler textDocument/foldingRange:Microsoft.PowerShell.EditorServices.Handlers.FoldingRangeHandler
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions"
}

[Info - 4:32:02 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Document Selector [powershell]"
}

[Info - 4:32:02 pm] Document Selector [powershell]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.FoldingRangeHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}

[Info - 4:32:02 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.FoldingRangeHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for textDocument/foldingRange"
}

[Info - 4:32:02 pm] Finding descriptor for textDocument/foldingRange
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1"
}

[Info - 4:32:02 pm] Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Looking for handler for descriptors textDocument/foldingRange"
}

[Info - 4:32:02 pm] Looking for handler for descriptors textDocument/foldingRange
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Checking handler textDocument/foldingRange:Microsoft.PowerShell.EditorServices.Handlers.FoldingRangeHandler"
}

[Info - 4:32:02 pm] Checking handler textDocument/foldingRange:Microsoft.PowerShell.EditorServices.Handlers.FoldingRangeHandler
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions"
}

[Info - 4:32:02 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentRegistrationOptions
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Document Selector [powershell]"
}

[Info - 4:32:02 pm] Document Selector [powershell]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.FoldingRangeHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}

[Info - 4:32:02 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.FoldingRangeHandler via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 4:32:02 pm] Sending request 'textDocument/codeLens - (8)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/repos/test/test2.ps1"
}
}

[Trace - 4:32:02 pm] Sending request 'textDocument/codeLens - (9)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/repos/test/test.ps1"
}
}

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for textDocument/codeLens"
}

[Info - 4:32:02 pm] Finding descriptor for textDocument/codeLens
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Found attributes 1, powershell::file:///c%3A/repos/test/test2.ps1"
}

[Info - 4:32:02 pm] Found attributes 1, powershell::file:///c%3A/repos/test/test2.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Looking for handler for descriptors textDocument/codeLens"
}

[Info - 4:32:02 pm] Looking for handler for descriptors textDocument/codeLens
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Checking handler textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers"
}

[Info - 4:32:02 pm] Checking handler textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions"
}

[Info - 4:32:02 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Document Selector [powershell]"
}

[Info - 4:32:02 pm] Document Selector [powershell]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}

[Info - 4:32:02 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for textDocument/codeLens"
}

[Info - 4:32:02 pm] Finding descriptor for textDocument/codeLens
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1"
}

[Info - 4:32:02 pm] Found attributes 1, powershell::file:///c%3A/repos/test/test.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Looking for handler for descriptors textDocument/codeLens"
}

[Info - 4:32:02 pm] Looking for handler for descriptors textDocument/codeLens
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Checking handler textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers"
}

[Info - 4:32:02 pm] Checking handler textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions"
}

[Info - 4:32:02 pm] Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Document Selector [powershell]"
}

[Info - 4:32:02 pm] Document Selector [powershell]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])"
}

[Info - 4:32:02 pm] Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers via [powershell] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Invocation of provider 'PsdDocumentSymbolProvider' completed in 220ms."
}

[Info - 4:32:02 pm] Invocation of provider 'PsdDocumentSymbolProvider' completed in 220ms.
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Invocation of provider 'PesterDocumentSymbolProvider' completed in 0ms."
}

[Info - 4:32:02 pm] Invocation of provider 'PesterDocumentSymbolProvider' completed in 0ms.
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info - 4:32:02 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer"
}

[Info - 4:32:02 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Request (2) textDocument/documentSymbol in 248ms"
}

[Info - 4:32:02 pm] Finished: Routing Request (2) textDocument/documentSymbol in 248ms
[Trace - 4:32:02 pm] Received response 'textDocument/documentSymbol - (2)' in 300ms.
Result: [
{
"name": "anotherfunction { }",
"kind": 12,
"deprecated": false,
"location": {
"uri": "file:///",
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 6,
"character": 1
}
}
},
"containerName": "test2"
}
]

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Request (3) textDocument/documentSymbol"
}

[Info - 4:32:02 pm] Starting: Routing Request (3) textDocument/documentSymbol
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Request (3) textDocument/documentSymbol to OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams"
}

[Info - 4:32:02 pm] Converting params for Request (3) textDocument/documentSymbol to OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Resolved path: c:\repos\test\test.ps1"
}

[Info - 4:32:02 pm] Resolved path: c:\repos\test\test.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Invocation of provider 'ScriptDocumentSymbolProvider' completed in 0ms."
}

[Info - 4:32:02 pm] Invocation of provider 'ScriptDocumentSymbolProvider' completed in 0ms.
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Invocation of provider 'PsdDocumentSymbolProvider' completed in 0ms."
}

[Info - 4:32:02 pm] Invocation of provider 'PsdDocumentSymbolProvider' completed in 0ms.
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Invocation of provider 'PesterDocumentSymbolProvider' completed in 0ms."
}

[Info - 4:32:02 pm] Invocation of provider 'PesterDocumentSymbolProvider' completed in 0ms.
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info - 4:32:02 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer"
}

[Info - 4:32:02 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Request (3) textDocument/documentSymbol in 1ms"
}

[Info - 4:32:02 pm] Finished: Routing Request (3) textDocument/documentSymbol in 1ms
[Trace - 4:32:02 pm] Received response 'textDocument/documentSymbol - (3)' in 304ms.
Result: [
{
"name": "test-function { }",
"kind": 12,
"deprecated": false,
"location": {
"uri": "file:///",
"range": {
"start": {
"line": 5,
"character": 0
},
"end": {
"line": 8,
"character": 1
}
}
},
"containerName": "test"
}
]

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Request (4) textDocument/codeAction"
}

[Info - 4:32:02 pm] Starting: Routing Request (4) textDocument/codeAction
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Request (4) textDocument/codeAction to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionParams"
}

[Info - 4:32:02 pm] Converting params for Request (4) textDocument/codeAction to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionParams
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info - 4:32:02 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer"
}

[Info - 4:32:02 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Request (4) textDocument/codeAction in 11ms"
}

[Info - 4:32:02 pm] Finished: Routing Request (4) textDocument/codeAction in 11ms
[Trace - 4:32:02 pm] Received response 'textDocument/codeAction - (4)' in 309ms.
Result: []

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Request (5) textDocument/codeAction"
}

[Info - 4:32:02 pm] Starting: Routing Request (5) textDocument/codeAction
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Request (5) textDocument/codeAction to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionParams"
}

[Info - 4:32:02 pm] Converting params for Request (5) textDocument/codeAction to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeActionParams
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info - 4:32:02 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer"
}

[Info - 4:32:02 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CommandOrCodeActionContainer
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Request (5) textDocument/codeAction in 2ms"
}

[Info - 4:32:02 pm] Finished: Routing Request (5) textDocument/codeAction in 2ms
[Trace - 4:32:02 pm] Received response 'textDocument/codeAction - (5)' in 312ms.
Result: []

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Request (6) textDocument/foldingRange"
}

[Info - 4:32:02 pm] Starting: Routing Request (6) textDocument/foldingRange
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Request (6) textDocument/foldingRange to OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam"
}

[Info - 4:32:02 pm] Converting params for Request (6) textDocument/foldingRange to OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Resolved path: c:\repos\test\test2.ps1"
}

[Info - 4:32:02 pm] Resolved path: c:\repos\test\test2.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Result was System.Threading.Tasks.Task1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info - 4:32:02 pm] Result was System.Threading.Tasks.Task1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info - 4:32:02 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Request (6) textDocument/foldingRange in 12ms"
}

[Info - 4:32:02 pm] Finished: Routing Request (6) textDocument/foldingRange in 12ms
[Trace - 4:32:02 pm] Received response 'textDocument/foldingRange - (6)' in 153ms.
Result: [
{
"startLine": 3,
"startCharacter": 0,
"endLine": 5,
"endCharacter": 1
}
]

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Request (7) textDocument/foldingRange"
}

[Info - 4:32:02 pm] Starting: Routing Request (7) textDocument/foldingRange
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Request (7) textDocument/foldingRange to OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam"
}

[Info - 4:32:02 pm] Converting params for Request (7) textDocument/foldingRange to OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Resolved path: c:\repos\test\test.ps1"
}

[Info - 4:32:02 pm] Resolved path: c:\repos\test\test.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Result was System.Threading.Tasks.Task1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info - 4:32:02 pm] Result was System.Threading.Tasks.Task1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info - 4:32:02 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.Container`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Request (7) textDocument/foldingRange in 1ms"
}

[Info - 4:32:02 pm] Finished: Routing Request (7) textDocument/foldingRange in 1ms
[Trace - 4:32:02 pm] Received response 'textDocument/foldingRange - (7)' in 155ms.
Result: [
{
"startLine": 5,
"startCharacter": 23,
"endLine": 7,
"endCharacter": 1
}
]

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Request (8) textDocument/codeLens"
}

[Info - 4:32:02 pm] Starting: Routing Request (8) textDocument/codeLens
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Request (8) textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams"
}

[Info - 4:32:02 pm] Converting params for Request (8) textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Resolved path: c:\repos\test\test2.ps1"
}

[Info - 4:32:02 pm] Resolved path: c:\repos\test\test2.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Invocation of provider 'ReferencesCodeLensProvider' completed in 5ms."
}

[Info - 4:32:02 pm] Invocation of provider 'ReferencesCodeLensProvider' completed in 5ms.
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Invocation of provider 'PesterCodeLensProvider' completed in 0ms."
}

[Info - 4:32:02 pm] Invocation of provider 'PesterCodeLensProvider' completed in 0ms.
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Updating Resolve items with wrapped data for textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers"
}

[Info - 4:32:02 pm] Updating Resolve items with wrapped data for textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info - 4:32:02 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer"
}

[Info - 4:32:02 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Request (8) textDocument/codeLens in 14ms"
}

[Info - 4:32:02 pm] Finished: Routing Request (8) textDocument/codeLens in 14ms
[Trace - 4:32:02 pm] Received response 'textDocument/codeLens - (8)' in 99ms.
Result: [
{
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 6,
"character": 1
}
},
"data": {
"data": {
"Uri": "file:///c%3A/repos/test/test2.ps1",
"ProviderId": "ReferencesCodeLensProvider"
},
"$$handlerType$$": "Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers",
"$$handlerKey$$": "[powershell]"
}
}
]

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Request (9) textDocument/codeLens"
}

[Info - 4:32:02 pm] Starting: Routing Request (9) textDocument/codeLens
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Request (9) textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams"
}

[Info - 4:32:02 pm] Converting params for Request (9) textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Resolved path: c:\repos\test\test.ps1"
}

[Info - 4:32:02 pm] Resolved path: c:\repos\test\test.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Invocation of provider 'ReferencesCodeLensProvider' completed in 0ms."
}

[Info - 4:32:02 pm] Invocation of provider 'ReferencesCodeLensProvider' completed in 0ms.
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Invocation of provider 'PesterCodeLensProvider' completed in 0ms."
}

[Info - 4:32:02 pm] Invocation of provider 'PesterCodeLensProvider' completed in 0ms.
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Updating Resolve items with wrapped data for textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers"
}

[Info - 4:32:02 pm] Updating Resolve items with wrapped data for textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info - 4:32:02 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer"
}

[Info - 4:32:02 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Request (9) textDocument/codeLens in 1ms"
}

[Info - 4:32:02 pm] Finished: Routing Request (9) textDocument/codeLens in 1ms
[Trace - 4:32:02 pm] Received response 'textDocument/codeLens - (9)' in 103ms.
Result: [
{
"range": {
"start": {
"line": 5,
"character": 0
},
"end": {
"line": 8,
"character": 1
}
},
"data": {
"data": {
"Uri": "file:///c%3A/repos/test/test.ps1",
"ProviderId": "ReferencesCodeLensProvider"
},
"$$handlerType$$": "Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers",
"$$handlerKey$$": "[powershell]"
}
}
]

[Trace - 4:32:02 pm] Sending request 'codeLens/resolve - (10)'.
Params: {
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 6,
"character": 1
}
},
"data": {
"data": {
"Uri": "file:///c%3A/repos/test/test2.ps1",
"ProviderId": "ReferencesCodeLensProvider"
},
"$$handlerType$$": "Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers",
"$$handlerKey$$": "[powershell]"
}
}

[Trace - 4:32:02 pm] Sending request 'codeLens/resolve - (11)'.
Params: {
"range": {
"start": {
"line": 5,
"character": 0
},
"end": {
"line": 8,
"character": 1
}
},
"data": {
"data": {
"Uri": "file:///c%3A/repos/test/test.ps1",
"ProviderId": "ReferencesCodeLensProvider"
},
"$$handlerType$$": "Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers",
"$$handlerKey$$": "[powershell]"
}
}

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for codeLens/resolve"
}

[Info - 4:32:02 pm] Finding descriptor for codeLens/resolve
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Checking handler codeLens/resolve:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers"
}

[Info - 4:32:02 pm] Checking handler codeLens/resolve:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Request (10) codeLens/resolve"
}

[Info - 4:32:02 pm] Starting: Routing Request (10) codeLens/resolve
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Request (10) codeLens/resolve to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens"
}

[Info - 4:32:02 pm] Converting params for Request (10) codeLens/resolve to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finding descriptor for codeLens/resolve"
}

[Info - 4:32:02 pm] Finding descriptor for codeLens/resolve
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Checking handler codeLens/resolve:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers"
}

[Info - 4:32:02 pm] Checking handler codeLens/resolve:Microsoft.PowerShell.EditorServices.Handlers.CodeLensHandlers
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Resolved path: c:\repos\test\test2.ps1"
}

[Info - 4:32:02 pm] Resolved path: c:\repos\test\test2.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Resolved path: c:\repos\test\test.ps1"
}

[Info - 4:32:02 pm] Resolved path: c:\repos\test\test.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info - 4:32:02 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens"
}

[Info - 4:32:02 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Request (10) codeLens/resolve in 45ms"
}

[Info - 4:32:02 pm] Finished: Routing Request (10) codeLens/resolve in 45ms
[Trace - 4:32:02 pm] Received response 'codeLens/resolve - (10)' in 55ms.
Result: {
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 6,
"character": 1
}
},
"command": {
"title": "1 reference",
"command": "editor.action.showReferences",
"arguments": [
"file:///c%3A/repos/test/test2.ps1",
{
"Line": 2,
"Character": 0
},
[
{
"Uri": "file:///c%3A/repos/test/test2.ps1",
"Range": {
"Start": {
"Line": 2,
"Character": 9
},
"End": {
"Line": 2,
"Character": 24
}
}
}
]
]
},
"data": {
"Uri": "file:///c%3A/repos/test/test2.ps1",
"ProviderId": "ReferencesCodeLensProvider"
}
}

[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting: Routing Request (11) codeLens/resolve"
}

[Info - 4:32:02 pm] Starting: Routing Request (11) codeLens/resolve
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Converting params for Request (11) codeLens/resolve to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens"
}

[Info - 4:32:02 pm] Converting params for Request (11) codeLens/resolve to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Resolved path: c:\repos\test\test.ps1"
}

[Info - 4:32:02 pm] Resolved path: c:\repos\test\test.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Resolved path: c:\repos\test\test2.ps1"
}

[Info - 4:32:02 pm] Resolved path: c:\repos\test\test2.ps1
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]"
}

[Info - 4:32:02 pm] Result was System.Threading.Tasks.Task`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens, OmniSharp.Extensions.LanguageProtocol, Version=0.14.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens"
}

[Info - 4:32:02 pm] Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLens
[Trace - 4:32:02 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Finished: Routing Request (11) codeLens/resolve in 2ms"
}

[Info - 4:32:02 pm] Finished: Routing Request (11) codeLens/resolve in 2ms
[Trace - 4:32:02 pm] Received response 'codeLens/resolve - (11)' in 59ms.
Result: {
"range": {
"start": {
"line": 5,
"character": 0
},
"end": {
"line": 8,
"character": 1
}
},
"command": {
"title": "1 reference",
"command": "editor.action.showReferences",
"arguments": [
"file:///c%3A/repos/test/test.ps1",
{
"Line": 5,
"Character": 0
},
[
{
"Uri": "file:///c%3A/repos/test/test.ps1",
"Range": {
"Start": {
"Line": 5,
"Character": 9
},
"End": {
"Line": 5,
"Character": 22
}
}
}
]
]
},
"data": {
"Uri": "file:///c%3A/repos/test/test.ps1",
"ProviderId": "ReferencesCodeLensProvider"
}
}

[Trace - 4:32:03 pm] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Found 0 violations"
}

[Info - 4:32:03 pm] Found 0 violations
[Trace - 4:32:03 pm] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c%3A/repos/test/test.ps1",
"diagnostics": []
}

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Dec 19, 2019
@TylerLeonhardt
Copy link
Member

This is a new issue. I'll get a new one going.

@SydneyhSmith SydneyhSmith removed the Needs: Maintainer Attention Maintainer attention needed! label Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants