Closed ZianAtFirstWatch closed 1 year ago
However, there is an entry at the bottom that kicks in when the terminalShellType is "pwsh". I assume that "pwsh" refers to the "PowerShell Extension" terminal although "pwsh" does not appear in the Terminal window.
Can you share a screenshot of what you mean here? Most likely you're in a regular pwsh
integrated terminal and not the PowerShell Extension Terminal.
After following the instructions to set the log level to Diagnostic, I reproduced the problem and closed VS Code. Then, when I looked at C:\Users\zchoy.vscode\extensions\ms-vscode.powershell-2022.8.5, I could not find a folder named logs.
Instead of closing VS Code after reproducing the issue, run the command "Open PowerShell Extension Logs Folder."
The Settings window did not have a reference to anything called a "settings file". I also tried typing "settings file" into the textbox that appears in VS Code after pressing CTRL+P. VS Code said "No maatching results".
Are you referring to VS Code's settings.json
file? You can access that with the command "Open User Settings (JSON)".
All that said, try right-clicking to paste into the terminal.
Probably shell integration. Must be one of the PSRL key handlers it maps in the start up script
However, there is an entry at the bottom that kicks in when the terminalShellType is "pwsh". I assume that "pwsh" refers to the "PowerShell Extension" terminal although "pwsh" does not appear in the Terminal window.
Can you share a screenshot of what you mean here? Most likely you're in a regular
pwsh
integrated terminal and not the PowerShell Extension Terminal.After following the instructions to set the log level to Diagnostic, I reproduced the problem and closed VS Code. Then, when I looked at C:\Users\zchoy.vscode\extensions\ms-vscode.powershell-2022.8.5, I could not find a folder named logs.
Instead of closing VS Code after reproducing the issue, run the command "Open PowerShell Extension Logs Folder."
The Settings window did not have a reference to anything called a "settings file". I also tried typing "settings file" into the textbox that appears in VS Code after pressing CTRL+P. VS Code said "No maatching results".
Are you referring to VS Code's
settings.json
file? You can access that with the command "Open User Settings (JSON)".All that said, try right-clicking to paste into the terminal.
Thank you for the instructions.
screenshot of the window
logs The path was
C:\Users\zchoy\AppData\Roaming\Code\User\globalStorage\ms-vscode.powershell\logs\1666309300-4896fa5c-fb91-4e50-9133-bcb29471daad1666309162514
.
Language Server logs [Trace - 4:39:30 PM] Sending request 'initialize - (0)'. Params: { "processId": 6248, "clientInfo": { "name": "Visual Studio Code", "version": "1.72.2" }, "locale": "en-us", "rootPath": null, "rootUri": null, "capabilities": { "workspace": { "applyEdit": true, "workspaceEdit": { "documentChanges": true, "resourceOperations": [ "create", "rename", "delete" ], "failureHandling": "textOnlyTransactional", "normalizesLineEndings": true, "changeAnnotationSupport": { "groupsOnLabel": true } }, "configuration": true, "didChangeWatchedFiles": { "dynamicRegistration": true, "relativePatternSupport": 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 ] }, "tagSupport": { "valueSet": [ 1 ] }, "resolveSupport": { "properties": [ "location.range" ] } }, "codeLens": { "refreshSupport": true }, "executeCommand": { "dynamicRegistration": true }, "didChangeConfiguration": { "dynamicRegistration": true }, "workspaceFolders": true, "semanticTokens": { "refreshSupport": true }, "fileOperations": { "dynamicRegistration": true, "didCreate": true, "didRename": true, "didDelete": true, "willCreate": true, "willRename": true, "willDelete": true }, "inlineValue": { "refreshSupport": true }, "inlayHint": { "refreshSupport": true }, "diagnostics": { "refreshSupport": true } }, "textDocument": { "publishDiagnostics": { "relatedInformation": true, "versionSupport": false, "tagSupport": { "valueSet": [ 1, 2 ] }, "codeDescriptionSupport": true, "dataSupport": 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, "tagSupport": { "valueSet": [ 1 ] }, "insertReplaceSupport": true, "resolveSupport": { "properties": [ "documentation", "detail", "additionalTextEdits" ] }, "insertTextModeSupport": { "valueSet": [ 1, 2 ] }, "labelDetailsSupport": true }, "insertTextMode": 2, "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 ] }, "completionList": { "itemDefaults": [ "commitCharacters", "editRange", "insertTextFormat", "insertTextMode" ] } }, "hover": { "dynamicRegistration": true, "contentFormat": [ "markdown", "plaintext" ] }, "signatureHelp": { "dynamicRegistration": true, "signatureInformation": { "documentationFormat": [ "markdown", "plaintext" ], "parameterInformation": { "labelOffsetSupport": true }, "activeParameterSupport": true }, "contextSupport": 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, "tagSupport": { "valueSet": [ 1 ] }, "labelSupport": true }, "codeAction": { "dynamicRegistration": true, "isPreferredSupport": true, "disabledSupport": true, "dataSupport": true, "resolveSupport": { "properties": [ "edit" ] }, "codeActionLiteralSupport": { "codeActionKind": { "valueSet": [ "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" ] } }, "honorsChangeAnnotations": false }, "codeLens": { "dynamicRegistration": true }, "formatting": { "dynamicRegistration": true }, "rangeFormatting": { "dynamicRegistration": true }, "onTypeFormatting": { "dynamicRegistration": true }, "rename": { "dynamicRegistration": true, "prepareSupport": true, "prepareSupportDefaultBehavior": 1, "honorsChangeAnnotations": true }, "documentLink": { "dynamicRegistration": true, "tooltipSupport": true }, "typeDefinition": { "dynamicRegistration": true, "linkSupport": true }, "implementation": { "dynamicRegistration": true, "linkSupport": true }, "colorProvider": { "dynamicRegistration": true }, "foldingRange": { "dynamicRegistration": true, "rangeLimit": 5000, "lineFoldingOnly": true, "foldingRangeKind": { "valueSet": [ "comment", "imports", "region" ] }, "foldingRange": { "collapsedText": false } }, "declaration": { "dynamicRegistration": true, "linkSupport": true }, "selectionRange": { "dynamicRegistration": true }, "callHierarchy": { "dynamicRegistration": true }, "semanticTokens": { "dynamicRegistration": true, "tokenTypes": [ "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator", "decorator" ], "tokenModifiers": [ "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" ], "formats": [ "relative" ], "requests": { "range": true, "full": { "delta": true } }, "multilineTokenSupport": false, "overlappingTokenSupport": false, "serverCancelSupport": true, "augmentsSyntaxTokens": true }, "linkedEditingRange": { "dynamicRegistration": true }, "typeHierarchy": { "dynamicRegistration": true }, "inlineValue": { "dynamicRegistration": true }, "inlayHint": { "dynamicRegistration": true, "resolveSupport": { "properties": [ "tooltip", "textEdits", "label.tooltip", "label.location", "label.command" ] } }, "diagnostic": { "dynamicRegistration": true, "relatedDocumentSupport": false } }, "window": { "showMessage": { "messageActionItem": { "additionalPropertiesSupport": true } }, "showDocument": { "support": true }, "workDoneProgress": true }, "general": { "staleRequestSupport": { "cancel": true, "retryOnContentModified": [ "textDocument/semanticTokens/full", "textDocument/semanticTokens/range", "textDocument/semanticTokens/full/delta" ] }, "regularExpressions": { "engine": "ECMAScript", "version": "ES2020" }, "markdown": { "parser": "marked", "version": "1.1.0" }, "positionEncodings": [ "utf-16" ] }, "notebookDocument": { "synchronization": { "dynamicRegistration": true, "executionSummarySupport": true } } }, "initializationOptions": { "enableProfileLoading": true, "initialWorkingDirectory": null }, "trace": "verbose", "workspaceFolders": null }
[Trace - 4:39:31 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Services.PowerShell.Host.PsesInternalHost: Starting host... | " }
Microsoft.PowerShell.EditorServices.Services.PowerShell.Host.PsesInternalHost: Starting host... | [Trace - 4:39:31 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Services.PowerShell.Host.PsesInternalHost: Loading profiles... | " }
Microsoft.PowerShell.EditorServices.Services.PowerShell.Host.PsesInternalHost: Loading profiles... | [Trace - 4:39:31 PM] Received notification 'window/logMessage'. Params: { "type": 3, "message": "Microsoft.PowerShell.EditorServices.Services.PowerShell.Console.ReadLineProvider: ReadLine overridden with 'Microsoft.PowerShell.EditorServices.Services.PowerShell.Console.PsrlReadLine' | " }
[Info - 4:39:31 PM] Microsoft.PowerShell.EditorServices.Services.PowerShell.Console.ReadLineProvider: ReadLine overridden with 'Microsoft.PowerShell.EditorServices.Services.PowerShell.Console.PsrlReadLine' | [Trace - 4:39:31 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Services.PowerShell.Host.PsesInternalHost: Setting execution policy to RemoteSigned | Policy='RemoteSigned'" }
Microsoft.PowerShell.EditorServices.Services.PowerShell.Host.PsesInternalHost: Setting execution policy to RemoteSigned | Policy='RemoteSigned' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Services.PowerShell.Host.PsesInternalHost: Profiles loaded! | " }
Microsoft.PowerShell.EditorServices.Services.PowerShell.Host.PsesInternalHost: Profiles loaded! | [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult | Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult | Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializeResult' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Request (0) initialize in 1266ms | Id='0' Method='initialize' ElapsedMilliseconds='1266'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Request (0) initialize in 1266ms | Id='0' Method='initialize' ElapsedMilliseconds='1266' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing request initialize 0 in 1271ms | Method='initialize' ResponseId='0' ElapsedMilliseconds='1271'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing request initialize 0 in 1271ms | Method='initialize' ResponseId='0' ElapsedMilliseconds='1271' [Trace - 4:39:32 PM] Received response 'initialize - (0)' in 2010ms. Result: { "capabilities": { "experimental": {}, "workspace": { "workspaceFolders": { "supported": true, "changeNotifications": true }, "fileOperations": {} } }, "serverInfo": { "name": "pwsh", "version": "7.2.6 SHA: eb2c4accddda2995e50cd349e655888500899d8b" } }
[Trace - 4:39:32 PM] Sending notification 'initialized'. Params: {}
[Trace - 4:39:32 PM] Sending notification 'workspace/didChangeConfiguration'. Params: { "settings": { "powershell": { "sideBar": { "CommandExplorerVisibility": true, "CommandExplorerExcludeFilter": [] }, "powerShellAdditionalExePaths": {}, "powerShellDefaultVersion": "PowerShell (x64)", "powerShellExePath": "", "promptToUpdatePowerShell": true, "promptToUpdatePackageManagement": false, "startAsLoginShell": { "osx": true, "linux": false }, "startAutomatically": true, "useX86Host": false, "enableProfileLoading": true, "enableReferencesCodeLens": true, "analyzeOpenDocumentsOnly": false, "bugReporting": { "project": "https://github.com/PowerShell/vscode-powershell" }, "helpCompletion": "BlockComment", "cwd": null, "scriptAnalysis": { "enable": true, "settingsPath": "PSScriptAnalyzerSettings.psd1" }, "codeFolding": { "enable": true, "showLastLine": true }, "codeFormatting": { "autoCorrectAliases": false, "avoidSemicolonsAsLineTerminators": false, "preset": "Custom", "openBraceOnSameLine": true, "newLineAfterOpenBrace": true, "newLineAfterCloseBrace": true, "pipelineIndentationStyle": "NoIndentation", "whitespaceBeforeOpenBrace": true, "whitespaceBeforeOpenParen": true, "whitespaceAroundOperator": true, "whitespaceAfterSeparator": true, "whitespaceInsideBrace": true, "whitespaceBetweenParameters": false, "whitespaceAroundPipe": true, "addWhitespaceAroundPipe": true, "trimWhitespaceAroundPipe": false, "ignoreOneLineBlock": true, "alignPropertyValuePairs": true, "useConstantStrings": false, "useCorrectCasing": false }, "integratedConsole": { "showOnStartup": true, "startInBackground": false, "focusConsoleOnExecute": true, "useLegacyReadLine": false, "forceClearScrollbackBuffer": false, "suppressStartupBanner": false }, "debugging": { "createTemporaryIntegratedConsole": false }, "developer": { "bundledModulesPath": "", "editorServicesLogLevel": "Diagnostic", "editorServicesWaitForDebugger": false, "featureFlags": [], "waitForSessionFileTimeoutSeconds": 240 }, "pester": { "useLegacyCodeLens": true, "codeLens": true, "outputVerbosity": "FromPreference", "debugOutputVerbosity": "Diagnostic" }, "buttons": { "showRunButtons": true, "showPanelMovementButtons": false } }, "files": { "refactoring": { "autoSave": true }, "exclude": { "/.git": true, "/.svn": true, "/.hg": true, "/CVS": true, "/.DS_Store": true, "/Thumbs.db": true }, "associations": {}, "encoding": "utf8", "autoGuessEncoding": false, "eol": "auto", "enableTrash": true, "trimTrailingWhitespace": false, "insertFinalNewline": false, "trimFinalNewlines": false, "autoSave": "off", "autoSaveDelay": 1000, "watcherExclude": { "/.git/objects/": true, "/.git/subtree-cache/": true, "*/node_modules//": true, "/.hg/store/": true }, "watcherInclude": [], "hotExit": "onExit", "defaultLanguage": "", "maxMemoryForLargeFilesMB": 4096, "restoreUndoStack": true, "saveConflictResolution": "askUser", "simpleDialog": { "enable": false }, "participants": { "timeout": 60000 } }, "search": { "exclude": { "/node_modules": true, "/bower_components": true, "/*.code-search": true }, "mode": "view", "useRipgrep": true, "maintainFileSearchCache": false, "useIgnoreFiles": true, "useGlobalIgnoreFiles": false, "useParentIgnoreFiles": false, "quickOpen": { "includeSymbols": false, "includeHistory": true, "history": { "filterSortOrder": "default" } }, "followSymlinks": true, "smartCase": false, "location": "sidebar", "maxResults": 20000, "collapseResults": "alwaysExpand", "useReplacePreview": true, "showLineNumbers": false, "usePCRE2": false, "actionsPosition": "right", "searchOnType": true, "seedWithNearestWord": false, "seedOnFocus": false, "searchOnTypeDebouncePeriod": 300, "searchEditor": { "doubleClickBehaviour": "goToLocation", "reusePriorSearchConfiguration": false, "defaultNumberOfContextLines": 1 }, "sortOrder": "default", "decorations": { "colors": true, "badges": true }, "defaultViewMode": "list" } } }
[Trace - 4:39:32 PM] Sending request 'powerShell/getVersion - (1)'. [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for initialized | Method='initialized'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for initialized | Method='initialized' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Serial:initialized request for processing | Type='Serial' Name='initialized'" }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Serial:initialized request for processing | Type='Serial' Name='initialized' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for workspace/didChangeConfiguration | Method='workspace/didChangeConfiguration'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for workspace/didChangeConfiguration | Method='workspace/didChangeConfiguration' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Swapping from Serial to Parallel | From='Serial' To='Parallel'" }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Swapping from Serial to Parallel | From='Serial' To='Parallel' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Completing existing request process type Serial | Type='Serial'" }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Completing existing request process type Serial | Type='Serial' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Parallel:workspace/didChangeConfiguration request for processing | Type='Parallel' Name='workspace/didChangeConfiguration'" }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Parallel:workspace/didChangeConfiguration request for processing | Type='Parallel' Name='workspace/didChangeConfiguration' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for powerShell/getVersion | Method='powerShell/getVersion'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for powerShell/getVersion | Method='powerShell/getVersion' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Swapping from Parallel to Serial | From='Parallel' To='Serial'" }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Swapping from Parallel to Serial | From='Parallel' To='Serial' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Cancelling any outstanding requests (switch from parallel to serial) | " }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Cancelling any outstanding requests (switch from parallel to serial) | [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Completing existing request process type Parallel | Type='Parallel'" }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Completing existing request process type Parallel | Type='Parallel' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Serial:powerShell/getVersion:1 request for processing | Type='Serial' Name='powerShell/getVersion:1'" }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Serial:powerShell/getVersion:1 request for processing | Type='Serial' Name='powerShell/getVersion:1' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing notification initialized | Method='initialized'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing notification initialized | Method='initialized' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Notification initialized | Method='initialized'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Notification initialized | Method='initialized' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification initialized to OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializedParams | Method='initialized' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializedParams'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification initialized to OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializedParams | Method='initialized' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.InitializedParams' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 2, "message": "OmniSharp.Extensions.LanguageServer.Server.Configuration.DidChangeConfigurationProvider: No ConfigurationItems have been defined, configuration won't surface any configuration from the client! | " }
[Warn - 4:39:32 PM] OmniSharp.Extensions.LanguageServer.Server.Configuration.DidChangeConfigurationProvider: No ConfigurationItems have been defined, configuration won't surface any configuration from the client! | [Trace - 4:39:32 PM] Received request 'client/registerCapability - (1)'. Params: { "registrations": [ { "id": "f9510ea6-a60d-4b97-9deb-75d28643c66d", "method": "workspace/didChangeWatchedFiles", "registerOptions": { "watchers": [ { "globPattern": "*/.{ps1,psm1}", "kind": 7 } ] } }, { "id": "ffd65b72-1621-4210-889f-86a7c1e47c84", "method": "textDocument/didSave", "registerOptions": { "includeText": true, "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ] } }, { "id": "63fa16b0-e3f0-4435-9c37-3d9f4fcd5ae6", "method": "textDocument/foldingRange", "registerOptions": { "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ], "workDoneProgress": true } }, { "id": "c72ead12-3c42-4ef4-a531-ac0f23bc9c6b", "method": "textDocument/codeAction", "registerOptions": { "codeActionKinds": [ "quickfix" ], "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ], "workDoneProgress": true } }, { "id": "e40ff5fa-c908-48dd-b4ec-694a5d2c2918", "method": "textDocument/documentSymbol", "registerOptions": { "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ], "workDoneProgress": true } }, { "id": "4289a78c-41a2-43b0-8f6f-2f9ff2856136", "method": "textDocument/completion", "registerOptions": { "resolveProvider": true, "triggerCharacters": [ ".", "-", ":", "\", "$", " " ], "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ], "workDoneProgress": true } }, { "id": "0c261e69-c210-4770-b751-16fdf29c70ca", "method": "textDocument/semanticTokens", "registerOptions": { "legend": { "tokenTypes": [ "comment", "keyword", "string", "number", "regexp", "operator", "namespace", "type", "struct", "class", "interface", "enum", "typeParameter", "function", "method", "property", "macro", "variable", "parameter", "label", "modifier", "event", "enumMember" ], "tokenModifiers": [ "documentation", "declaration", "definition", "static", "async", "abstract", "deprecated", "readonly", "modification", "defaultLibrary" ] }, "range": true, "full": { "delta": true }, "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ], "workDoneProgress": true } }, { "id": "7508cb8c-7433-4619-84a3-10592ce716af", "method": "textDocument/references", "registerOptions": { "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ], "workDoneProgress": true } }, { "id": "25aac4d8-8598-4f16-9b24-0db436a1c51a", "method": "workspace/symbol", "registerOptions": { "workDoneProgress": true } }, { "id": "e337066c-2651-4d16-92a0-df0062e4a510", "method": "textDocument/codeLens", "registerOptions": { "resolveProvider": true, "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ], "workDoneProgress": true } }, { "id": "5b248580-01aa-40d1-b90d-4982747d4719", "method": "textDocument/hover", "registerOptions": { "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ], "workDoneProgress": true } }, { "id": "a9c168ad-97e3-451e-a3f0-6ac965db1cd9", "method": "textDocument/formatting", "registerOptions": { "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ], "workDoneProgress": true } }, { "id": "c218d0c7-015e-46ab-915c-41bd4f0e7ca9", "method": "textDocument/documentHighlight", "registerOptions": { "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ], "workDoneProgress": true } }, { "id": "b87994e5-8bf7-47bd-b36a-ddee5bb2c12a", "method": "textDocument/rangeFormatting", "registerOptions": { "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ], "workDoneProgress": true } }, { "id": "83635d7c-442e-4450-b258-7dd976740ad1", "method": "textDocument/signatureHelp", "registerOptions": { "triggerCharacters": [ " " ], "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ], "workDoneProgress": true } }, { "id": "edbb3a2d-5930-465e-9653-760eed9448f4", "method": "textDocument/didOpen", "registerOptions": { "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ] } }, { "id": "6f878dc0-a6cb-46d8-9345-a9d71fe5e402", "method": "textDocument/definition", "registerOptions": { "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ], "workDoneProgress": true } }, { "id": "4cdf59a2-56ea-485d-87e8-99400eb96114", "method": "textDocument/didClose", "registerOptions": { "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "/.ps1" } ] } }, { "id": "a7ac1411-9e85-48a4-8e0e-798e06685c2c", "method": "textDocument/didChange", "registerOptions": { "syncKind": 2, "documentSelector": [ { "language": "powershell" }, { "language": "pwsh" }, { "language": "ps1" }, { "language": "psm1" }, { "language": "psd1" }, { "pattern": "*/.ps*1" } ] } } ] }
[Trace - 4:39:32 PM] Sending response 'client/registerCapability - (1)'. Processing request took 4ms No result returned.
[Trace - 4:39:32 PM] Sending notification 'textDocument/didOpen'. Params: { "textDocument": { "uri": "file:///c%3A/Users/zchoy/Desktop/Test.ps1", "languageId": "powershell", "version": 1, "text": "" } }
[Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Notification initialized in 107ms | Method='initialized' ElapsedMilliseconds='107'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Notification initialized in 107ms | Method='initialized' ElapsedMilliseconds='107' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing notification initialized in 110ms | Method='initialized' ElapsedMilliseconds='110'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing notification initialized in 110ms | Method='initialized' ElapsedMilliseconds='110' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing notification workspace/didChangeConfiguration | Method='workspace/didChangeConfiguration'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing notification workspace/didChangeConfiguration | Method='workspace/didChangeConfiguration' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Notification workspace/didChangeConfiguration | Method='workspace/didChangeConfiguration'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Notification workspace/didChangeConfiguration | Method='workspace/didChangeConfiguration' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification workspace/didChangeConfiguration to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidChangeConfigurationParams | Method='workspace/didChangeConfiguration' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.DidChangeConfigurationParams'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification workspace/didChangeConfiguration to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidChangeConfigurationParams | Method='workspace/didChangeConfiguration' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.DidChangeConfigurationParams' [Trace - 4:39:32 PM] Sending request 'textDocument/documentSymbol - (2)'. Params: { "textDocument": { "uri": "file:///c%3A/Users/zchoy/Desktop/Test.ps1" } }
[Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for textDocument/didOpen | Method='textDocument/didOpen'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for textDocument/didOpen | Method='textDocument/didOpen' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Handlers.PsesConfigurationHandler: Handling DidChangeConfiguration | " }
Microsoft.PowerShell.EditorServices.Handlers.PsesConfigurationHandler: Handling DidChangeConfiguration | [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 1, "message": "Microsoft.PowerShell.EditorServices.Handlers.PsesConfigurationHandler: Could not resolve Script Analyzer settings path due to null or empty workspaceRootPath. | " }
[Error - 4:39:32 PM] Microsoft.PowerShell.EditorServices.Handlers.PsesConfigurationHandler: Could not resolve Script Analyzer settings path due to null or empty workspaceRootPath. | [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Handlers.PsesConfigurationHandler: Using Script Analyzer settings path - 'PSScriptAnalyzerSettings.psd1'. | " }
Microsoft.PowerShell.EditorServices.Handlers.PsesConfigurationHandler: Using Script Analyzer settings path - 'PSScriptAnalyzerSettings.psd1'. | [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Handlers.PsesConfigurationHandler: Using Pester Legacy Code Lens - True | " }
Microsoft.PowerShell.EditorServices.Handlers.PsesConfigurationHandler: Using Pester Legacy Code Lens - True | [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Handlers.PsesConfigurationHandler: Running configuration update event handlers | " }
Microsoft.PowerShell.EditorServices.Handlers.PsesConfigurationHandler: Running configuration update event handlers | [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Notification workspace/didChangeConfiguration in 35ms | Method='workspace/didChangeConfiguration' ElapsedMilliseconds='35'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Notification workspace/didChangeConfiguration in 35ms | Method='workspace/didChangeConfiguration' ElapsedMilliseconds='35' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing notification workspace/didChangeConfiguration in 35ms | Method='workspace/didChangeConfiguration' ElapsedMilliseconds='35'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing notification workspace/didChangeConfiguration in 35ms | Method='workspace/didChangeConfiguration' ElapsedMilliseconds='35' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing request powerShell/getVersion 1 | Method='powerShell/getVersion' ResponseId='1'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing request powerShell/getVersion 1 | Method='powerShell/getVersion' ResponseId='1' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Request (1) powerShell/getVersion | Id='1' Method='powerShell/getVersion'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Request (1) powerShell/getVersion | Id='1' Method='powerShell/getVersion' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Request (1) powerShell/getVersion to Microsoft.PowerShell.EditorServices.Services.PowerShell.GetVersionParams | Id='1' Method='powerShell/getVersion' Type='Microsoft.PowerShell.EditorServices.Services.PowerShell.GetVersionParams'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Request (1) powerShell/getVersion to Microsoft.PowerShell.EditorServices.Services.PowerShell.GetVersionParams | Id='1' Method='powerShell/getVersion' Type='Microsoft.PowerShell.EditorServices.Services.PowerShell.GetVersionParams' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification powerShell/getVersion to Microsoft.PowerShell.EditorServices.Services.PowerShell.GetVersionParams | Method='powerShell/getVersion' Type='Microsoft.PowerShell.EditorServices.Services.PowerShell.GetVersionParams'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification powerShell/getVersion to Microsoft.PowerShell.EditorServices.Services.PowerShell.GetVersionParams | Method='powerShell/getVersion' Type='Microsoft.PowerShell.EditorServices.Services.PowerShell.GetVersionParams' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Response value was Microsoft.PowerShell.EditorServices.Services.PowerShell.PowerShellVersion | Type='Microsoft.PowerShell.EditorServices.Services.PowerShell.PowerShellVersion'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Response value was Microsoft.PowerShell.EditorServices.Services.PowerShell.PowerShellVersion | Type='Microsoft.PowerShell.EditorServices.Services.PowerShell.PowerShellVersion' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Created attribute powershell::file:///c:/Users/zchoy/Desktop/Test.ps1 | Attribute='powershell::file:///c:/Users/zchoy/Desktop/Test.ps1'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Created attribute powershell::file:///c:/Users/zchoy/Desktop/Test.ps1 | Attribute='powershell::file:///c:/Users/zchoy/Desktop/Test.ps1' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Request (1) powerShell/getVersion in 5ms | Id='1' Method='powerShell/getVersion' ElapsedMilliseconds='5'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Request (1) powerShell/getVersion in 5ms | Id='1' Method='powerShell/getVersion' ElapsedMilliseconds='5' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing request powerShell/getVersion 1 in 5ms | Method='powerShell/getVersion' ResponseId='1' ElapsedMilliseconds='5'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing request powerShell/getVersion 1 in 5ms | Method='powerShell/getVersion' ResponseId='1' ElapsedMilliseconds='5' [Trace - 4:39:32 PM] Received response 'powerShell/getVersion - (1)' in 175ms. Result: { "version": "7.2.6", "displayVersion": "7.2", "edition": "Core", "architecture": "X64" }
[Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Looking for handler for descriptors textDocument/didOpen | Method='textDocument/didOpen'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Looking for handler for descriptors textDocument/didOpen | Method='textDocument/didOpen' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Checking handler textDocument/didOpen:Microsoft.PowerShell.EditorServices.Handlers.PsesTextDocumentHandler | Method='textDocument/didOpen' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesTextDocumentHandler'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Checking handler textDocument/didOpen:Microsoft.PowerShell.EditorServices.Handlers.PsesTextDocumentHandler | Method='textDocument/didOpen' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesTextDocumentHandler' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentOpenRegistrationOptions | OptionsName='OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentOpenRegistrationOptions'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentOpenRegistrationOptions | OptionsName='OmniSharp.Extensions.LanguageServer.Protocol.Models.TextDocumentOpenRegistrationOptions' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Document Selector [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] | DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Document Selector [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] | DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.PsesTextDocumentHandler via [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcNotificationHandler`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]) | Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesTextDocumentHandler' Id='' DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' HandlerInterface='OmniSharp.Extensions.JsonRpc.IJsonRpcNotificationHandler`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.PsesTextDocumentHandler via [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcNotificationHandler`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]) | Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesTextDocumentHandler' Id='' DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' HandlerInterface='OmniSharp.Extensions.JsonRpc.IJsonRpcNotificationHandler`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Serial:textDocument/didOpen request for processing | Type='Serial' Name='textDocument/didOpen'" }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Serial:textDocument/didOpen request for processing | Type='Serial' Name='textDocument/didOpen' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for textDocument/documentSymbol | Method='textDocument/documentSymbol'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for textDocument/documentSymbol | Method='textDocument/documentSymbol' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing notification textDocument/didOpen | Method='textDocument/didOpen'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing notification textDocument/didOpen | Method='textDocument/didOpen' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Notification textDocument/didOpen | Method='textDocument/didOpen'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Notification textDocument/didOpen | Method='textDocument/didOpen' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams | Method='textDocument/didOpen' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams | Method='textDocument/didOpen' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Found attributes 1, powershell::file:///c:/Users/zchoy/Desktop/Test.ps1 | Count='1' Attributes='System.Linq.Enumerable+SelectListIterator`2[OmniSharp.Extensions.LanguageServer.Protocol.Document.TextDocumentAttributes,System.String]'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Found attributes 1, powershell::file:///c:/Users/zchoy/Desktop/Test.ps1 | Count='1' Attributes='System.Linq.Enumerable+SelectListIterator`2[OmniSharp.Extensions.LanguageServer.Protocol.Document.TextDocumentAttributes,System.String]' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Looking for handler for descriptors textDocument/documentSymbol | Method='textDocument/documentSymbol'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Looking for handler for descriptors textDocument/documentSymbol | Method='textDocument/documentSymbol' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Checking handler textDocument/documentSymbol:Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler | Method='textDocument/documentSymbol' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Checking handler textDocument/documentSymbol:Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler | Method='textDocument/documentSymbol' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolRegistrationOptions | OptionsName='OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolRegistrationOptions'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolRegistrationOptions | OptionsName='OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolRegistrationOptions' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Document Selector [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] | DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Document Selector [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] | DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler via [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]) | Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler' Id='' DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' HandlerInterface='OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler via [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]) | Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler' Id='' DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' HandlerInterface='OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Swapping from Serial to Parallel | From='Serial' To='Parallel'" }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Swapping from Serial to Parallel | From='Serial' To='Parallel' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Completing existing request process type Serial | Type='Serial'" }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Completing existing request process type Serial | Type='Serial' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Parallel:textDocument/documentSymbol:2 request for processing | Type='Parallel' Name='textDocument/documentSymbol:2'" }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Parallel:textDocument/documentSymbol:2 request for processing | Type='Parallel' Name='textDocument/documentSymbol:2' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Services.WorkspaceService: Opened file as in-memory buffer: file:///c:/Users/zchoy/Desktop/Test.ps1 | " }
Microsoft.PowerShell.EditorServices.Services.WorkspaceService: Opened file as in-memory buffer: file:///c:/Users/zchoy/Desktop/Test.ps1 | [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Handlers.PsesTextDocumentHandler: Finished opening document. | " }
Microsoft.PowerShell.EditorServices.Handlers.PsesTextDocumentHandler: Finished opening document. | [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Notification textDocument/didOpen in 15ms | Method='textDocument/didOpen' ElapsedMilliseconds='15'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Notification textDocument/didOpen in 15ms | Method='textDocument/didOpen' ElapsedMilliseconds='15' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing notification textDocument/didOpen in 15ms | Method='textDocument/didOpen' ElapsedMilliseconds='15'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing notification textDocument/didOpen in 15ms | Method='textDocument/didOpen' ElapsedMilliseconds='15' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing request textDocument/documentSymbol 2 | Method='textDocument/documentSymbol' ResponseId='2'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing request textDocument/documentSymbol 2 | Method='textDocument/documentSymbol' ResponseId='2' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Request (2) textDocument/documentSymbol | Id='2' Method='textDocument/documentSymbol'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Request (2) textDocument/documentSymbol | Id='2' Method='textDocument/documentSymbol' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Request (2) textDocument/documentSymbol to OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams | Id='2' Method='textDocument/documentSymbol' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Request (2) textDocument/documentSymbol to OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams | Id='2' Method='textDocument/documentSymbol' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification textDocument/documentSymbol to OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams | Method='textDocument/documentSymbol' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification textDocument/documentSymbol to OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams | Method='textDocument/documentSymbol' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentSymbolParams' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler: Invocation of provider 'ScriptDocumentSymbolProvider' completed in 0ms. | " }
Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler: Invocation of provider 'ScriptDocumentSymbolProvider' completed in 0ms. | [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler: Invocation of provider 'PsdDocumentSymbolProvider' completed in 64ms. | " }
Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler: Invocation of provider 'PsdDocumentSymbolProvider' completed in 64ms. | [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler: Invocation of provider 'PesterDocumentSymbolProvider' completed in 0ms. | " }
Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentSymbolHandler: Invocation of provider 'PesterDocumentSymbolProvider' completed in 0ms. | [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer | Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer | Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.SymbolInformationOrDocumentSymbolContainer' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Request (2) textDocument/documentSymbol in 75ms | Id='2' Method='textDocument/documentSymbol' ElapsedMilliseconds='75'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Request (2) textDocument/documentSymbol in 75ms | Id='2' Method='textDocument/documentSymbol' ElapsedMilliseconds='75' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing request textDocument/documentSymbol 2 in 75ms | Method='textDocument/documentSymbol' ResponseId='2' ElapsedMilliseconds='75'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing request textDocument/documentSymbol 2 in 75ms | Method='textDocument/documentSymbol' ResponseId='2' ElapsedMilliseconds='75' [Trace - 4:39:32 PM] Received response 'textDocument/documentSymbol - (2)' in 156ms. Result: []
[Trace - 4:39:32 PM] Sending request 'textDocument/foldingRange - (3)'. Params: { "textDocument": { "uri": "file:///c%3A/Users/zchoy/Desktop/Test.ps1" } }
[Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for textDocument/foldingRange | Method='textDocument/foldingRange'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for textDocument/foldingRange | Method='textDocument/foldingRange' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Found attributes 1, powershell::file:///c:/Users/zchoy/Desktop/Test.ps1 | Count='1' Attributes='System.Linq.Enumerable+SelectListIterator`2[OmniSharp.Extensions.LanguageServer.Protocol.Document.TextDocumentAttributes,System.String]'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Found attributes 1, powershell::file:///c:/Users/zchoy/Desktop/Test.ps1 | Count='1' Attributes='System.Linq.Enumerable+SelectListIterator`2[OmniSharp.Extensions.LanguageServer.Protocol.Document.TextDocumentAttributes,System.String]' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Looking for handler for descriptors textDocument/foldingRange | Method='textDocument/foldingRange'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Looking for handler for descriptors textDocument/foldingRange | Method='textDocument/foldingRange' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Checking handler textDocument/foldingRange:Microsoft.PowerShell.EditorServices.Handlers.PsesFoldingRangeHandler | Method='textDocument/foldingRange' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesFoldingRangeHandler'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Checking handler textDocument/foldingRange:Microsoft.PowerShell.EditorServices.Handlers.PsesFoldingRangeHandler | Method='textDocument/foldingRange' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesFoldingRangeHandler' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRegistrationOptions | OptionsName='OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRegistrationOptions'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRegistrationOptions | OptionsName='OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRegistrationOptions' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Document Selector [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] | DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Document Selector [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] | DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]'
[Trace - 4:39:32 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.PsesFoldingRangeHandler via [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container
1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]) | Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesFoldingRangeHandler' Id='' DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' HandlerInterface='OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container
1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]'"
}
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.PsesFoldingRangeHandler via [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container
1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]) | Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesFoldingRangeHandler' Id='' DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' HandlerInterface='OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.Container
1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]], OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]'
[Trace - 4:39:32 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Parallel:textDocument/foldingRange:3 request for processing | Type='Parallel' Name='textDocument/foldingRange:3'"
}
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Parallel:textDocument/foldingRange:3 request for processing | Type='Parallel' Name='textDocument/foldingRange:3' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing request textDocument/foldingRange 3 | Method='textDocument/foldingRange' ResponseId='3'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing request textDocument/foldingRange 3 | Method='textDocument/foldingRange' ResponseId='3' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Request (3) textDocument/foldingRange | Id='3' Method='textDocument/foldingRange'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Request (3) textDocument/foldingRange | Id='3' Method='textDocument/foldingRange' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Request (3) textDocument/foldingRange to OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam | Id='3' Method='textDocument/foldingRange' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Request (3) textDocument/foldingRange to OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam | Id='3' Method='textDocument/foldingRange' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification textDocument/foldingRange to OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam | Method='textDocument/foldingRange' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification textDocument/foldingRange to OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam | Method='textDocument/foldingRange' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRangeRequestParam'
[Trace - 4:39:32 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.Container1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]] | Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.Container
1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]'"
}
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.Container1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]] | Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.Container
1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.FoldingRange, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]'
[Trace - 4:39:32 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Request (3) textDocument/foldingRange in 5ms | Id='3' Method='textDocument/foldingRange' ElapsedMilliseconds='5'"
}
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Request (3) textDocument/foldingRange in 5ms | Id='3' Method='textDocument/foldingRange' ElapsedMilliseconds='5' [Trace - 4:39:32 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing request textDocument/foldingRange 3 in 6ms | Method='textDocument/foldingRange' ResponseId='3' ElapsedMilliseconds='6'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing request textDocument/foldingRange 3 in 6ms | Method='textDocument/foldingRange' ResponseId='3' ElapsedMilliseconds='6' [Trace - 4:39:32 PM] Received response 'textDocument/foldingRange - (3)' in 13ms. Result: []
[Trace - 4:39:33 PM] Sending request 'textDocument/codeLens - (4)'. Params: { "textDocument": { "uri": "file:///c%3A/Users/zchoy/Desktop/Test.ps1" } }
[Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for textDocument/codeLens | Method='textDocument/codeLens'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for textDocument/codeLens | Method='textDocument/codeLens' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Found attributes 1, powershell::file:///c:/Users/zchoy/Desktop/Test.ps1 | Count='1' Attributes='System.Linq.Enumerable+SelectListIterator`2[OmniSharp.Extensions.LanguageServer.Protocol.Document.TextDocumentAttributes,System.String]'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Found attributes 1, powershell::file:///c:/Users/zchoy/Desktop/Test.ps1 | Count='1' Attributes='System.Linq.Enumerable+SelectListIterator`2[OmniSharp.Extensions.LanguageServer.Protocol.Document.TextDocumentAttributes,System.String]' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Looking for handler for descriptors textDocument/codeLens | Method='textDocument/codeLens'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Looking for handler for descriptors textDocument/codeLens | Method='textDocument/codeLens' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Checking handler textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers | Method='textDocument/codeLens' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Checking handler textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers | Method='textDocument/codeLens' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions | OptionsName='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions | OptionsName='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Document Selector [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] | DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Document Selector [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] | DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers e337066c-2651-4d16-92a0-df0062e4a510 via [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]) | Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers' Id='e337066c-2651-4d16-92a0-df0062e4a510' DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' HandlerInterface='OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers e337066c-2651-4d16-92a0-df0062e4a510 via [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]) | Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers' Id='e337066c-2651-4d16-92a0-df0062e4a510' DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' HandlerInterface='OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Parallel:textDocument/codeLens:4 request for processing | Type='Parallel' Name='textDocument/codeLens:4'" }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Parallel:textDocument/codeLens:4 request for processing | Type='Parallel' Name='textDocument/codeLens:4' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing request textDocument/codeLens 4 | Method='textDocument/codeLens' ResponseId='4'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing request textDocument/codeLens 4 | Method='textDocument/codeLens' ResponseId='4' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Request (4) textDocument/codeLens | Id='4' Method='textDocument/codeLens'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Request (4) textDocument/codeLens | Id='4' Method='textDocument/codeLens' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Request (4) textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams | Id='4' Method='textDocument/codeLens' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Request (4) textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams | Id='4' Method='textDocument/codeLens' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams | Method='textDocument/codeLens' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams | Method='textDocument/codeLens' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers: Invocation of provider 'ReferencesCodeLensProvider' completed in 0ms. | " }
Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers: Invocation of provider 'ReferencesCodeLensProvider' completed in 0ms. | [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers: Invocation of provider 'PesterCodeLensProvider' completed in 0ms. | " }
Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers: Invocation of provider 'PesterCodeLensProvider' completed in 0ms. | [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline: Updating Resolve items with wrapped data for textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers | Method='textDocument/codeLens' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers'" }
OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline: Updating Resolve items with wrapped data for textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers | Method='textDocument/codeLens' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer | Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer | Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Request (4) textDocument/codeLens in 7ms | Id='4' Method='textDocument/codeLens' ElapsedMilliseconds='7'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Request (4) textDocument/codeLens in 7ms | Id='4' Method='textDocument/codeLens' ElapsedMilliseconds='7' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing request textDocument/codeLens 4 in 8ms | Method='textDocument/codeLens' ResponseId='4' ElapsedMilliseconds='8'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing request textDocument/codeLens 4 in 8ms | Method='textDocument/codeLens' ResponseId='4' ElapsedMilliseconds='8' [Trace - 4:39:33 PM] Received response 'textDocument/codeLens - (4)' in 75ms. Result: []
[Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 1, "message": "Microsoft.PowerShell.EditorServices.Services.WorkspaceService: Could not resolve relative script path\r\n baseFilePath = \r\n relativePath = PSScriptAnalyzerSettings.psd1\r\n\r\nSystem.ArgumentNullException: Value cannot be null. (Parameter 'path1')\r\n at System.IO.Path.Combine(String path1, String path2)\r\n at Microsoft.PowerShell.EditorServices.Services.WorkspaceService.ResolveRelativeScriptPath(String baseFilePath, String relativePath) in D:\a\_work\1\s\src\PowerShellEditorServices\Services\Workspace\WorkspaceService.cs:line 523 | " }
[Error - 4:39:33 PM] Microsoft.PowerShell.EditorServices.Services.WorkspaceService: Could not resolve relative script path baseFilePath = relativePath = PSScriptAnalyzerSettings.psd1
System.ArgumentNullException: Value cannot be null. (Parameter 'path1') at System.IO.Path.Combine(String path1, String path2) at Microsoft.PowerShell.EditorServices.Services.WorkspaceService.ResolveRelativeScriptPath(String baseFilePath, String relativePath) in D:\a_work\1\s\src\PowerShellEditorServices\Services\Workspace\WorkspaceService.cs:line 523 | [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 3, "message": "Microsoft.PowerShell.EditorServices.Services.AnalysisService: Unable to find PSSA settings file at 'PSScriptAnalyzerSettings.psd1'. Loading default rules. | " }
[Info - 4:39:33 PM] Microsoft.PowerShell.EditorServices.Services.AnalysisService: Unable to find PSSA settings file at 'PSScriptAnalyzerSettings.psd1'. Loading default rules. | [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 3, "message": "Microsoft.PowerShell.EditorServices.Services.AnalysisService: PSScriptAnalyzer settings file not found. Falling back to default rules | " }
[Info - 4:39:33 PM] Microsoft.PowerShell.EditorServices.Services.AnalysisService: PSScriptAnalyzer settings file not found. Falling back to default rules | [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Services.Analysis.PssaCmdletAnalysisEngine: Creating PSScriptAnalyzer runspace with module at: 'c:\Users\zchoy\.vscode\extensions\ms-vscode.powershell-2022.10.0\modules\PSScriptAnalyzer' | Path='c:\Users\zchoy\.vscode\extensions\ms-vscode.powershell-2022.10.0\modules\PSScriptAnalyzer'" }
Microsoft.PowerShell.EditorServices.Services.Analysis.PssaCmdletAnalysisEngine: Creating PSScriptAnalyzer runspace with module at: 'c:\Users\zchoy.vscode\extensions\ms-vscode.powershell-2022.10.0\modules\PSScriptAnalyzer' | Path='c:\Users\zchoy.vscode\extensions\ms-vscode.powershell-2022.10.0\modules\PSScriptAnalyzer' [Trace - 4:39:33 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Services.Analysis.PssaCmdletAnalysisEngine: PSScriptAnalyzer successfully imported:\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 PSAvoidLongLines\r\n PSAvoidMultipleTypeAttributes\r\n PSAvoidNullOrEmptyHelpMessageAttribute\r\n PSAvoidOverwritingBuiltInCmdlets\r\n PSAvoidUsingPositionalParameters\r\n PSReservedCmdletChar\r\n PSReservedParams\r\n PSAvoidSemicolonsAsLineTerminators\r\n PSAvoidShouldContinueWithoutForce\r\n PSAvoidTrailingWhitespace\r\n PSAvoidUsingUsernameAndPasswordParams\r\n PSAvoidUsingBrokenHashAlgorithms\r\n PSAvoidUsingComputerNameHardcoded\r\n PSAvoidUsingConvertToSecureStringWithPlainText\r\n PSAvoidUsingDeprecatedManifestFields\r\n PSAvoidUsingDoubleQuotesForConstantString\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 PSReviewUnusedParameter\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 PSUseProcessBlockForPipelineCommand\r\n PSUsePSCredentialType\r\n PSShouldProcess\r\n PSUseShouldProcessForStateChangingFunctions\r\n PSUseSingularNouns\r\n PSUseSupportsShouldProcess\r\n PSUseToExportFieldsInManifest\r\n PSUseUsingScopeModifierInNewRunspaces\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 | " }
Microsoft.PowerShell.EditorServices.Services.Analysis.PssaCmdletAnalysisEngine: PSScriptAnalyzer successfully imported: Available Rules: PSAlignAssignmentStatement PSAvoidUsingCmdletAliases PSAvoidAssignmentToAutomaticVariable PSAvoidDefaultValueSwitchParameter PSAvoidDefaultValueForMandatoryParameter PSAvoidUsingEmptyCatchBlock PSAvoidGlobalAliases PSAvoidGlobalFunctions PSAvoidGlobalVars PSAvoidInvokingEmptyMembers PSAvoidLongLines PSAvoidMultipleTypeAttributes PSAvoidNullOrEmptyHelpMessageAttribute PSAvoidOverwritingBuiltInCmdlets PSAvoidUsingPositionalParameters PSReservedCmdletChar PSReservedParams PSAvoidSemicolonsAsLineTerminators PSAvoidShouldContinueWithoutForce PSAvoidTrailingWhitespace PSAvoidUsingUsernameAndPasswordParams PSAvoidUsingBrokenHashAlgorithms PSAvoidUsingComputerNameHardcoded PSAvoidUsingConvertToSecureStringWithPlainText PSAvoidUsingDeprecatedManifestFields PSAvoidUsingDoubleQuotesForConstantString PSAvoidUsingInvokeExpression PSAvoidUsingPlainTextForPassword PSAvoidUsingWMICmdlet PSAvoidUsingWriteHost PSUseCompatibleCommands PSUseCompatibleSyntax PSUseCompatibleTypes PSMisleadingBacktick PSMissingModuleManifestField PSPlaceCloseBrace PSPlaceOpenBrace PSPossibleIncorrectComparisonWithNull PSPossibleIncorrectUsageOfAssignmentOperator PSPossibleIncorrectUsageOfRedirectionOperator PSProvideCommentHelp PSReviewUnusedParameter PSUseApprovedVerbs PSUseBOMForUnicodeEncodedFile PSUseCmdletCorrectly PSUseCompatibleCmdlets PSUseConsistentIndentation PSUseConsistentWhitespace PSUseCorrectCasing PSUseDeclaredVarsMoreThanAssignments PSUseLiteralInitializerForHashtable PSUseOutputTypeCorrectly PSUseProcessBlockForPipelineCommand PSUsePSCredentialType PSShouldProcess PSUseShouldProcessForStateChangingFunctions PSUseSingularNouns PSUseSupportsShouldProcess PSUseToExportFieldsInManifest PSUseUsingScopeModifierInNewRunspaces PSUseUTF8EncodingForHelpFile PSDSCDscExamplesPresent PSDSCDscTestsPresent PSDSCReturnCorrectTypesForDSCFunctions PSDSCUseIdenticalMandatoryParametersForDSC PSDSCUseIdenticalParametersForDSC PSDSCStandardDSCFunctionsInResource PSDSCUseVerboseMessageInDSCResource | [Trace - 4:39:33 PM] Received notification 'textDocument/publishDiagnostics'. Params: { "uri": "file:///c:/Users/zchoy/Desktop/Test.ps1", "diagnostics": [] }
[Trace - 4:39:48 PM] Sending request 'textDocument/codeLens - (5)'. Params: { "textDocument": { "uri": "file:///c%3A/Users/zchoy/Desktop/Test.ps1" } }
[Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for textDocument/codeLens | Method='textDocument/codeLens'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finding descriptors for textDocument/codeLens | Method='textDocument/codeLens' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Found attributes 1, powershell::file:///c:/Users/zchoy/Desktop/Test.ps1 | Count='1' Attributes='System.Linq.Enumerable+SelectListIterator`2[OmniSharp.Extensions.LanguageServer.Protocol.Document.TextDocumentAttributes,System.String]'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Found attributes 1, powershell::file:///c:/Users/zchoy/Desktop/Test.ps1 | Count='1' Attributes='System.Linq.Enumerable+SelectListIterator`2[OmniSharp.Extensions.LanguageServer.Protocol.Document.TextDocumentAttributes,System.String]' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Looking for handler for descriptors textDocument/codeLens | Method='textDocument/codeLens'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Looking for handler for descriptors textDocument/codeLens | Method='textDocument/codeLens' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Checking handler textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers | Method='textDocument/codeLens' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Checking handler textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers | Method='textDocument/codeLens' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions | OptionsName='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Registration options OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions | OptionsName='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensRegistrationOptions' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Document Selector [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] | DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Document Selector [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] | DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers e337066c-2651-4d16-92a0-df0062e4a510 via [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]) | Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers' Id='e337066c-2651-4d16-92a0-df0062e4a510' DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' HandlerInterface='OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]'" }
OmniSharp.Extensions.LanguageServer.Server.Matchers.TextDocumentMatcher: Handler Selected: Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers e337066c-2651-4d16-92a0-df0062e4a510 via [powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1] (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]) | Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers' Id='e337066c-2651-4d16-92a0-df0062e4a510' DocumentSelector='[powershell], [pwsh], [ps1], [psm1], [psd1], [/.ps1]' HandlerInterface='OmniSharp.Extensions.JsonRpc.IJsonRpcRequestHandler`2[[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022],[OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer, OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022]]' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Parallel:textDocument/codeLens:5 request for processing | Type='Parallel' Name='textDocument/codeLens:5'" }
OmniSharp.Extensions.JsonRpc.ProcessScheduler: Queueing Parallel:textDocument/codeLens:5 request for processing | Type='Parallel' Name='textDocument/codeLens:5' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing request textDocument/codeLens 5 | Method='textDocument/codeLens' ResponseId='5'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Starting: Processing request textDocument/codeLens 5 | Method='textDocument/codeLens' ResponseId='5' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Request (5) textDocument/codeLens | Id='5' Method='textDocument/codeLens'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Starting: Routing Request (5) textDocument/codeLens | Id='5' Method='textDocument/codeLens' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Request (5) textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams | Id='5' Method='textDocument/codeLens' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Request (5) textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams | Id='5' Method='textDocument/codeLens' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams | Method='textDocument/codeLens' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Converting params for Notification textDocument/codeLens to OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams | Method='textDocument/codeLens' Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensParams' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers: Invocation of provider 'ReferencesCodeLensProvider' completed in 0ms. | " }
Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers: Invocation of provider 'ReferencesCodeLensProvider' completed in 0ms. | [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers: Invocation of provider 'PesterCodeLensProvider' completed in 0ms. | " }
Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers: Invocation of provider 'PesterCodeLensProvider' completed in 0ms. | [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline: Updating Resolve items with wrapped data for textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers | Method='textDocument/codeLens' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers'" }
OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline: Updating Resolve items with wrapped data for textDocument/codeLens:Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers | Method='textDocument/codeLens' Handler='Microsoft.PowerShell.EditorServices.Handlers.PsesCodeLensHandlers' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer | Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Response value was OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer | Type='OmniSharp.Extensions.LanguageServer.Protocol.Models.CodeLensContainer' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Request (5) textDocument/codeLens in 5ms | Id='5' Method='textDocument/codeLens' ElapsedMilliseconds='5'" }
OmniSharp.Extensions.LanguageServer.Shared.LspRequestRouter: Finished: Routing Request (5) textDocument/codeLens in 5ms | Id='5' Method='textDocument/codeLens' ElapsedMilliseconds='5' [Trace - 4:39:48 PM] Received notification 'window/logMessage'. Params: { "type": 4, "message": "OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing request textDocument/codeLens 5 in 5ms | Method='textDocument/codeLens' ResponseId='5' ElapsedMilliseconds='5'" }
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Finished: Processing request textDocument/codeLens 5 in 5ms | Method='textDocument/codeLens' ResponseId='5' ElapsedMilliseconds='5' [Trace - 4:39:48 PM] Received response 'textDocument/codeLens - (5)' in 12ms. Result: []
This issue was closed automatically as repro info was indicated as needed, but there has been no activity in over a week. Please feel free to reopen with any available information!
Hello @ZianAtFirstWatch! The latest code is available in the PowerShell Preview for VS Code, and includes shell integration support. Could you verify if this issue still reproduces using the preview extension?
I still can't paste with CTRL+V after disabling the PowerShell extension, installing PowerShell Preview, and restarting VS Code.
Well, this is weird. I can reproduce this still too, but Ctrl-Shift-V
works. They're both default keybindings and bound to the same thing:
{ "key": "ctrl+shift+v", "command": "workbench.action.terminal.paste",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" },
{ "key": "ctrl+v", "command": "workbench.action.terminal.paste",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" },
Does this issue still need "fix verification"? Any info you'd like from me?
Can you uninstall both the regular and preview extensions, and try to reproduce in a pwsh
integrated VS Code terminal? (I.e. not the Extension Terminal).
This issue was closed automatically as author feedback was indicated as needed, but there has been no activity in over a week. Please feel free to reopen with any available information!
Yes, I can reproduce it in "pwsh" after removing the PowerShell extension and restarting VS Code.
That means it's an upstream bug, and not with the extension. Can you file with https://github.com/microsoft/vscode? Make sure the repro is specifically without the extension (so just pwsh
terminal). Feel free to reference this issue because I was able to repro that weirdness, but I can't fix it for you.
This issue has been marked as external. It has been automatically closed for housekeeping purposes.
For now, the solution is to remove the user-specific custom keybinding entries in keybindings.json. In the future, perhaps the VS Code team will indicate that the conflict exists in the user interface.
Thanks for that!
Prerequisites
Summary
When I press CTRL+V in the "PowerShell Extension" Terminal, the text in the Windows Clipboard is not pasted. Instead, nothing happens.
The VS Code Keyboard Shortcuts window shows that the Paste command and Terminal: Paste into Active Terminal command are mapped to CTRL+V, which is what I want because I remember doing something to the Terminal to make it use CTRL+V.
However, there is an entry at the bottom that kicks in when the terminalShellType is "pwsh". I assume that "pwsh" refers to the "PowerShell Extension" terminal although "pwsh" does not appear in the Terminal window.
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Visuals
Logs
After following the instructions to set the log level to Diagnostic, I reproduced the problem and closed VS Code. Then, when I looked at
C:\Users\zchoy\.vscode\extensions\ms-vscode.powershell-2022.8.5
, I could not find a folder named logs.The Settings window did not have a reference to anything called a "settings file". I also tried typing "settings file" into the textbox that appears in VS Code after pressing CTRL+P. VS Code said "No matching results".