VSCode RPGMakerMV Intellisense [UPDATE - Sublime & Atom Support!]

RMMVIntellisenseOut1.png

RPGMakerMV Intellisense

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.



Features
  • PIXI.js documentation (version 4.5)
  • MV Scenes
  • MV Game Objects
  • MV Windows
  • MV Sprites
  • MV Managers
  • MV Globals


Download
http://endlessillusoft.com/download/2167/

http://endlessillusoft.com/download/2169/



Instructions - VS Code
  1. Download both files; keep the file names.
  2. Place the jsconfig.json and the rmmv.d.ts file in your js/ directory.
  3. Make sure you open your RPGMakerMV project as a folder (Right click -> Open with Code)
  4. Reload Visual Studio Code
  5. Enjoy The Intellisense!
Instructions - Sublime Text
  1. Download the Typescript plugin for Sublime via Package Manager.
  2. Place the rmmv.d.ts file 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.
  3. Set your language for your JavaScript file to 'TypeScript' in the bottom right corner of Sublime.
  4. Enjoy!
Instructions - Atom
  1. Download the Typescript plugin in Atom via the Package Manager.
  2. 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.
  3. Save your JavaScript file as .ts and make sure your language type is 'Typescript' in the bottom right of Atom.
  4. Enjoy!
  5. When you're done editing your plugin, simply save it as a .js

Visual Indication - VS Code

RMMVIntellisenseOut2.png




Examples
Global Variables

RMMVIntellisenseOut4.png


Scene Classes

RMMVIntellisenseOut3.png




I hope this helps all of you coders out there! I'm sure this will be a great improvement to your productivity!

The jsconfig.json covers the plugins folder, so if you developer your plugins in a different folder relvative to the jsconfig.json you will have to edit the include section of the jsconfig.json

Original post, which will be kept updated on the website: http://endlessillusoft.com/rpgmakermv-intellisense/
Original post, which will be kept updated on the website: http://endlessillusoft.com/rpgmakermv-intellisense/
I started this, but given the colossal that required, I gave up.
Thank you I'm aware of the big work here.
I test on the spot.
😍
AND PIXI !! wow
I started this, but given the colossal that required, I gave up.
Thank you I'm aware of the big work here.
I test on the spot.
😍
AND PIXI !! wow

Haha glad I could provide it to the community. The PIXI Version is a bit higher than what MV has, but yea, it's included. The whole thing still needs documentation, but at least you now know what function and method is on each object within MV.
All work fine.
Combined with my personal snippet and keybindings , am in bizness now lol!:mrsatan:
https://code.visualstudio.com/docs/editor/userdefinedsnippets
thank a lot for your free share.
You're very welcome! I hopr everyone gets some fun out of it. If you see any missing properties or anything, send em out here and I'll be updating the ts. 😍
You're very welcome! I hopr everyone gets some fun out of it. If you see any missing properties or anything, send em out here and I'll be updating the ts. 😍
Since I work a lot with pixi and especially the pixi.text, it probably no work for style property style.
But I yesterday i adding them with automatic snippets and description..
Text Style : ts
[
PHP:
  "tsalign": { "prefix": "tsalign",
        "body": ["align:\"${1:center}\","],
        "description": "PIXI STYLE PRIMARY\n align: 'left' 'center' 'right',"
        },
        "tsdropShadow": { "prefix": "tsdropShadow",
        "body": ["dropShadow:\"${1:0}\","],
        "description": "PIXI STYLE\n dropShadow: '0:false' '1:true',"
        },
        "tsdropShadowAngle": { "prefix": "tsdropShadowAngle",
        "body": ["dropShadowAngle:\"${1:0.1}\","],
        "description": "PIXI STYLE\n dropShadowAngle: 'Math.PI / 6',"
        },
        "tsdropShadowBlur": { "prefix": "tsdropShadowBlur",
        "body": ["dropShadowBlur:\"${1:1}\","],
        "description": "PIXI STYLE\n dropShadowBlur: '0.5',"
        },
        "tsdropShadowColor": { "prefix": "tsdropShadowColor",
        "body": ["dropShadowColor:\"${1:rgba(0, 0, 0,0.5)}\","],
        "description": "PIXI STYLE\n dropShadowColor: 'rgba(0, 0, 0,0.5)' '#000000',"
        },
        "tsdropShadowDistance": { "prefix": "tsdropShadowDistance",
        "body": ["dropShadowDistance:\"${1:3}\","],
        "description": "PIXI STYLE\n dropShadowBlur: '0' 'false',"
        },
        "tsfill": { "prefix": "tsfill",
        "body": ["fill:\"${1:#000000}\","],
        "description": "PIXI STYLE\n fill: '#000000',"
        },
        "tsfillGradientType": { "prefix": "tsfillGradientType",
        "body": ["fillGradientType:\"${1:0}\", fill:['#333','#eee','white','#dbdbdb','white','#f1f1f1','#2c2c2c'],"],
        "description": "PIXI STYLE\n fillGradientType: '0:linearV' '1:linearH',"
        },
        "tsfontFamily": { "prefix": "tsfontFamily",
        "body": ["fontFamily:\"${1:Anjelik  MAIAN  Qarmic DigitalStrip}\","],
        "description": "PIXI STYLE\n fontFamily: 'Anjelik'  'MAIAN'  'Qarmic' 'DigitalStrip',"
        },
        "tsfontSize": { "prefix": "tsfontSize",
        "body": ["fontSize:\"${1:22}\","],
        "description": "PIXI STYLE\n fontSize: '34',"
        },
        "tsfontVariant": { "prefix": "tsfontVariant",
        "body": ["fontVariant:\"${1:normal|small-caps|initial|inherit}\","],
        "description": "PIXI STYLE\n fontVariant: 'normal|small-caps|initial|inherit',"
        },
        "tsfontWeight": { "prefix": "tsfontWeight",
        "body": ["fontWeight:\"${1:normal|bold|bolder|lighter|900|600|400}\","],
        "description": "PIXI STYLE\n fontWeight: 'normal|bold|bolder|lighter|900|600|400',"
        },
        "tsletterSpacing": { "prefix": "tsletterSpacing",
        "body": ["letterSpacing:\"${1:2}\","],
        "description": "PIXI STYLE\n letterSpacing: '4',"
        },
        "tslineHeight": { "prefix": "tslineHeight",
        "body": ["lineHeight:\"${1:-5}\","],
        "description": "PIXI STYLE PRIMARY\n lineHeight: '-5',"
        },
        "tslineJoin": { "prefix": "tslineJoin",
        "body": ["lineJoin:\"${1:bevel|round|miter}\", miterLimit:\"${2:5}\","],
        "description": "PIXI STYLE\n lineJoin: 'bevel|round|miter', miterLimit:"
        },
        "tsmiterLimit": { "prefix": "tsmiterLimit",
        "body": ["miterLimit:\"${1:5}\", lineJoin:\"${2:bevel|round|miter}\","],
        "description": "PIXI STYLE\n miterLimit: '10', lineJoin:"
        },
        "tsstroke": { "prefix": "tsstroke",
        "body": ["stroke:\"${1:#000000}\","],
        "description": "PIXI STYLE\n stroke: 'black',"
        },
        "tsstrokeThickness": { "prefix": "tsstrokeThickness",
        "body": ["strokeThickness:\"${1:4}\","],
        "description": "PIXI STYLE\n strokeThickness: '4',"
        },
        "tswordWrap": { "prefix": "tswordWrap",
        "body": ["wordWrap:\"${1:true}\", wordWrapWidth:\"${2:520}\","],
        "description": "PIXI STYLE PRIMARY\n wordWrap: 'true',"
        },
        "tswordWrapWidth": { "prefix": "tswordWrapWidth",
        "body": ["wordWrapWidth:\"${1:520}\","],
        "description": "PIXI STYLE PRIMARY\n wordWrapWidth: '450',"
        },
        "tslineStyle": { "prefix": "tslineStyle",
        "body": ["lineStyle:\"${1:'top'||'middle'||'bottom'}\","],
        "description": "PIXI STYLE PRIMARY\n lineStyle: 'top'||'middle'||'bottom',"
        },
I can't wait until I get good enough with code to use this! 😀
Ohhh looking fancy I like it. I think you're the designated Pixi guy @Jonforum

Simple and easy to install @just1witness 😛 hope it helps you in the future.
🙂 That's really handy. Good job, mate.
Thanks! I had a lot of fun working on it.
This topic should be pinned in this box!
Hey dude, you made a very cool thing to deal with! Thank you very much! 😂
Glad it could help you! I feel this should also be in the JavaScript section.
For some reason it doesn't work for me in Sublime 2. I've also got a problem with not responding Type script plugin (due to long timeouts), so this can be why.
Hmmm let's see; can you show me your directory structure? Might help with seeing what I can do to help
Awesome work <3
Thanks! Other people helped out too like @LTN Games so it was a group effort. Also, there's online documentation on my website, that documentation will be updated periodically also. It has most of the rpg classes listed.

https://kinoar.github.io/rmmv-doc-web/index.html
My directory structure is more or less the standard structure, concerning javascript plugins. Shown directly from my Sublime text 2.
Thanks for the mention Kino. I really only did one class 😛 but I do plan on adding some good detailed documentation for Window_Base and more commonly used methods. I love the idea behind this and I think it's a great opportunity to help with newcomers who want to code their own game.
Huh and the language is set to typescript in the bottom right corner?

Original thread: https://forums.rpgmakerweb.com/threads/vscode-rpgmakermv-intellisense-update-sublime-atom-support.81551/