redhat-developer / redhat-developer/vscode-java

Can not go back in .class files when preview mode enabled

Open
#3,825 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

navigation upstream
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

With Enable Preview From Code Navigation turned on, navigating through multiple dependecy files will not get me get back in the same order.

Environment
  • Operating System: WIndows 11
  • JDK version: 21
  • Visual Studio Code version: 1.94.2
  • Java extension version: 1.35.1
Steps To Reproduce
  1. Clone demo.zip
  2. Enable Enable Preview From Code Navigation in VsCode settings
  3. Open DemoApplication.java
  4. Navigate to SpringApplication by CTRL+Left Click, and then navigate to SpringApplicationBannerPrinter, it will open the claas in the same tab
  5. Try to navigate back, it will get you back to the DemoApplication instead of SpringApplication, it will completly ignore dependency claas

The outcome should be that the navigation should go through all visited places in editor, including .claas files opened in same tab.

Contributor guide

Open the contributing guide

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

Reproduce the issue with demo.zip using DemoApplication.java, the SpringApplication and SpringApplicationBannerPrinter navigation steps, and the Enable Preview From Code Navigation setting. Trace the editor’s back-navigation history when dependency .class files reuse one tab; done means Back visits every location in the order opened, including those .class files.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.