IDE autocomplete when developing electronic applications

I have

. . . "scripts": { "start": "electron main.js" }, "devDependencies": { "electron-prebuilt": "^0.35.0" } 

in package.json my electronic application. I am using Intellij Idea with the node.js plugin installed.

main.js :

 var BrowserWindow = require('browser-window'); 

The Intellij Idea IDE emphasizes require('browser-window') and displays a warning Module is not installed and does not provide autocomplete for BrowserWindow.

+5
source share

Source: https://habr.com/ru/post/1236973/


All Articles