Auto complete in netbeans 10


Is there a way to use auto complete for three.js in Netbeans 10? I am including the script via

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

but when I type e.g.

var camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);

none of the properties or methods of THREE get auto completed.
Any ideas?


I have the same problem…
Thanks for every anwer!