Andrew Branch
086e00de91
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 >
2020-06-22 16:34:27 -07:00
..
2020-06-22 16:34:27 -07:00
2020-03-13 10:52:27 -07:00
2020-03-13 10:52:27 -07:00
2020-02-25 16:11:21 -08:00
2020-02-25 16:11:21 -08:00
2020-06-10 11:56:03 -07:00
2020-03-07 10:23:07 -08:00
2020-03-13 10:33:56 -07:00
2020-05-06 15:10:02 -07:00
2020-05-06 15:10:02 -07:00
2020-04-02 10:06:14 -07:00
2020-04-02 10:06:14 -07:00
2020-06-16 16:55:03 -07:00
2020-06-16 16:55:03 -07:00
2020-04-02 10:06:14 -07:00
2020-04-02 10:06:14 -07:00
2020-04-02 10:06:14 -07:00
2020-04-02 10:06:14 -07:00
2020-04-01 19:50:21 -07:00
2020-03-19 13:13:15 -08:00
2020-03-19 13:13:15 -08:00
2020-03-19 13:13:15 -08:00
2020-04-02 10:06:14 -07:00
2020-04-02 10:06:14 -07:00
2020-04-02 10:06:14 -07:00
2020-04-02 10:06:14 -07:00
2020-04-02 10:06:14 -07:00
2020-04-02 10:06:14 -07:00
2020-04-28 10:44:36 +03:00
2020-04-28 10:44:36 +03:00
2020-04-28 10:44:36 +03:00
2020-04-28 10:44:36 +03:00
2020-04-02 10:06:14 -07:00
2020-04-28 10:44:36 +03:00
2020-06-03 12:59:16 -04:00
2020-04-02 10:06:14 -07:00
2020-04-02 10:06:14 -07:00
2020-04-02 10:06:14 -07:00
2020-04-02 10:06:14 -07:00
2020-04-28 10:44:36 +03:00
2020-04-02 10:06:14 -07:00
2020-04-28 10:44:36 +03:00
2020-04-28 10:44:36 +03:00
2020-04-28 10:44:36 +03:00
2020-04-28 10:44:36 +03:00
2020-04-02 10:06:14 -07:00
2020-04-28 10:44:36 +03:00
2020-04-02 10:06:14 -07:00
2020-06-16 16:55:03 -07:00
2020-04-02 10:06:14 -07:00
2020-04-28 10:44:36 +03:00
2020-04-02 10:06:14 -07:00
2020-04-21 11:02:56 -07:00
2020-04-21 11:02:56 -07:00
2020-03-12 14:55:02 -07:00
2020-03-12 14:55:02 -07:00
2020-03-12 14:55:02 -07:00
2020-03-17 13:00:14 -07:00
2020-03-17 13:00:14 -07:00
2020-03-17 13:00:14 -07:00
2020-03-17 13:00:14 -07:00
2020-03-17 13:00:14 -07:00
2020-03-17 13:00:14 -07:00
2020-03-17 13:00:14 -07:00
2020-03-17 13:00:14 -07:00
2020-03-17 13:00:14 -07:00
2020-05-19 15:54:02 -07:00
2020-05-19 15:54:02 -07:00
2020-04-22 11:28:11 -07:00
2020-04-22 11:28:11 -07:00
2020-04-22 11:28:11 -07:00
2020-04-22 11:28:11 -07:00
2020-03-18 09:54:17 -07:00
2020-03-18 09:54:17 -07:00
2020-03-18 09:54:17 -07:00
2020-03-18 09:54:17 -07:00
2020-03-18 09:54:17 -07:00
2020-03-18 09:54:17 -07:00
2020-03-18 09:54:17 -07:00
2020-03-18 09:54:17 -07:00
2020-03-18 09:54:17 -07:00
2020-03-18 09:54:17 -07:00
2020-03-13 13:38:44 -07:00
2020-03-13 13:38:44 -07:00
2020-03-13 13:38:44 -07:00
2020-03-13 13:38:44 -07:00
2020-03-13 13:38:44 -07:00
2020-03-13 13:38:44 -07:00
2020-03-13 13:38:44 -07:00
2020-03-13 13:38:44 -07:00
2020-03-13 13:38:44 -07:00
2020-03-13 13:38:44 -07:00
2020-03-13 13:38:44 -07:00
2020-04-09 11:24:54 -07:00
2020-05-22 09:06:05 -07:00
2020-04-09 16:43:31 -07:00
2020-04-09 11:24:54 -07:00
2020-06-18 13:58:42 -07:00
2020-06-02 11:23:56 +03:00
2020-06-02 11:23:56 +03:00
2020-06-02 11:23:56 +03:00
2020-06-02 11:23:56 +03:00
2020-06-02 11:23:56 +03:00
2020-06-02 11:23:56 +03:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 13:18:52 -04:00
2020-05-04 19:32:27 -07:00
2020-05-04 13:18:52 -04:00
2020-03-03 10:58:29 -08:00
2020-04-13 10:23:12 -07:00
2020-05-06 15:10:02 -07:00
2020-04-13 10:23:12 -07:00
2020-04-13 10:23:12 -07:00
2020-04-13 10:23:12 -07:00
2020-05-06 15:10:02 -07:00
2020-05-06 15:10:02 -07:00
2020-04-17 13:18:05 -07:00
2020-04-17 13:18:05 -07:00
2020-06-01 12:22:44 -07:00
2020-06-01 12:22:44 -07:00
2020-05-06 15:05:31 -07:00
2020-03-13 14:30:53 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 19:50:21 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-05-20 10:17:20 +03:00
2020-05-20 10:17:20 +03:00
2020-04-01 17:58:16 -07:00
2020-04-10 12:36:26 -04:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-04-22 12:07:36 -04:00
2020-04-22 12:07:36 -04:00
2020-04-01 17:58:16 -07:00
2020-03-25 15:27:47 -07:00
2020-04-01 17:58:16 -07:00
2020-04-24 13:50:34 -07:00
2020-05-19 15:54:02 -07:00
2020-02-28 14:34:20 -08:00
2020-06-22 16:34:27 -07:00
2020-02-28 14:34:20 -08:00
2020-02-28 14:34:20 -08:00
2020-04-24 13:49:48 -07:00
2020-03-25 15:27:47 -07:00
2020-03-27 10:47:02 -07:00
2020-03-27 10:47:02 -07:00
2020-03-27 10:47:02 -07:00
2020-03-23 17:08:44 -04:00
2020-04-01 17:58:16 -07:00
2020-03-31 12:40:57 -07:00
2020-04-01 17:58:16 -07:00
2020-05-22 15:11:39 +03:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-03-31 12:40:57 -07:00
2020-03-31 12:40:57 -07:00
2020-03-31 12:40:57 -07:00
2020-04-01 17:58:16 -07:00
2020-06-18 17:41:26 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-04-01 17:58:16 -07:00
2020-05-19 15:54:02 -07:00
2020-04-30 11:06:46 -07:00
2020-04-30 11:06:46 -07:00
2020-04-30 11:06:46 -07:00
2020-04-30 11:06:46 -07:00
2020-04-30 11:06:46 -07:00
2020-04-20 11:15:12 -07:00
2020-06-03 12:59:16 -04:00
2020-02-27 12:45:28 -08:00
2020-03-04 14:52:33 -05:00
2020-03-04 14:52:33 -05:00
2020-05-19 14:29:49 -07:00
2020-03-19 09:46:00 -07:00
2020-05-04 12:37:04 -07:00
2020-05-04 12:37:04 -07:00
2020-05-04 12:37:04 -07:00
2020-05-04 12:37:04 -07:00
2020-05-04 12:37:04 -07:00
2020-05-04 12:37:04 -07:00
2020-05-11 12:25:25 -07:00
2020-05-11 12:25:25 -07:00
2020-06-01 10:27:11 -07:00
2020-06-01 10:27:11 -07:00
2020-05-29 12:55:43 -07:00
2020-02-25 16:11:21 -08:00
2020-04-02 11:30:05 -04:00
2020-04-02 11:30:05 -04:00
2020-03-13 13:42:49 -07:00
2020-06-01 10:30:52 -07:00
2020-03-13 13:42:49 -07:00
2020-06-01 10:30:52 -07:00
2020-03-12 16:35:35 -04:00
2020-06-22 16:34:27 -07:00
2020-06-18 08:31:30 -07:00
2020-04-01 17:58:16 -07:00
2020-05-05 09:29:24 -07:00
2020-05-18 15:26:46 +03:00
2020-04-21 12:57:52 +03:00
2020-05-18 15:26:46 +03:00
2020-05-05 09:48:33 -07:00
2020-04-22 11:51:36 -04:00
2020-03-13 10:52:27 -07:00
2020-05-15 18:55:57 -04:00
2020-05-15 18:55:57 -04:00
2020-05-15 18:55:57 -04:00
2020-05-15 18:55:57 -04:00
2020-05-15 18:55:57 -04:00
2020-04-02 09:57:48 -07:00
2020-02-27 14:55:49 -08:00
2020-02-28 14:34:20 -08:00
2020-03-25 16:27:02 -07:00
2020-03-16 11:15:39 -07:00
2020-03-16 11:15:39 -07:00
2020-02-28 14:34:20 -08:00
2020-04-23 11:59:38 -07:00
2020-02-28 14:34:20 -08:00
2020-02-28 14:34:20 -08:00
2020-04-23 11:59:38 -07:00
2020-02-28 14:34:20 -08:00
2020-02-28 14:34:20 -08:00
2020-02-28 14:34:20 -08:00
2020-02-28 14:34:20 -08:00
2020-02-28 14:34:20 -08:00
2020-02-28 14:34:20 -08:00
2020-02-28 14:34:20 -08:00
2020-06-18 23:43:18 -07:00
2020-06-18 23:43:18 -07:00
2020-06-18 17:41:26 -07:00
2020-03-19 09:46:00 -07:00
2020-04-15 11:42:29 -07:00
2020-04-15 11:42:29 -07:00
2020-04-15 11:42:29 -07:00
2020-04-15 11:42:29 -07:00
2020-02-28 14:34:20 -08:00
2020-05-07 11:46:36 -04:00
2020-05-07 11:46:36 -04:00
2020-05-19 15:54:02 -07:00
2020-05-08 17:34:41 +08:00
2020-05-12 07:26:31 -07:00
2020-05-12 07:26:31 -07:00
2020-05-19 13:14:32 -07:00
2020-05-21 08:07:47 -07:00
2020-03-13 10:52:27 -07:00
2020-05-26 19:16:44 +03:00
2020-05-06 15:05:31 -07:00
2020-04-01 19:50:21 -07:00
2020-06-04 13:50:33 -04:00
2020-05-11 21:36:43 +00:00
2020-04-15 11:06:04 -07:00
2020-04-15 11:06:04 -07:00
2020-04-15 11:06:04 -07:00
2020-04-15 11:06:04 -07:00
2020-04-15 11:06:04 -07:00
2020-06-02 19:06:12 -07:00
2020-06-02 19:06:12 -07:00
2020-05-29 13:03:14 -07:00
2020-05-29 13:02:52 -07:00
2020-06-02 19:06:12 -07:00
2020-06-02 19:06:12 -07:00
2020-04-09 09:40:28 -07:00
2020-03-19 09:46:00 -07:00
2020-03-19 09:46:00 -07:00
2020-05-13 13:28:32 -07:00
2020-05-13 13:28:32 -07:00
2020-04-07 16:59:54 -07:00
2020-05-29 13:03:14 -07:00
2020-06-02 19:06:12 -07:00
2020-06-02 19:06:12 -07:00
2020-05-19 15:54:02 -07:00
2020-05-19 15:54:02 -07:00
2020-05-19 15:54:02 -07:00
2020-05-19 15:54:02 -07:00
2020-05-19 15:54:02 -07:00
2020-05-19 15:54:02 -07:00
2020-05-19 15:54:02 -07:00
2020-05-19 15:54:02 -07:00
2020-04-02 09:06:19 -07:00
2020-06-01 11:45:05 -07:00
2020-06-01 11:45:05 -07:00
2020-06-01 11:45:05 -07:00
2020-05-19 15:54:02 -07:00
2020-05-19 15:54:02 -07:00
2020-05-04 14:47:39 -07:00
2020-03-19 09:46:00 -07:00
2020-03-19 09:46:00 -07:00
2020-03-19 09:46:00 -07:00
2020-03-19 09:46:00 -07:00
2020-03-19 09:46:00 -07:00
2020-03-19 09:46:00 -07:00
2020-03-19 09:46:00 -07:00
2020-04-21 15:34:30 -07:00
2020-03-31 10:18:06 -07:00
2020-03-31 10:18:06 -07:00
2020-03-31 10:18:06 -07:00
2020-03-31 10:18:06 -07:00
2020-02-27 13:18:43 -08:00
2020-02-27 13:18:43 -08:00
2020-03-31 10:18:06 -07:00
2020-03-31 10:18:06 -07:00