Extension Version
0.20260408.1
VS Code Version
1.116.0-insider (fc6d18c3174aa8962d90435aba5b51ef6c300b9a)
Operating system Version
Windows 11
Steps to reproduce
// @Filename: /mod.ts
const value = 1;
export { value as function }
// @Filename: /index.ts
function/**/
For example, Zod (https://zod.dev/api#functions) and Valibot (https://valibot.dev/api/function/) both have exports named function
Issue
Only the function auto import from './mod.ts' shows in code suggestion, causing difficulties in writing code normally.
Other global keywords including class and const are also affected (if exports with the name exist).
Ideally there should be two code suggestion items?
Extension Version
0.20260408.1
VS Code Version
1.116.0-insider (fc6d18c3174aa8962d90435aba5b51ef6c300b9a)
Operating system Version
Windows 11
Steps to reproduce
For example, Zod (https://zod.dev/api#functions) and Valibot (https://valibot.dev/api/function/) both have exports named
functionIssue
Only the
functionauto import from'./mod.ts'shows in code suggestion, causing difficulties in writing code normally.Other global keywords including
classandconstare also affected (if exports with the name exist).Ideally there should be two code suggestion items?