Main /
JSEclipseEclipse includes a JavaScript facility. Version of EclipseAs of February 2016, I was able to install the JavaScript Development Tools, which allowed me to view .js files However, the Problems window showed errors with the org/terraswarm/accessor/accessors/web/vendors directory that I was not able to exclude. To install the JavaScript Development Tools:
Ptolemy IITo set up Ptolemy II, see http://chess.eecs.berkeley.edu/ptexternal/nightly/doc/eclipse/index.htm Note that if you are using TerraSwarm Accessors, you will need read access to the TerraSwarm accessor svn repo (available only to members of TerraSwarm universities and companies). In addition, you probably want to run In Eclipse, use Window -> Open Perspective -> JavaScript to edit JavaScript files. Excluding JavaScript DirectoriesEclipse will warn about JavaScript problems in JavaScript files that are provided by third party libraries. It turns out that JavaScript has a separate build path!
**/apps/ **/codeDoc/ **/jsdoc/ **/vendors/ adm/ ptolemy/vergil/basic/export/html/javascript RobotChase/ Unfortunately, these are saved in
<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry excluding="**/apps/|**/codeDoc/|**/jsdoc/|**/vendors/|RobotChase/|adm/|pt\ olemy/vergil/basic/export/html/javascript/" kind="src" path=""/> <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/> <classpathentry kind="output" path=""/> </classpath> Eclipse Cleanup for JavaScriptThe JavaScript Editor has a clean up facility. To set up cleanup for the workspace under Mac OS X:
Eclipse Formatter for JavaScriptThe JavaScript Editor has a formatter facility To set up the formatter for the workspace under Mac OS X:
|