CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 23:36:49 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/microsoft/TypeScript.git
etag: W/"e9d955dab1eecc563e6fa053524da4fc"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=lpahWVpHfJwiyz4TnaD%2FiZrjK%2FxnStrczQHojIyMzPyaSj%2B4JE24vTuoX9RCGrny8KNAnHAxa49cR%2BZtSO2D%2B9yiAFfd9EdOFTkjiwd2urTV7cy%2FMJdxvwqCuzDoUofGUoi4%2FpZI6xbYwbl1AMGfqJShAAi5raiUqW5G2kVAOljbuGbWBy0E1Xspii%2Fauy81HXnoDHGQRvR3LKhR1c%2BwenZ10gIyc7Da8lzhaxX1SFBp%2B12B7CD%2FHekE2YPI1Ka4PCGOdGRRFllxWxfDMvz03Q%3D%3D--%2F2VYkX2HMGYo5et7--mvKXOFXHZWJV9%2FZDDw2wBw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2029843603.1753227408; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:36:48 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:36:48 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: ABB0:35B563:1C4E29:270BC9:68802090
Expand auto-import to all package.json dependencies (#38923) · microsoft/TypeScript@086e00d · GitHub
Copy file name to clipboardExpand all lines: src/compiler/commandLineParser.ts
Copy file name to clipboardExpand all lines: src/compiler/tsbuildPublic.ts
Copy file name to clipboardExpand all lines: src/compiler/watchPublic.ts
Copy file name to clipboardExpand all lines: src/harness/fourslashImpl.ts
Copy file name to clipboardExpand all lines: src/harness/fourslashInterfaceImpl.ts
Copy file name to clipboardExpand all lines: src/harness/harnessLanguageService.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 086e00d
Expand auto-import to all package.json dependencies (#38923)
* Start experiment
* Add logging
* Go back to a single program
* Fix forEachExternalModuleToImportFrom
* Move auxiliary program to language service
* Add logging
* Don’t use resolution cache
* Fix(?) containingProjects for ScriptInfo in auxiliary program
* Fix ScriptInfo project inclusion
* Add test for default project of auto-importable ScriptInfo
* Add fourslash server test
* Don’t create auto import provider inside node_modules
* Add monorepo-like test
* WIP
* Naively ensure autoImportProvider is up to date after package.json change
* Start limiting when auto update provider gets updated
* Respond to changes in node_modules
* Don’t create auto-import provider until a file is open that would use it
e.g., don’t create them during cross-project find-all-refs
* Clean up naming, @internal marking, and fix empty project creation bug
* Drop devDependencies, include peerDependencies
* Add additional compiler options
* Fix interaction with importSuggestionsCache
* Move option to UserPreferences, allow inclusion of devDependencies
* Don’t filter out peerDependencies
* Watch unparseable package.jsons
* But don’t filter packages out due to an invalid package.json
* Update test
* Don’t use autoImportProvider in codefixes where it can never be used (or any refactors)
* Add CompletionEntry property for telemetry
* Add assertion for isPackageJsonImport to fourslash
* Fix missing pushSymbol argument
* Add isPackageJsonImport to tests and API baselines
* Fix unit test
* Host auto import provider in new Project kind
* Fix InferredProject attaching on AutoImportProvider-included files, load eagerly
* Update Public APIs
* Simplify PackageJsonCache host
* Remove unneeded markAsDirty
* Defer project finished event until after AutoImportProvider is created
* Make AutoImportProviderProject always report isOrphan = true
* Close and remove AutoImportProviderProject when host project closes
* Don’t set pendingEnsureProjectForOpenFiles
* Use hasAddedOrRemovedFiles instead of hasNewProgram
* Use host-wide watchOptions for package.json watching
* Add to `printProjects`
* Clean up
* Get autoImportProvider directly from LanguageServiceHost
* Clean up
* Clean up
* Close auto import provider on disableLanguageService
* Move AutoImportProvider preload to project updateGraph
* Clear auto import suggestion cache when provider program changes
* Fix tests
* Revert yet-unneeded change
* Use projectService host for module resolution host
* Don’t re-resolve type directives if nothing has changed
* Update src/server/project.ts
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
* Use ts.emptyArray
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>1 parent d76e85d commit 086e00dCopy full SHA for 086e00d
File tree
Expand file treeCollapse file tree
36 files changed
+1101
-222
lines changedFilter options
- src
- compiler
- harness
- server
- services
- codefixes
- testRunner
- unittests
- services/extract
- tsserver
- tests
- baselines/reference/api
- cases/fourslash
- server
Expand file treeCollapse file tree
36 files changed
+1101
-222
lines changedsrc/compiler/commandLineParser.ts
Copy file name to clipboardExpand all lines: src/compiler/commandLineParser.ts+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2361 | 2361 |
| |
2362 | 2362 |
| |
2363 | 2363 |
| |
2364 |
| - | |
| 2364 | + | |
2365 | 2365 |
| |
2366 | 2366 |
| |
2367 | 2367 |
| |
| |||
2413 | 2413 |
| |
2414 | 2414 |
| |
2415 | 2415 |
| |
2416 |
| - | |
| 2416 | + | |
2417 | 2417 |
| |
2418 | 2418 |
| |
2419 | 2419 |
| |
|
src/compiler/tsbuildPublic.ts
Copy file name to clipboardExpand all lines: src/compiler/tsbuildPublic.ts+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1187 | 1187 |
| |
1188 | 1188 |
| |
1189 | 1189 |
| |
1190 |
| - | |
| 1190 | + | |
1191 | 1191 |
| |
1192 | 1192 |
| |
1193 | 1193 |
| |
| |||
1371 | 1371 |
| |
1372 | 1372 |
| |
1373 | 1373 |
| |
1374 |
| - | |
| 1374 | + | |
1375 | 1375 |
| |
1376 | 1376 |
| |
1377 | 1377 |
| |
|
+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8024 | 8024 |
| |
8025 | 8025 |
| |
8026 | 8026 |
| |
| 8027 | + | |
8027 | 8028 |
| |
8028 | 8029 |
| |
8029 | 8030 |
| |
|
src/compiler/watchPublic.ts
Copy file name to clipboardExpand all lines: src/compiler/watchPublic.ts+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
671 | 671 |
| |
672 | 672 |
| |
673 | 673 |
| |
674 |
| - | |
| 674 | + | |
675 | 675 |
| |
676 | 676 |
| |
677 | 677 |
| |
|
+12-1Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
134 | 141 |
| |
135 | 142 |
| |
136 | 143 |
| |
| |||
791 | 798 |
| |
792 | 799 |
| |
793 | 800 |
| |
794 |
| - | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
795 | 806 |
| |
796 | 807 |
| |
797 | 808 |
| |
|
src/harness/fourslashImpl.ts
Copy file name to clipboardExpand all lines: src/harness/fourslashImpl.ts+25-28Lines changed: 25 additions & 28 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
871 | 871 |
| |
872 | 872 |
| |
873 | 873 |
| |
874 |
| - | |
875 |
| - | |
876 |
| - | |
| 874 | + | |
877 | 875 |
| |
878 |
| - | |
879 |
| - | |
| 876 | + | |
| 877 | + | |
880 | 878 |
| |
881 |
| - | |
| 879 | + | |
882 | 880 |
| |
883 | 881 |
| |
884 | 882 |
| |
885 | 883 |
| |
886 | 884 |
| |
887 | 885 |
| |
888 | 886 |
| |
889 |
| - | |
890 |
| - | |
891 |
| - | |
892 |
| - | |
893 |
| - | |
894 |
| - | |
895 |
| - | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
896 | 890 |
| |
897 |
| - | |
898 |
| - | |
899 |
| - | |
900 |
| - | |
901 |
| - | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
902 | 896 |
| |
903 | 897 |
| |
904 |
| - | |
905 |
| - | |
906 |
| - | |
907 |
| - | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
908 | 902 |
| |
909 |
| - | |
| 903 | + | |
910 | 904 |
| |
911 |
| - | |
912 |
| - | |
| 905 | + | |
| 906 | + | |
913 | 907 |
| |
914 | 908 |
| |
915 | 909 |
| |
916 |
| - | |
917 |
| - | |
| 910 | + | |
| 911 | + | |
918 | 912 |
| |
919 | 913 |
| |
920 |
| - | |
| 914 | + | |
921 | 915 |
| |
922 | 916 |
| |
923 | 917 |
| |
| |||
2122 | 2116 |
| |
2123 | 2117 |
| |
2124 | 2118 |
| |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
2125 | 2122 |
| |
2126 | 2123 |
| |
2127 | 2124 |
| |
|
src/harness/fourslashInterfaceImpl.ts
Copy file name to clipboardExpand all lines: src/harness/fourslashInterfaceImpl.ts+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
731 | 731 |
| |
732 | 732 |
| |
733 | 733 |
| |
734 |
| - | |
| 734 | + | |
735 | 735 |
| |
736 | 736 |
| |
737 | 737 |
| |
| |||
1495 | 1495 |
| |
1496 | 1496 |
| |
1497 | 1497 |
| |
| 1498 | + | |
1498 | 1499 |
| |
1499 | 1500 |
| |
1500 | 1501 |
| |
|
src/harness/harnessLanguageService.ts
Copy file name to clipboardExpand all lines: src/harness/harnessLanguageService.ts+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
588 | 588 |
| |
589 | 589 |
| |
590 | 590 |
| |
| 591 | + | |
| 592 | + | |
| 593 | + | |
591 | 594 |
| |
592 | 595 |
| |
593 | 596 |
| |
|
You can’t perform that action at this time.
0 commit comments