Closed aireilly closed 3 weeks ago
I can get suggestions by selecting "Copilot: Get Panel Completions"
So I would assume LSP-copilot works.
As for why no autocompletion,
You can find the comminucation in LSP's log panel. And paste them here.
P.s. you can run LSP: Toggle Log Panel
in command palette to open LSP's log panel.
base scope output.lsp.log
It only completes for selector: source | text | embedding
. So I would expect it won't work for output.lsp.log
.
Hmm. Reachable, but status failed?
:: [12:30:08.879] <? LSP-copilot conversation/preconditionsNotification: {'results': [{'type': 'reachability', 'status': 'ok', 'details': [{'label': 'github.com', 'url': 'https://github.com', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'copilot-proxy.githubusercontent.com', 'url': 'https://copilot-proxy.githubusercontent.com/_ping', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'api.githubcopilot.com', 'url': 'https://api.githubcopilot.com/_ping', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'default.exp-tas.com', 'url': 'https://default.exp-tas.com/vscode/ab', 'message': 'HTTP 200', 'status': 'reachable'}]}, {'type': 'token', 'status': 'failed'}, {'type': 'chat_enabled', 'status': 'ok'}], 'status': 'failed'}
:: [12:30:08.881] <? LSP-copilot conversation/preconditionsNotification: {'results': [{'type': 'reachability', 'status': 'ok', 'details': [{'label': 'github.com', 'url': 'https://github.com', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'copilot-proxy.githubusercontent.com', 'url': 'https://copilot-proxy.githubusercontent.com/_ping', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'api.githubcopilot.com', 'url': 'https://api.githubcopilot.com/_ping', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'default.exp-tas.com', 'url': 'https://default.exp-tas.com/vscode/ab', 'message': 'HTTP 200', 'status': 'reachable'}]}, {'type': 'token', 'status': 'failed'}, {'type': 'chat_enabled', 'status': 'ok'}], 'status': 'failed'}
Hmm. Reachable, but status failed?
:: [12:30:08.879] <? LSP-copilot conversation/preconditionsNotification: {'results': [{'type': 'reachability', 'status': 'ok', 'details': [{'label': 'github.com', 'url': 'https://github.com', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'copilot-proxy.githubusercontent.com', 'url': 'https://copilot-proxy.githubusercontent.com/_ping', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'api.githubcopilot.com', 'url': 'https://api.githubcopilot.com/_ping', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'default.exp-tas.com', 'url': 'https://default.exp-tas.com/vscode/ab', 'message': 'HTTP 200', 'status': 'reachable'}]}, {'type': 'token', 'status': 'failed'}, {'type': 'chat_enabled', 'status': 'ok'}], 'status': 'failed'} :: [12:30:08.881] <? LSP-copilot conversation/preconditionsNotification: {'results': [{'type': 'reachability', 'status': 'ok', 'details': [{'label': 'github.com', 'url': 'https://github.com', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'copilot-proxy.githubusercontent.com', 'url': 'https://copilot-proxy.githubusercontent.com/_ping', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'api.githubcopilot.com', 'url': 'https://api.githubcopilot.com/_ping', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'default.exp-tas.com', 'url': 'https://default.exp-tas.com/vscode/ab', 'message': 'HTTP 200', 'status': 'reachable'}]}, {'type': 'token', 'status': 'failed'}, {'type': 'chat_enabled', 'status': 'ok'}], 'status': 'failed'}
That's irrelevant. I would suggest you just post the whole panel to save your and our time.
Apologies.
:: [12:30:07.270] --> LSP-copilot initialize (1): {'processId': 76960, 'clientInfo': {'name': 'Sublime Text LSP', 'version': '2.1.0'}, 'rootUri': 'file:///home/aireilly/openshift-docs', 'rootPath': '/home/aireilly/openshift-docs', 'workspaceFolders': [{'name': 'openshift-docs', 'uri': 'file:///home/aireilly/openshift-docs'}], 'capabilities': {'general': {'regularExpressions': {'engine': 'ECMAScript'}, 'markdown': {'parser': 'Python-Markdown', 'version': '3.2.2'}}, 'textDocument': {'synchronization': {'dynamicRegistration': True, 'didSave': True, 'willSave': True, 'willSaveWaitUntil': True}, 'hover': {'dynamicRegistration': True, 'contentFormat': [<MarkupKind.Markdown: 'markdown'>, <MarkupKind.PlainText: 'plaintext'>]}, 'completion': {'dynamicRegistration': True, 'completionItem': {'snippetSupport': True, 'deprecatedSupport': True, 'documentationFormat': [<MarkupKind.Markdown: 'markdown'>, <MarkupKind.PlainText: 'plaintext'>], 'tagSupport': {'valueSet': [1]}, 'resolveSupport': {'properties': ['detail', 'documentation', 'additionalTextEdits']}, 'insertReplaceSupport': True, 'insertTextModeSupport': {'valueSet': [2]}, 'labelDetailsSupport': True}, 'completionItemKind': {'valueSet': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]}, 'insertTextMode': 2, 'completionList': {'itemDefaults': ['editRange', 'insertTextFormat', 'data']}}, 'signatureHelp': {'dynamicRegistration': True, 'contextSupport': True, 'signatureInformation': {'activeParameterSupport': True, 'documentationFormat': [<MarkupKind.Markdown: 'markdown'>, <MarkupKind.PlainText: 'plaintext'>], 'parameterInformation': {'labelOffsetSupport': True}}}, 'references': {'dynamicRegistration': True}, 'documentHighlight': {'dynamicRegistration': True}, 'documentSymbol': {'dynamicRegistration': True, 'hierarchicalDocumentSymbolSupport': 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]}}, 'documentLink': {'dynamicRegistration': True, 'tooltipSupport': True}, 'formatting': {'dynamicRegistration': True}, 'rangeFormatting': {'dynamicRegistration': True, 'rangesSupport': True}, 'declaration': {'dynamicRegistration': True, 'linkSupport': True}, 'definition': {'dynamicRegistration': True, 'linkSupport': True}, 'typeDefinition': {'dynamicRegistration': True, 'linkSupport': True}, 'implementation': {'dynamicRegistration': True, 'linkSupport': True}, 'codeAction': {'dynamicRegistration': True, 'codeActionLiteralSupport': {'codeActionKind': {'valueSet': [<CodeActionKind.QuickFix: 'quickfix'>, <CodeActionKind.Refactor: 'refactor'>, <CodeActionKind.RefactorExtract: 'refactor.extract'>, <CodeActionKind.RefactorInline: 'refactor.inline'>, <CodeActionKind.RefactorRewrite: 'refactor.rewrite'>, <CodeActionKind.SourceFixAll: 'source.fixAll'>, <CodeActionKind.SourceOrganizeImports: 'source.organizeImports'>]}}, 'dataSupport': True, 'isPreferredSupport': True, 'resolveSupport': {'properties': ['edit']}}, 'rename': {'dynamicRegistration': True, 'prepareSupport': True, 'prepareSupportDefaultBehavior': 1}, 'colorProvider': {'dynamicRegistration': True}, 'publishDiagnostics': {'relatedInformation': True, 'tagSupport': {'valueSet': [1, 2]}, 'versionSupport': True, 'codeDescriptionSupport': True, 'dataSupport': True}, 'diagnostic': {'dynamicRegistration': True, 'relatedDocumentSupport': True}, 'selectionRange': {'dynamicRegistration': True}, 'foldingRange': {'dynamicRegistration': True, 'foldingRangeKind': {'valueSet': [<FoldingRangeKind.Comment: 'comment'>, <FoldingRangeKind.Imports: 'imports'>, <FoldingRangeKind.Region: 'region'>]}}, 'codeLens': {'dynamicRegistration': True}, 'inlayHint': {'dynamicRegistration': True, 'resolveSupport': {'properties': ['textEdits', 'label.command']}}, 'semanticTokens': {'dynamicRegistration': True, 'requests': {'range': True, 'full': {'delta': True}}, 'tokenTypes': [<SemanticTokenTypes.Namespace: 'namespace'>, <SemanticTokenTypes.Type: 'type'>, <SemanticTokenTypes.Class: 'class'>, <SemanticTokenTypes.Enum: 'enum'>, <SemanticTokenTypes.Interface: 'interface'>, <SemanticTokenTypes.Struct: 'struct'>, <SemanticTokenTypes.TypeParameter: 'typeParameter'>, <SemanticTokenTypes.Parameter: 'parameter'>, <SemanticTokenTypes.Variable: 'variable'>, <SemanticTokenTypes.Property: 'property'>, <SemanticTokenTypes.EnumMember: 'enumMember'>, <SemanticTokenTypes.Event: 'event'>, <SemanticTokenTypes.Function: 'function'>, <SemanticTokenTypes.Method: 'method'>, <SemanticTokenTypes.Macro: 'macro'>, <SemanticTokenTypes.Keyword: 'keyword'>, <SemanticTokenTypes.Modifier: 'modifier'>, <SemanticTokenTypes.Comment: 'comment'>, <SemanticTokenTypes.String: 'string'>, <SemanticTokenTypes.Number: 'number'>, <SemanticTokenTypes.Regexp: 'regexp'>, <SemanticTokenTypes.Operator: 'operator'>, <SemanticTokenTypes.Decorator: 'decorator'>], 'tokenModifiers': [<SemanticTokenModifiers.Declaration: 'declaration'>, <SemanticTokenModifiers.Definition: 'definition'>, <SemanticTokenModifiers.Readonly: 'readonly'>, <SemanticTokenModifiers.Static: 'static'>, <SemanticTokenModifiers.Deprecated: 'deprecated'>, <SemanticTokenModifiers.Abstract: 'abstract'>, <SemanticTokenModifiers.Async: 'async'>, <SemanticTokenModifiers.Modification: 'modification'>, <SemanticTokenModifiers.Documentation: 'documentation'>, <SemanticTokenModifiers.DefaultLibrary: 'defaultLibrary'>], 'formats': [<TokenFormat.Relative: 'relative'>], 'overlappingTokenSupport': False, 'multilineTokenSupport': True, 'augmentsSyntaxTokens': True}, 'callHierarchy': {'dynamicRegistration': True}, 'typeHierarchy': {'dynamicRegistration': True}}, 'workspace': {'applyEdit': True, 'didChangeConfiguration': {'dynamicRegistration': True}, 'executeCommand': {}, 'workspaceEdit': {'documentChanges': True, 'failureHandling': <FailureHandlingKind.Abort: 'abort'>}, 'workspaceFolders': True, 'symbol': {'dynamicRegistration': True, 'resolveSupport': {'properties': ['location.range']}, '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]}}, 'configuration': True, 'codeLens': {'refreshSupport': True}, 'inlayHint': {'refreshSupport': True}, 'semanticTokens': {'refreshSupport': True}, 'diagnostics': {'refreshSupport': True}}, 'window': {'showDocument': {'support': True}, 'showMessage': {'messageActionItem': {'additionalPropertiesSupport': True}}, 'workDoneProgress': True}}, 'initializationOptions': {}}
:: [12:30:07.448] <<< LSP-copilot (1) (duration: 178ms): {'capabilities': {'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}, 'executeCommandProvider': {'commands': ['github.copilot.didAcceptCompletionItem', 'github.copilot.didAcceptPanelCompletionItem']}}, 'inlineCompletionProvider': {}, 'textDocumentSync': {'change': {'syncKind': 2}, 'didOpen': {}, 'didClose': {}}}, 'serverInfo': {'name': 'GitHub Copilot Language Server', 'version': '1.200.0', 'nodeVersion': '20.9.0'}}
:: [12:30:07.453] -> LSP-copilot initialized: {}
:: [12:30:07.454] -> LSP-copilot workspace/didChangeConfiguration: {'settings': {'auto_ask_completions': True, 'commit_completion_on_tab': True, 'completion_style': 'popup', 'debug': False, 'hook_to_auto_complete_command': False, 'local_checks': False, 'proxy': '', 'telemetry': False}}
:: [12:30:07.455] --> LSP-copilot checkStatus (2): {}
:: [12:30:07.455] --> LSP-copilot setEditorInfo (3): {'editorInfo': {'name': 'Sublime Text', 'version': '4175'}, 'editorPluginInfo': {'name': 'LSP-copilot', 'version': '0.2.9'}}
:: [12:30:07.455] --> LSP-copilot setEditorInfo (4): {'editorInfo': {'name': 'Sublime Text', 'version': '4175'}, 'editorPluginInfo': {'name': 'LSP-copilot', 'version': '0.2.9'}}
:: [12:30:07.457] -> LSP-copilot textDocument/didOpen: {'textDocument': {'uri': 'file:///home/aireilly/openshift-docs/scripts/analytics_fix.sh', 'languageId': 'shellscript', 'version': 0, 'text': '#!/bin/bash\nset -ev\n\nNC=\'\\033[0m\' # No Color\nGREEN=\'\\033[0;32m\'\n\n# Download analytics related files and move them to correct folders\necho -e "${GREEN}==== Download files with removed analytics ====${NC}"\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html\n'}}
:: [12:30:07.460] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[lsp] GitHub Copilot Language Server 1.200.0 initialized'}
:: [12:30:07.461] <-- LSP-copilot workspace/configuration (0): {'items': [{'section': 'http'}, {'section': 'github-enterprise'}, {'section': 'github.copilot'}]}
:: [12:30:07.461] >>> LSP-copilot (0) (duration: 0ms): [None, None, None]
:: [12:30:07.461] <<< LSP-copilot (3) (duration: 6ms): 'OK'
:: [12:30:07.461] <<< LSP-copilot (4) (duration: 6ms): 'OK'
:: [12:30:08.435] <- LSP-copilot featureFlagsNotification: {'rt': False, 'sn': False, 'chat': True}
:: [12:30:08.435] <<< LSP-copilot (2) (duration: 980ms): {'status': 'OK', 'user': 'aireilly'}
:: [12:30:08.680] <- LSP-copilot featureFlagsNotification: {'rt': False, 'sn': False, 'chat': True}
:: [12:30:08.879] <? LSP-copilot conversation/preconditionsNotification: {'results': [{'type': 'reachability', 'status': 'ok', 'details': [{'label': 'github.com', 'url': 'https://github.com', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'copilot-proxy.githubusercontent.com', 'url': 'https://copilot-proxy.githubusercontent.com/_ping', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'api.githubcopilot.com', 'url': 'https://api.githubcopilot.com/_ping', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'default.exp-tas.com', 'url': 'https://default.exp-tas.com/vscode/ab', 'message': 'HTTP 200', 'status': 'reachable'}]}, {'type': 'token', 'status': 'failed'}, {'type': 'chat_enabled', 'status': 'ok'}], 'status': 'failed'}
:: [12:30:08.881] <? LSP-copilot conversation/preconditionsNotification: {'results': [{'type': 'reachability', 'status': 'ok', 'details': [{'label': 'github.com', 'url': 'https://github.com', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'copilot-proxy.githubusercontent.com', 'url': 'https://copilot-proxy.githubusercontent.com/_ping', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'api.githubcopilot.com', 'url': 'https://api.githubcopilot.com/_ping', 'message': 'HTTP 200', 'status': 'reachable'}, {'label': 'default.exp-tas.com', 'url': 'https://default.exp-tas.com/vscode/ab', 'message': 'HTTP 200', 'status': 'reachable'}]}, {'type': 'token', 'status': 'failed'}, {'type': 'chat_enabled', 'status': 'ok'}], 'status': 'failed'}
:: [12:32:29.530] --> LSP-copilot getPanelCompletions (5): {'doc': {'source': '#!/bin/bash\nset -ev\n\nNC=\'\\033[0m\' # No Color\nGREEN=\'\\033[0;32m\'\n\n# Download analytics related files and move them to correct folders\necho -e "${GREEN}==== Download files with removed analytics ====${NC}"\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html\n', 'tabSize': 4, 'indentSize': 1, 'insertSpaces': True, 'path': '/home/aireilly/openshift-docs/scripts/analytics_fix.sh', 'uri': 'file:///home/aireilly/openshift-docs/scripts/analytics_fix.sh', 'relativePath': 'scripts/analytics_fix.sh', 'languageId': 'shellscript', 'position': {'line': 8, 'character': 0}, 'version': 0}, 'panelId': 'copilot://12'}
:: [12:32:29.581] <<< LSP-copilot (5) (duration: 51ms): {'solutionCountTarget': 10}
:: [12:32:29.833] <- LSP-copilot statusNotification: {'status': 'InProgress', 'message': ''}
:: [12:32:30.825] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[fetchCompletions] request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 985 ms'}
:: [12:32:31.691] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[streamChoices] solution 4 returned. finish reason: [stop]'}
:: [12:32:31.691] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[solutions] Open Copilot completion: [\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html]'}
:: [12:32:31.691] <- LSP-copilot PanelSolution: {'panelId': 'copilot://12', 'range': {'start': {'line': 8, 'character': 0}, 'end': {'line': 8, 'character': 0}}, 'completionText': '\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'displayText': 'wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'score': 0, 'solutionId': 'ab81548ddd331d6ec699613443eaf5ece69243c1ba36f4ba1f8bfbf8ca6293c0', 'region': (204, 204)}
:: [12:32:31.763] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[streamChoices] solution 5 returned. finish reason: [stop]'}
:: [12:32:31.763] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[solutions] Open Copilot completion: [\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html]'}
:: [12:32:31.763] <- LSP-copilot PanelSolution: {'panelId': 'copilot://12', 'range': {'start': {'line': 8, 'character': 0}, 'end': {'line': 8, 'character': 0}}, 'completionText': '\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'displayText': 'wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'score': 0, 'solutionId': 'ab81548ddd331d6ec699613443eaf5ece69243c1ba36f4ba1f8bfbf8ca6293c0', 'region': (204, 204)}
:: [12:32:31.797] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[streamChoices] solution 7 returned. finish reason: [stop]'}
:: [12:32:31.797] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[solutions] Open Copilot completion: [\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html]'}
:: [12:32:31.797] <- LSP-copilot PanelSolution: {'panelId': 'copilot://12', 'range': {'start': {'line': 8, 'character': 0}, 'end': {'line': 8, 'character': 0}}, 'completionText': '\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'displayText': 'wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'score': 0, 'solutionId': 'ab81548ddd331d6ec699613443eaf5ece69243c1ba36f4ba1f8bfbf8ca6293c0', 'region': (204, 204)}
:: [12:32:31.821] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[streamChoices] solution 1 returned. finish reason: [stop]'}
:: [12:32:31.821] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[solutions] Open Copilot completion: [\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html]'}
:: [12:32:31.821] <- LSP-copilot PanelSolution: {'panelId': 'copilot://12', 'range': {'start': {'line': 8, 'character': 0}, 'end': {'line': 8, 'character': 0}}, 'completionText': '\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'displayText': 'wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'score': 0, 'solutionId': 'ab81548ddd331d6ec699613443eaf5ece69243c1ba36f4ba1f8bfbf8ca6293c0', 'region': (204, 204)}
:: [12:32:31.860] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[streamChoices] solution 3 returned. finish reason: [stop]'}
:: [12:32:31.860] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[solutions] Open Copilot completion: [\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html]'}
:: [12:32:31.861] <- LSP-copilot PanelSolution: {'panelId': 'copilot://12', 'range': {'start': {'line': 8, 'character': 0}, 'end': {'line': 8, 'character': 0}}, 'completionText': '\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'displayText': 'wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'score': 0, 'solutionId': 'ab81548ddd331d6ec699613443eaf5ece69243c1ba36f4ba1f8bfbf8ca6293c0', 'region': (204, 204)}
:: [12:32:31.881] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[streamChoices] solution 9 returned. finish reason: [stop]'}
:: [12:32:31.881] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[solutions] Open Copilot completion: [\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html]'}
:: [12:32:31.882] <- LSP-copilot PanelSolution: {'panelId': 'copilot://12', 'range': {'start': {'line': 8, 'character': 0}, 'end': {'line': 8, 'character': 0}}, 'completionText': '\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'displayText': 'wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'score': 0, 'solutionId': 'ab81548ddd331d6ec699613443eaf5ece69243c1ba36f4ba1f8bfbf8ca6293c0', 'region': (204, 204)}
:: [12:32:32.083] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[streamChoices] solution 8 returned. finish reason: [stop]'}
:: [12:32:32.083] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[solutions] Open Copilot completion: [\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html]'}
:: [12:32:32.083] <- LSP-copilot PanelSolution: {'panelId': 'copilot://12', 'range': {'start': {'line': 8, 'character': 0}, 'end': {'line': 8, 'character': 0}}, 'completionText': '\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'displayText': 'wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'score': 0, 'solutionId': '0fd497b910acfb9aede2e974fce0ebe4f68d193d181dbfa90aebe6486e2c292d', 'region': (204, 204)}
:: [12:32:32.227] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[streamChoices] solution 2 returned. finish reason: [stop]'}
:: [12:32:32.228] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[solutions] Open Copilot completion: [\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html]'}
:: [12:32:32.228] <- LSP-copilot PanelSolution: {'panelId': 'copilot://12', 'range': {'start': {'line': 8, 'character': 0}, 'end': {'line': 8, 'character': 0}}, 'completionText': '\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'displayText': 'wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html', 'score': 0, 'solutionId': '0fd497b910acfb9aede2e974fce0ebe4f68d193d181dbfa90aebe6486e2c292d', 'region': (204, 204)}
:: [12:32:35.631] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[streamChoices] solution 6 returned. finish reason: [stop]'}
:: [12:32:35.631] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[solutions] Open Copilot completion: [\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html\n\n# Download analytics related files and move them to correct folders\necho -e "${GREEN}==== Download files with removed analytics ====${NC}"\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html]'}
:: [12:32:35.631] <- LSP-copilot PanelSolution: {'panelId': 'copilot://12', 'range': {'start': {'line': 8, 'character': 0}, 'end': {'line': 8, 'character': 0}}, 'completionText': '\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html\n\n# Download analytics related files and move them to correct folders\necho -e "${GREEN}==== Download files with removed analytics ====${NC}"\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html', 'displayText': 'wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/index-commercial.html -O index-commercial.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/search-commercial.html -O search-commercial.html\n\n# Download analytics related files and move them to correct folders\necho -e "${GREEN}==== Download files with removed analytics ====${NC}"\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html', 'score': 0, 'solutionId': '5c1e34ec41a8c057dd8279db06b20abbef1ba425a9e0995e7ef6b11d307303b9', 'region': (204, 204)}
:: [12:32:35.716] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[streamChoices] solution 0 returned. finish reason: [stop]'}
:: [12:32:35.716] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[solutions] Open Copilot completion: [\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html]'}
:: [12:32:35.716] <- LSP-copilot PanelSolution: {'panelId': 'copilot://12', 'range': {'start': {'line': 8, 'character': 0}, 'end': {'line': 8, 'character': 0}}, 'completionText': '\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html', 'displayText': 'wget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html\nwget https://raw.githubusercontent.com/openshift/openshift-docs/main/scripts/ocpdocs/_footer_other.html -O _templates/_footer_other.html', 'score': 0, 'solutionId': '142cd317367f60ae74c65a27193bcabd7abddb855ae4357aee8ad48742d53787', 'region': (204, 204)}
:: [12:32:35.787] <- LSP-copilot window/logMessage: {'type': 3, 'message': '[streamChoices] request done: headerRequestId: [22cc9742-6697-46a7-ac41-3a1af9339b21] model deployment ID: [z800720a7774f]'}
:: [12:32:35.787] <- LSP-copilot statusNotification: {'status': 'Normal', 'message': ''}
:: [12:32:35.787] <- LSP-copilot PanelSolutionsDone: {'status': 'OK', 'panelId': 'copilot://12'}
It looks like no completion request is sent. What if you manually trigger ST's autocompletion by ctrl+space
?
Nothing in the autocomplete window:
Nothing in the autocomplete window:
What is the syntax you use? At ST's bottom-right corner.
Bash
(In this instance a sh script)
what if you change "hook_to_auto_complete_command": false,
to true?
Ah. That was it I think! Thanks!!!
That's a bit weird because false is the default. Probably I will investigate later.
Thank you for being so responsive in this.
It turns out that it was intentionally set to default as discussion in https://github.com/TerminalFi/LSP-copilot/pull/26/files#diff-fccd14ec4f466eabd967b916dbcd3ca219a18125e01b5b63a45d5d4dc5d7279eR15.
I have signed in to co-pilot and I can get suggestions by selecting "Copilot: Get Panel Completions" however, I can't configure popups or phantom suggestions. What am I missing?
Thanks!
Troubleshooting: LSP-copilot
Version
Server Test Run
Active view
Project / Workspace
LSP configuration
System PATH