These two files add intellisense to your RPGMakerMV code base when working with plugins, the base code, etc in Visual Studio Code. You can see every class available in the code base and the methods attached to them. Furthermore, you can even see the outputs of methods.
Note: For those who use Sublime Text & Atom there is a way.
- PIXI.js documentation (version 4.5)
- MV Scenes
- MV Game Objects
- MV Windows
- MV Sprites
- MV Managers
- MV Globals
Instructions – VS Code
- Download both files; keep the file names.
- Place the jsconfig.json and the rmmv.d.ts or rmmv-pixi.d.t.s file in your game’s js/ directory (You will need to copy over both files for new projects).
- Make sure you open your RPGMakerMV project as a folder (Right click -> Open with Code)
- Reload Visual Studio Code
- Enjoy The Intellisense!
Instructions – Sublime Text
- Download the Typescript plugin for Sublime via Package Manager.
- Place the jsconfig.json and the rmmv.d.ts file or rmmv-pixi.d.t.s in your game’s js/plugins directory (if you create plugins in that folder); if you use a different folder, place the rmmv.d.ts file in that folder.
Instructions – Atom
- Download the Typescript plugin in Atom via the Package Manager.
- Place the rmmv.d.ts file in your js/plugins directory (if you create plugins in that folder); if you use a different folder, place the rmmv.d.ts file in that folder.
- When you’re done editing your plugin, simply save it as a .js
Visual Indication VS Code
I hope this helps all of you coders out there! I’m sure this will be a great improvement to your productivity!