Skip to content

Make AutoImportProvider look in ATA cache #48329

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

Merged
merged 2 commits into from
Mar 22, 2022

Conversation

andrewbranch
Copy link
Member

Fixes #48165

@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Mar 18, 2022
@andrewbranch andrewbranch requested a review from sandersn March 18, 2022 22:34
@@ -994,7 +994,7 @@ namespace Harness.LanguageService {
cancellationToken: ts.server.nullCancellationToken,
useSingleInferredProject: false,
useInferredProjectPerProjectRoot: false,
typingsInstaller: undefined!, // TODO: GH#18217
typingsInstaller: { ...ts.server.nullTypingsInstaller, globalTypingsCacheLocation: "/Library/Caches/typescript" },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey! I don't have a folder named /Library/Caches/typescript on my box! But I do have ~/.cache/typescript.

(Actually I checked on my mac system and also don't have /Library/Caches/typescript. Is that because I've never run ATA on it?)

Edit: Oh, does this just have to match the files in the tests, not match real files on disk?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this is just for virtual test files

@andrewbranch andrewbranch merged commit 5bc8179 into microsoft:main Mar 22, 2022
@andrewbranch andrewbranch deleted the bug/48165 branch March 22, 2022 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No more intellisense for react and react-native
3 participants