简体   繁体   中英

How to run Node.js files in eclipse?

I successfully installed the plugin for node.js on eclipse Kepler , but when I write JavaScript code in a node project and then run it, it looks like nothing happens. I have also downloaded node.js of the nodejs.org website, and I have been able to run files that I have created in notepad and then ran on the command prompt fine. Now I want to run everything in an editor and because I have used eclipse before I thought I would use it again. I wish I could be more descriptive but thanks in advance for any help.

You can directly press ctrl+F11 shortcut or you can run from toolbar and see results in cosole. You can also browse to the path from your browser to see things printed to browser.

PS - Also select Window -> Open Perspective -> Node

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM