Is there intellisense for Webstorm available for the Sails.js application? In all my controllers, I get a message saying that the model is undefined, although it works fine. The same applies to call services.
This structure is currently not supported - vote for http://youtrack.jetbrains.com/issue/WEB-11025 . And WebStorm does not support a way to load modules and therefore cannot provide intellisense
, , , , "modules.exports" (, ).
, UserController.js, :
var UserController = module.exports = {}
api sails .
, api .
, , "Node.js Globals", "node_modules" . node.js (, ejs ..).
, !
Source: https://habr.com/ru/post/1531749/More articles:How to set authorization at the view level in Vaadin - javahow can I find out if the git submodule has new commits - gitChrome VM files duplicate javascript - javascriptAndroid Drag and Expand View - androidHorizontal ListView with animation in android - javaObject symbols override library symbols? - cUsing DATE_ADD with column name as interval value - sqlКомпилировать проекты библиотеки С#, требующие bindingRedirect - c#IBM Worklight - How to disable direct updates? - ibm-mobilefirstКак получить доступ к записи базы данных в строке с помощью Scala Slick - sqlAll Articles