-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newly created files don't belong to ts-project #35794
Comments
Here's a tsserver.log for the above repo. The important bit is that
|
Just tested this in typescript: 3.8.0-dev.20191219 and it seems to work properly @jrieken Can you also please try upgrading to use |
This also happens with 3.8.0-dev.20201009 |
I don't seem to repro this... Can you get the latest tsserver log, may be it will reveal something.
|
There you go - created |
@jrieken Thank you for the log.. This seems to arise only if the file creation watcher is invoked after file is opened (because of some perf optimized code we have on how we handle new file that is open created/deleted). |
So it's some sort of race condition? In #88787 I mentioned my project was on a sshfs mount (via wifi). Could the lag from the filing system be exacerbating it? |
…get it at that time if no project is specified Fixes #35794
…get it at that time if no project is specified Fixes #35794
…get it at that time if no project is specified Fixes #35794
@sheetalkamat |
Independent of the release, you can use this extension to use an up-to-date copy of the TS tooling for VS code. ( Once the PR is merged ) |
Does |
@orta @sheetalkamat |
@BetterCallSKY The original repro is fixed. I verified it again just to make sure. You would need to create new issue with repro to be able to investigate this. |
@sheetalkamat #35794 (comment) |
You would want to create new issue in typescript repo with repro and tsserver log since the log mentioned in comment is exact repro I see as fixed. |
TS Issue template filled out by @mjbvz from original report
TypeScript Version: 3.7.3
Repo steps:
src/vs/workbench/contrib/codeActions/common/codeActions.contribution.ts
move to new file
refactoringBug
The newly created file is not part of any project
The text was updated successfully, but these errors were encountered: