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
{{ message }}
Repository navigation
Completions broken in module.exports object literal #43289
functionfoo(){}functionbar(){}module.exports={
foo,
b // <-- type 'a' or ctrl+space};
🙁 Actual behavior
Completions are “self-fulfilling”—you get a completion only for the partial identifier you’ve already typed so far, blocking out even VS Code’s “file identifiers” completions. See also #35709 fixing similar symptoms.
🙂 Expected behavior
You should get completions for in-scope identifiers via #41539. (In TS 4.0 and prior, you would get no completions, which was better than the current behavior, because at least VS Code would give you file identifiers.)
Activity