live-share icon indicating copy to clipboard operation
live-share copied to clipboard

Completions don't work in debug console

Open connor4312 opened this issue 5 years ago • 3 comments

Describe what happened: Type console.. In the host session, completions are shown. In the guest session, they aren't.

What was your system configuration? Product and Version [VS/VSCode]: VS Code, 1.46.0-insider 2020-05-11T10:00:12.459Z OS Version[macOS/Windows]: Windows_NT x64 10.0.18363 Live Share Extension Version: v1.0.2106 Target Platform or Language [e.g. Node.js]: Node 12

Steps to Reproduce / Scenario:

  1. Debug a Node.js script using the upcoming vscode debugger
  2. Type console. in debug console of the host session. Completions show ✔️
  3. Do the same in the guest session. No completions ❌

I see the request/response come through in the adapter logs, seems like some wiring is missing.

Request:

{
  "connectionId": 13,
  "message": {
    "command": "completions",
    "arguments": {
      "frameId": 47,
      "text": "console.",
      "column": 9,
      "line": 1
    },
    "type": "request",
    "seq": 24
  }
}

Response:

{
  "seq": 206,
  "type": "response",
  "request_seq": 24,
  "command": "completions",
  "success": true,
  "body": {
    "targets": [
      {
        "label": "Console",
        "sortText": "~~Console",
        "type": "method"
      },
      {
        "label": "assert",
        "sortText": "~~assert",
        "type": "method"
      },
      // lots more...
    ]
  }
}

Please attach logs to this issue: https://memes.peet.io/img/completion-not-working.zip

connor4312 avatar May 11 '20 19:05 connor4312

Another debugger feature request. @JRamsay FYI

IlyaBiryukov avatar May 26 '20 18:05 IlyaBiryukov

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically in 2 days.

github-actions[bot] avatar Aug 15 '22 10:08 github-actions[bot]

Still a problem

connor4312 avatar Aug 15 '22 15:08 connor4312