Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Jump to cursor does not move focused line #1667

Closed
karthiknadig opened this issue Aug 8, 2019 · 0 comments · Fixed by #1668
Closed

Jump to cursor does not move focused line #1667

karthiknadig opened this issue Aug 8, 2019 · 0 comments · Fixed by #1668
Assignees

Comments

@karthiknadig
Copy link
Member

Environment data

  • PTVSD version: master
  • OS and version: Any
  • Python version (& distribution if applicable, e.g. Anaconda): Any
  • Using VS Code or Visual Studio: VSCode

Actual behavior

On 'Jump to cursor' the focus line does not move.

Expected behavior

Focus line should move to the line where user requested goto.

Reason:

{
"body": {
        "reason": "goto", 
        "preserveFocusHint": true, 
        "allThreadsStopped": true, 
        "threadId": 1
    }, 
    "type": "event", 
    "pydevd_cmd_id": 157, 
    "event": "stopped", 
    "seq": 58
}

Here preserveFocusHint should be false for the goto case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant