microsoft / microsoft/TypeScript

New untitled files are not correctly managed by config file status bar indicator

Open
#63,817 0 comments 0 reactions 1 assignee Claimed by @DanielRosenwasser View on GitHub
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

1. Have an open `.ts` file with an associated project. The indicator should show `[.../]tsconfig.json`.
2. Create a new unsaved/untitled buffer in VS Code
3. Add some TS code into this file, or "Change Language Mode" to "TypeScript".
4. Notice that even though this is an unsaved file, the status bar will still show the old `tsconfig.json` file in the project indicator.
5. If you switch focus to another editor and switch back, you'll be left with "No tsconfig"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.