AutoImports for JavaScript Permanently deleted user 创建于 2016年12月13日 09:50 I can see AutoImport feature only for TypeScript files, is this feature also planned for plain JavaScript? It would be the best feature, because managing imports by hand are unnecessary and annoying.
Auto-imports in JavaScript are available on Alt+Enter - see https://youtrack.jetbrains.com/issue/WEB-22591#comment=27-1543620
Unfortunately it's not working, the ticket is open also...
works for me. Please can you elaborate on this issue?
OK, I did more testing, there are results:
1. "import item" menu key is not shown on already written code:
2. When I write not-imported variable name the import item is shown correctly.
Can't recreate... see screenshot:
Please can you provide a sample project I can use to replicate the issue?