cloakedninjas Posted September 9, 2018 Share Posted September 9, 2018 I've been giving Phaser3 a go this weekend and I'm finding it much harder to work with as I have no code completion / type hinting inside my IntelliJ editor. In Phaser 2 with Typescript I've been able to get auto complete for things like this.add. [sprite | audio | button etc...] Is anyone else having issues with this? Is code support better in VS. Link to comment Share on other sites More sharing options...
tips4design Posted September 9, 2018 Share Posted September 9, 2018 Do you also use TypeScript now? Link to comment Share on other sites More sharing options...
cloakedninjas Posted September 9, 2018 Author Share Posted September 9, 2018 Nope - but if there's no easy solution I will add Typescript to future Phaser3 projects. I have a feeling it might be related to the way Phaser is exported. As I'm not getting similar issues when I import express (for example) , I get correct type hinting Link to comment Share on other sites More sharing options...
MeMyMo Posted September 9, 2018 Share Posted September 9, 2018 It seems to work for me in VS Code? https://i.imgur.com/8mGagTo.png Link to comment Share on other sites More sharing options...
Recommended Posts