Why does automatic comment creation does not work on module class methods?

Hi,

When I try to create a comment on an class in module file (mjs), it is not created. E.g.

export default MyClass
{
init(version)
{
}
}

When I type "//*" directly before the init it is not creating any comment.

I have checked the plugins and the smart keys but they are all ok.

Any suggestions?

0
2 comments

is it about JSdoc comment creation? When I enter 

/**

in

export default class MyClass
{

init(version)
{
}
}

the comment is created for me:

export default class MyClass
{
/**
*
* @param version
*/
init(version)
{
}
}

Can you reproduce the issue in a new empty .mjs file?

0

Hi,

thanks for your comment. That is very strange. When I tested it this morning it works even with the old file.

Looks like there was something stuck in Intelliji which was corrected by a software restart.

 

0

Please sign in to leave a comment.