Example in Dreamweaver CS6:
<script src="libs/Three.js"></script>
<script>
var scene = null,
function init(){
scene = new THREE.Scene();
scene. //a few code hints show up, not all
scene.rotatation.x += 0.01; //this one exists, but code hints doesn't find it
}
function move(){
scene. //no code hints show up
}
</script>
So my questions are:
in move(), the reason code hints doesn't show up is probably because they haven't been initalized in init() yet. Is there a way to make them show up in move()?
Why doesn't the code hints show scene.rotation? How do I make it show all variables/methods?
This is not just a problem for Dreamweaver, it's the same in other web builders I've tried.
This is what I mean by code hints if you're wondering: https://i.stack.imgur.com/soCYo.jpg