Suggest closest files first, when multiple imports available #62037
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
javascript
JavaScript support issues
suggest
IntelliSense, Auto Complete
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
Issue Type: Bug
HI!
I ahve a scenario!
I use Angular and I have lots of modules and each module of mine has lots of components and each one also has a file called
<ModuleName>.constants.ts
. and in every.constant.ts
file there is a an exported array calledGridConfig
.When inside componentsof my module, I type
GridCon... f... i... g...
and I get suggestions of all of theGridConfig
s available in all of the modules. That's great! But I expect that the closest one (considering path of the files) be the first one. But it isn't.Thanks!
VS Code version: Code 1.28.2 (7f3ce96, 2018-10-17T00:23:51.859Z)
OS version: Windows_NT x64 10.0.17134
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Extensions (19)
(1 theme extensions excluded)
The text was updated successfully, but these errors were encountered: