Active File Context is not updating reliably when files become file-based apps
Open
Feature - Run File
untriaged
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 737
- Avg merge
- 17h 56m
- Merged PRs (30d)
- 21
Description
This has been observed when adding `#:` directives when files didn't previously contain them.
The behavior is that the label stays stuck as "Miscellaneous file" and only changes to "appname (net10.0)" for example, after you close/reopen the tab.
https://github.com/dotnet/vscode-csharp/blob/6743a5a153b9d9013dba063afc4def03b93c9f51/src/lsptoolshost/projectContext/projectContextService.ts#L25
@JoeRobich do you have any suggestions on how to start investigating this? I think that the server may be failing to send some notification once the file is loaded as a file-based program.
Contributor guide
Assessment
This issue has not been assessed yet.