redhat-developer / redhat-developer/vscode-java

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

未关闭
#3,825 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

navigation upstream
主要语言
TypeScript
星标
2.3k
派生
547
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

使用 demo.zip、DemoApplication.java、SpringApplication 和 SpringApplicationBannerPrinter 的导航步骤,以及 Enable Preview From Code Navigation 设置复现该问题。跟踪编辑器的后退导航历史,观察依赖项 .class 文件复用同一个选项卡时的行为;完成标准是“后退”按打开顺序访问每个位置,包括这些 .class 文件。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, typescript, vscode
领域
developer-experience, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。