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

[folding] Go to Reference does not unfold folded regions under some circumstances #93393

Closed
tomblind opened this issue Mar 25, 2020 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug editor-folding Editor code folding issues insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Milestone

Comments

@tomblind
Copy link

  • VSCode Version: 1.43.2
  • OS Version: Windows 10 Home 1903 18362.720

Steps to Reproduce:

  1. Fold a region containing references to a symbol
  2. Leave that file open in the editor, but hide it with another tab
  3. Select "Go to Reference" from another open file on the symbol via context menu
  4. Double-click the reference in the folded region from the peek window
    medusa-1585143986268
  5. Alternatively, use "Find All References" and select the symbol in the folded region from the sidebar
    medusa-1585144124263

Does this issue occur when all extensions are disabled?: Yes/No

Extensions are required for finding references, so this cannot be tested without them. The issue does occur with both languages that I tried: Typescript and C#, which suggests it is not an issue with a specific extension.

Note that the issue only occurs if the file with folds is open, but not visible. If it is closed, or if it is open and visible, the fold is unfolded as expected.

@alexdima alexdima removed their assignment Mar 29, 2020
@aeschli aeschli added this to the October 2020 milestone Oct 14, 2020
@aeschli aeschli added editor-folding Editor code folding issues bug Issue identified by VS Code Team member as probable bug labels Oct 14, 2020
@aeschli aeschli changed the title Go to Reference does not unfold folded regions under some circumstances [folding] Go to Reference does not unfold folded regions under some circumstances Oct 14, 2020
@mjbvz mjbvz added the verified Verification succeeded label Oct 29, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug editor-folding Editor code folding issues insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

5 participants
@alexdima @aeschli @mjbvz @tomblind and others