You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create file2 which includes file1 and calls the instance method
Let extension load the symbols
Expected
When hitting F12 or using the context menu Go to Definition the extension should take you to the method definition
Result
This works in certain circumstances but not others.
If file1 contains a call to the method AND the extension loaded the symbols things work as expected.
The key point here is that file1 MUST contain a call to the method (not only the definition, seems like)
If any of those conditions are not met, the extension does not jump to the definition when using F12 or the context menu.
Here is a video that shows a simple situation.
Screen.Recording.2024-10-02.110730.mp4
Extension version: 2.5.3
VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Type: Bug
file1
with a class and an instance methodfile2
which includesfile1
and calls the instance methodExpected
When hitting
F12
or using the context menuGo to Definition
the extension should take you to the method definitionResult
This works in certain circumstances but not others.
If
file1
contains a call to the method AND the extension loaded the symbols things work as expected.The key point here is that
file1
MUST contain a call to the method (not only the definition, seems like)If any of those conditions are not met, the extension does not jump to the definition when using
F12
or the context menu.Here is a video that shows a simple situation.
Screen.Recording.2024-10-02.110730.mp4
Extension version: 2.5.3
VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
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: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: