Auto import in WebStorm/PHPStorm?

Hey guys,
just wondering in anyone of you is using WebStorm/PHPStorm and able to get auto imports when using a class which should be imported.

In my case, I have something like this in imports/test.js:

export class Test {

    hello() {

    }
}

Then I’m trying to use this class within server/main.js;

new Test.hello();

I’m getting an auto suggestion for the method “hello”, but no auto import suggestion. Is there any config that I need to change?