microsoft / microsoft/nodejstools
In Open Folder scenarios, build is not offered in the context menu for TS files
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 355
- PR merge metrics
- No merged PRs in 30d
Description
In Open Folder scenarios, right-clicking on a TS file in the solution explorer (looks like it) is supposed to offer a Build action:
However, that code is never hit for TS files (though the adjacent code for tsconfig files seems to work correctly).
- NTVS Version: 2f30d528b9b8d5e912e4f48bae0d4a0e5facd911
- Visual Studio Version: 28307.280 (15.9)
- Node.js Version: 10
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 in Nodejs/Product/Nodejs/Workspace/TypeScriptActionProviderFactory.cs at the linked code near line 73, then compare the adjacent tsconfig handling that works. Reproduce the Open Folder scenario by right-clicking a TS file in Solution Explorer; done means the Build action is offered and the TypeScript action-provider code is reached.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100