[Navigation] - When navigating to Library Inner Class/Interface it won't sync Java projects View

未关闭
#833 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

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

调研方向

复现所报告的 nox.zone 项目中的导航:打开 JDK StringTemplate.class,跟随 Processor interface 引用,并观察 Java Projects 视图和已打开的选项卡。从该操作开始跟踪扩展的导航处理;当目标保持与 StringTemplate.class 同步,且不会在新选项卡中打开 StringTemplate$Processor.class 时,即表示完成。

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

描述

bug

Type: Bug

Steps:

  1. Clone this project https://github.com/nipafx/nox.zone
  2. Navigate to JDK StringTemplate.class
  3. Go to 447 line of code, Processor<StringTemplate, RuntimeException> RAW = st -> st;
  4. CTRL + Left Click to naviagate to Processor interface

After navigating to Processor it will lose sync with Java Projects view, and will open a new tab with StringTemplate$Processor.class file. While it is poiting to correct line of code where Processor is located, it should not open a new tab, it should navigate to StringTemplate.class.

Extension version: 0.23.6
VS Code version: Code 1.89.0 (b58957e67ee1e712cebf466b995adf4c5307b2bd, 2024-05-01T02:08:25.066Z)
OS version: Linux x64 6.8.9-zen1-1-zen
Modes:

System Info
Item Value
CPUs AMD Ryzen 5 PRO 4650U with Radeon Graphics (12 x 3990)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 2, 2, 2
Memory (System) 38.55GB (22.61GB free)
Process Argv
Screen Reader no
VM 0%
DESKTOP_SESSION gnome
XDG_CURRENT_DESKTOP GNOME
XDG_SESSION_DESKTOP gnome
XDG_SESSION_TYPE wayland
主要语言
TypeScript
星标
199
派生
105
平均合并
1 天 22 小时
30 天内合并 PR
27

贡献指南

打开贡献指南

从这里开始

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

microsoft/vscode-java-dependency 的其他 Issue

查看 microsoft/vscode-java-dependency 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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