Webstorm is pretty smart when providing auto completion for node.js modules.
unfortunatelly for some reason if the required module is a json file i.e
var settings = require('./settings.json);
it does require it and build an object with the data but, no autocomplete is provided in the editor.
Anyone have any solutions for that?
Thanks.
Copyright Notice:Content Author:「Dimkin」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/20976703/webstorm-autocomplete-for-require-json