简体   繁体   中英

Auto import and import suggestions in IntelliJ / WebStorm

I have implemented a barrel in a folder in an angular 5 typescript project.

I essentially export some classes ie. export { TooBigClassNameToWorkWith as EasierClassName } from @app/models which is in another folder completely.

After doing this, I don't get autocompleted imports nor import suggestions.

I get correct auto imports and suggestions in vscode.

So my question is: Is there something I'm missing to get better support for this?

这是一个错误,请按照WEB-31681进行更新

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM