简体   繁体   中英

How to export Node.js and express Project in eclipse

我有一些使用Express Framework的Node.js项目正在迁移到Node eclipse,因此我必须导入一些项目以使其日食。请问有人可以建议如何将Express项目导入到Node Eclipse吗?

To import Node.js project into Eclipse Since Nodeclipse 0.3.1 use File -> New Node Project and specify location of your existing project. It will add just .project file. Yes, it is implemented not as would be expected.

Or just copy .project file to your existing project, change project name inside, and then File -> Import -> Existing Project into Workplace. (That however does not add settings like JSHint and JSDT configuration)

Check also built-in help or see it online https://github.com/Nodeclipse/nodeclipse-1/tree/master/org.nodeclipse.help/contents#intro

UPDATE: recommended is to run nodeclipse -p CLI tool. (Install with npm i -g nodeclipse )

Nodeclipse just adds IDE support for node js into eclipse. Since node js and express files are just javascript files that can be open in any text editor there is no migration. You just open the node js project in eclipse that's it.

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