redhat-developer / redhat-developer/vscode-java
Can not go back in .class files when preview mode enabled
Nobody has claimed this yet.
- 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
- Clone demo.zip
- Enable Enable Preview From Code Navigation in VsCode settings
- Open DemoApplication.java
- Navigate to SpringApplication by CTRL+Left Click, and then navigate to SpringApplicationBannerPrinter, it will open the claas in the same tab
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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