What is Phaser?
What is VS Code?
What is Intellisense?
"IntelliSense is a general term for various code editing features including: code completion, parameter info, quick info, and member lists. IntelliSense features are sometimes called by other names such as "code completion", "content assist", and "code hinting."3
How to enable Phaser Intellisense in VSCode?
We will need to make use of a TypeScript functionality to enable Intellisense.
- At the root of your project, create a file named
tsconfig.jsonwith the following content.
- At the root of your project, create a folder named
- Download and the save
phaser.d.tsfile into that folder. This file contains the definitions for Phaser.
Note: you may need to install TypeScript to your project or globally
npm install --save-dev typescript
npm install --global typescript
Other untested alternatives
The following repos seemed like good templates to use for Phaser Development. It includes many tools to improve the overall development experience.