microsoft / microsoft/TypeScript
Services in unopened projects
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
Some language services, such as findAllReferences, rename, navigateTo, and getEditsForFileRename, as well as refactors like moveToNewFile (which wants to update imports from external references), work best when they know about as many files as possible.
Currently we only keep projects open if at least one file is being viewed in the editor.
When we invoke a service that might need to know about unopened projects, we might consider walking up ancestor directories to look for a base tsconfig.json that references many projects, and opening those.
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
Start with the language services named in the issue and trace how projects are currently kept open only when an editor file is viewed. Then examine ancestor-directory discovery for a base tsconfig.json and define behavior so services and refactors can use relevant unopened projects.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100