-
Notifications
You must be signed in to change notification settings - Fork 13k
Open
Labels
Help WantedYou can do thisYou can do thisPossible ImprovementThe current behavior isn't wrong, but it's possible to see that it might be better in some casesThe current behavior isn't wrong, but it's possible to see that it might be better in some cases
Milestone
Description
Type: Bug
- Clone this repo
pnpm install
- Go to
packages/importer/index.js
- Add a new import:
import {} from "imported/
Expected result
Both foo
and baz
should be suggested.
Actual result
The only suggestion is foo
:

Also, if you write import {} from "imported/foo/
you won't get any suggestion:

Extra info
I believe this happens because the missing suggestions are nested export paths. From packages/imported/package.json
:
"exports": {
"./foo": "./foo.js",
"./foo/bar": "./foo/bar.js",
"./baz/qux": "./baz/qux.js"
}
VS Code version: Code - Insiders 1.104.0-insider (f220831ea2d946c0dcb0f3eaa480eb435a2c1260, 2025-09-09T22:13:39.933Z)
OS version: Linux x64 6.14.0-29-generic
Modes:
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) Ultra 9 185H (22 x 4513) |
GPU Status | 2d_canvas: enabled 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 trees_in_viz: disabled_off video_decode: enabled video_encode: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off webnn: disabled_off |
Load (avg) | 1, 1, 1 |
Memory (System) | 30.80GB (22.95GB free) |
Process Argv | . --crash-reporter-id 61003d60-dc17-4377-b4f3-5755f0697245 |
Screen Reader | no |
VM | 0% |
DESKTOP_SESSION | cinnamon |
XDG_CURRENT_DESKTOP | X-Cinnamon |
XDG_SESSION_DESKTOP | cinnamon |
XDG_SESSION_TYPE | x11 |
A/B Experiments
vsliv368cf:30146710
pythonvspyt551:31249597
nativeloc1:31118317
dwcopilot:31158714
dwoutputs:31242946
copilot_t_ci:31333650
g012b348:31231168
6gi0g917:31259950
996jf627:31264550
pythonrdcb7:31268811
usemplatestapi:31297334
6518g693:31302842
0g1h6703:31329154
agentisdefault:31374427
4f60g487:31327383
6abeh943:31336334
envsactivate1:31349248
0927b901:31340060
ovs_c:31383294
editstats-enabled:31346256
aa_t:31379596
cloudbuttont:31366566
aihoversummaries_t:31371858
ghonly:31384271
todos-1:31366868
v2-prompt:31370220
multireplacestring:31382717
nb255704_tf:31377673
3efgi100_wstrepl:31382709
metis-embeddings:31382293
nes-rel-path-0:31383037
trigger-command-fix:31379601
Metadata
Metadata
Assignees
Labels
Help WantedYou can do thisYou can do thisPossible ImprovementThe current behavior isn't wrong, but it's possible to see that it might be better in some casesThe current behavior isn't wrong, but it's possible to see that it might be better in some cases