node.js code assistance adding unwanted syntax


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"


Please sign in to leave a comment.