Costas Vrahimis
Costas Vrahimis

Reputation: 539

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.

Upvotes: 1

Views: 4153

Answers (1)

Mark Evans
Mark Evans

Reputation: 964

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

Upvotes: 1

Related Questions