Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outline view does not render complex Javascript objects correctly #58604

Open
murrellr opened this issue May 17, 2024 · 0 comments
Open

Outline view does not render complex Javascript objects correctly #58604

murrellr opened this issue May 17, 2024 · 0 comments
Labels
Bug A bug in TypeScript Help Wanted You can do this
Milestone

Comments

@murrellr
Copy link

Type: Bug

Create two .js files:

test1.js:
var TEST1={}

TEST1.TESTA={
    name:"test1.a",
    show:function(){

    }
}

test1b.js:
TEST1.TEST1b={
    name:"test1.b",
    show:function(){
        
    }
}

For test1.js, the Outline view shows this:

TEST1
name
show

I would expect something like this:

TEST1
TEST1.TESTA
 + name
 + show

Test1b.js has similar issues

VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-12850HX (24 x 2419)
GPU Status 2d_canvas: enabled
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
Load (avg) undefined
Memory (System) 15.67GB (5.76GB free)
Process Argv --crash-reporter-id 9627556d-631e-4542-bfc5-c239f85d7509
Screen Reader no
VM 0%
Extensions (6)
Extension Author (truncated) Version
mdoc bxa 1.4.0
gitlens eam 15.0.3
shortcut-menu-bar jer 3.0.4
hexeditor ms- 1.10.0
intellicode-api-usage-examples Vis 0.2.8
vscodeintellicode Vis 1.3.1

(3 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
tftest:31042121
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
chatpanelc:31048052
dsvsc021:30996838
bdiig495:31013172
pythoncenvptcf:31049071
a69g1124:31046351
pythonprt:31047983
dwnewjupytercf:31046870
26j00206:31048877

@jrieken jrieken assigned mjbvz and unassigned jrieken May 21, 2024
@mjbvz mjbvz transferred this issue from microsoft/vscode May 21, 2024
@mjbvz mjbvz removed their assignment May 21, 2024
@RyanCavanaugh RyanCavanaugh added Bug A bug in TypeScript Help Wanted You can do this labels Jun 6, 2024
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Help Wanted You can do this
Projects
None yet
Development

No branches or pull requests

4 participants