View Full Version : Can I use an IDE for WebGL development?

05-16-2011, 04:48 PM
Hello Everyone,

Currently only ever used NetBeans and Eclipse to program in Java, Javascript and JOGL.

Recently been trying to get to grips with WebGL and I am finding that I make a lot of silly mistakes (Semi-colon errors, mispellings etc.) when using notepad++ as my text editor.

Are there any better text editors or IDEs I could use to help me write code which will work. Failing that, all tips are welcome!

Thanks a lot. :)

05-17-2011, 05:45 PM
There is a javascript plugin ( http://www.eclipse.org/webtools/jsdt/ ) for eclipse that is better than notepad. It has some keyword highlighting and will help you detect improper () and {} closures. It also has some warning for missing semicolons. Put your javascript code in .js files which you can include in your html with a line like

<script type="text/javascript" src="mycode.js"></script>

Spelling errors are always a problem in javascript since it will regard them as new elements or variables instead of the variable or element you mistyped.