microsoft / microsoft/vscode-pull-request-github

Issues, go to linked code functionality is wonky.

Open
#5,876 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
Dominant language
TypeScript
Stars
2.6k
Forks
795
Avg merge
1d 4h
Merged PRs (30d)
46

Description

  • Extension version: 0.82.1
  • VSCode Version: 1.87.2
  • OS: Windows 11

It could be my workflow is not supported/expected.

I find if the changes to the file have not been checked in, then when you create an issue from //TODO, it will not be linked back to the source.

If it does link, if you change the file afterwards the link goes back to where the //TODO originated, but that TODO may not be in that location any longer.

I typically will drop //TODOs while I'm coding to ensure I don't forget anything, but this results in them scattered around the file and moving as I fix/change/update the code.

Am I missing something? Is there another way to do this?

Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported workflow in VS Code: create an issue from a //TODO before and after changing an uncommitted file. Investigate the extension's linked-code behavior and verify that unsaved changes and later edits either preserve the intended source location or are clearly unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.