_From @dev-fang on November 9, 2017 18:9_ - VSCode Version: 1.18.0 - OS Version: Windows 10 Js auto import works well with `export default class className {}` doesn't work with `class className{}` `export default className` Steps to Reproduce: 1. Create a file called test1.js 2. Type in `class Test1{}` `export default className` 3. Create a file called test2.js 4. Type in new Test1, the auto import suggestion doesn't show up Reproduces without extensions: Yes _Copied from original issue: Microsoft/vscode#37974_
Activity
mhegazy commentedon Nov 10, 2017
Worth noting that with #19883 in place, if the file name is the same as the class name (
classNamein this example) it will work.DanielRosenwasser commentedon Nov 11, 2017
This also seems to be a bug with the quick fix as well.