Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues, go to linked code functionality is wonky. #5876

Open
khkiley opened this issue Mar 28, 2024 · 2 comments
Open

Issues, go to linked code functionality is wonky. #5876

khkiley opened this issue Mar 28, 2024 · 2 comments
Labels
feature-request Request for new features or functionality

Comments

@khkiley
Copy link

khkiley commented Mar 28, 2024

  • 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.

@alexr00
Copy link
Member

alexr00 commented Apr 3, 2024

The behavior you're seeing is how I'd expect things to work right now, you're not missing anything.

GitHub permalinks can only work on code that already exists on GitHub. What we could do is not add a link at all if the file has changes locally.

@alexr00 alexr00 added the feature-request Request for new features or functionality label Apr 3, 2024
@khkiley
Copy link
Author

khkiley commented Apr 3, 2024

Thanks Alex, that makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants