304fcee09b
* Move package.json related utils to utilities * Add failing test * Make first test pass * Don’t filter when there’s no package.json, fix scoped package imports * Use type acquisition as a heuristic for whether a JS project is using node core * Make same fix in getCompletionDetails * Fix re-exporting * Change JS node core module heuristic to same-file utilization * Remove unused method * Remove other unused method * Remove unused triple-slash ref * Update comment * Refactor findAlias to forEachAlias to reduce iterations * Really fix re-exporting * Use getModuleSpecifier instead of custom hack * Fix offering auto imports to paths within node modules * Rename things and make comments better * Add another reexport test * Inline `symbolHasBeenSeen` * Simplify forEachAlias to findAlias * Add note that symbols is mutated * Symbol order doesn’t matter here * Style nits * Add test with nested package.jsons * Fix and add tests for export * re-exports * Don’t fail when alias isn’t found * Make some easy optimizations * Clean up memoization when done * Remove unnecessary semicolon * Make getSymbolsFromOtherSourceFileExports pure * Cache auto imports * Revert "Cache auto imports" This reverts commit |
||
---|---|---|
.. | ||
brace01.ts | ||
completionEntryDetailAcrossFiles01.ts | ||
completionEntryDetailAcrossFiles02.ts | ||
completions01.ts | ||
completions02.ts | ||
completions03.ts | ||
configurePlugin.ts | ||
convertFunctionToEs6Class-server.ts | ||
declarationMapGoToDefinition.ts | ||
declarationMapsEnableMapping_NoInline.ts | ||
declarationMapsEnableMapping_NoInlineSources.ts | ||
declarationMapsGeneratedMapsEnableMapping.ts | ||
declarationMapsGeneratedMapsEnableMapping2.ts | ||
declarationMapsGeneratedMapsEnableMapping3.ts | ||
declarationMapsGoToDefinitionRelativeSourceRoot.ts | ||
declarationMapsGoToDefinitionSameNameDifferentDirectory.ts | ||
declarationMapsOutOfDateMapping.ts | ||
definition01.ts | ||
documentHighlights01.ts | ||
documentHighlights02.ts | ||
documentHighlightsTypeParameterInHeritageClause01.ts | ||
findAllRefsForStringLiteralTypes.ts | ||
format01.ts | ||
formatBracketInSwitchCase.ts | ||
formatOnEnter.ts | ||
formatonkey01.ts | ||
formatSpaceBetweenFunctionAndArrayIndex.ts | ||
getJavaScriptSyntacticDiagnostics01.ts | ||
getJavaScriptSyntacticDiagnostics02.ts | ||
getOutliningSpansForComments.ts | ||
getOutliningSpansForRegions.ts | ||
getOutliningSpansForRegionsNoSingleLineFolds.ts | ||
goToImplementation_inDifferentFiles.ts | ||
implementation01.ts | ||
importSuggestionsCache_ambient.ts | ||
importSuggestionsCache_coreNodeModules.ts | ||
importSuggestionsCache_moduleAugmentation.ts | ||
jsdocCallbackTag.ts | ||
jsdocCallbackTagNavigateTo.ts | ||
jsdocCallbackTagRename01.ts | ||
jsdocParamTagSpecialKeywords.ts | ||
jsdocTypedefTag.ts | ||
jsdocTypedefTag1.ts | ||
jsdocTypedefTag2.ts | ||
jsdocTypedefTagGoToDefinition.ts | ||
jsdocTypedefTagNamespace.ts | ||
jsdocTypedefTagNavigateTo.ts | ||
jsdocTypedefTagRename01.ts | ||
jsdocTypedefTagRename02.ts | ||
jsdocTypedefTagRename03.ts | ||
jsdocTypedefTagRename04.ts | ||
navbar01.ts | ||
navto01.ts | ||
ngProxy1.ts | ||
ngProxy2.ts | ||
ngProxy3.ts | ||
ngProxy4.ts | ||
occurrences01.ts | ||
occurrences02.ts | ||
openFile.ts | ||
openFileWithSyntaxKind.ts | ||
projectInfo01.ts | ||
projectInfo02.ts | ||
projectWithNonExistentFiles.ts | ||
quickinfo01.ts | ||
references01.ts | ||
referencesInConfiguredProject.ts | ||
rename01.ts | ||
renameInConfiguredProject.ts | ||
signatureHelp01.ts | ||
tsxIncrementalServer.ts | ||
typedefinition01.ts | ||
typeReferenceOnServer.ts |