node.js code assistance adding unwanted syntax

Hi, 

Im new to WebStorm and have just been using Atom throughout school.

I turned on code assistance for node.js and npm. Now when I go to make a require statement it adds an uneditable 'id:' before the module. 

Original Code:

const fs = require('fs');

After enabled code assistance:

const fs = require(id: 'fs');

 

Any way to prevent the addition of unwanted syntax?

It won't allow me to delete the 'id:' section...

1 comment
Comment actions Permalink

Hi there,

It's called Parameter Name Hints and can be disabled at "Settings/Preferences | Editor | Appearance --> Show parameter names hints"

https://stackoverflow.com/a/41743975/783119

1

Please sign in to leave a comment.