microsoft / microsoft/TypeScript
Object property completion doesn't show properties from other overloads
Open
Nobody has claimed this yet.
Domain: LS: Completion Lists
Experience Enhancement
Suggestion
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
TS Template added by @mjbvz
TypeScript Version: 4.3.0-dev.20210503
Search Terms
- suggest / suggestion
- Completion
Steps to Reproduce:
- open code that leverages
FileWorkingCopyManager2e.g. here - type
manager.resolve({and trigger intellisense - notice the 3 overloads, pick the second or third one
=> 🐛 try to complete on associatedResource or untitledResource but you only see contents

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue using the referenced VS Code test at src/vs/workbench/services/workingCopy/test/browser/fileWorkingCopyManager2.test.ts, then inspect TypeScript's completion handling for the manager.resolve({ call. Done means completions include associatedResource and untitledResource from the other overloads, not only contents.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100