We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c0edd3 commit 539e3a0Copy full SHA for 539e3a0
typescript/src/completions/filesAutoImport.ts
@@ -13,9 +13,8 @@ export default () => {
13
for (const [ext, item] of Object.entries(filesAutoImport)) {
14
if (currentText.startsWith(item.prefix)) included.push({ ext, item })
15
}
16
- // if (!included.length) return
+ if (included.length === 0) return
17
const root = languageServiceHost.getCurrentDirectory()
18
- // const fileRelative = nodeModules.path.relative(root, sourceFile.fileName)
19
const collected = [] as string[]
20
const MAX_ITERATIONS = 200
21
let iter = 0
0 commit comments