Closed
Description
I’m not sure what the best way is to fix this, but: auto-importing is incredibly helpful. Alas, it only works for named exports. However, imports such as the following are frequent in Node.js and there, you get no help:
import * as path from 'path';
Possible solution: offer an auto-import if:
- there is an unknown
foo
followed by a dot and foo
is the base name of a module.