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

Yes, language is set to typescript. But not that it matters, because everytime I launch Sublime text 2, it tells me that a plugin may not be responding due to huge call time (0.5 seconds) or whatever it is called, in other words something is called, but it takes so long that the interpreter decides to stop calling it and just skip it.
It started popping up exactly after I installed my typescript plugin into Sublime text 2. So the fault is in the sublime text plugin itself.
That's unfortunate; I wish I could help with that. That's what worked for me, so it may just be the size of the file itself. I might have to make a stripped down version also. I'll keep you posted.

Otherwise, VSCode is a pretty good alternative to sublime and works on all PCs and it's not visual studio. It's a lightweight text editor with a lot of the same sublime features.
I'll check it out :} Tried Atom, but that is a heavyweight one with very misplaced install directory, so decided not to use it...
Totally agree there; Atom isn't as nice to use for me. Takes forever to open a project.
Yay, in VSCode it works! Took a while to load, but works now ^_^ Awesome!
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.
you can add link for download it.
https://github.com/pixijs/pixi.js/releases

simply replace the version rmmv by this new version (work good without bug)
This version will also give some extra awsomes features.
rXBK3sg7

aef34ae33.png

I know you work on a tutorial with the eventlistener.
It would be nice if you could add a section that also deals with PIXI.ticker

ex:
PHP:
var myPixiListener = new PIXI.ticker.Ticker;
// and add function listener inside (eatch tiker frame maybe?!)
  myPixiListener.add(function (delta) {
      // stuff
  }
[/B]
I test its operation and it works very well to listen objects.
The operation is similar to the event Listener, but probably more efficient and much more manageable.
But there is not much information on this subject.
@+ 🤘

Hi @Kino, this is really helpful. Question, though: most MV plugins I've seen add functions on to existing classes and/or encapsulate them with namespace functions; with typescript using these library definitions is that still possible? I haven't found a way that doesn't throw errors all over the place. Do you have some sample code?
Hey, I am having trouble setting up the intellisense with VSCode or Visual Studio 2015 & 2017 as nothing happened when I setting up. This intellisense setup gonna help me in working on my first script.
It only works on VSvode I believe and not Visual Studio.

You're having issues? What's the issue no pop up with intellisense?
I keep getting this error for some reason 🙁
upload_2017-12-11_17-16-25.png
@Archeia I think you'll need to install jshint through nodejs first.
EDIT: Do you have the JSHint extension installed? Maybe the extension throws the error.
I agree with Aces you'll need to install jshint if vscode is giving you such an error.

I wish I could make the process easier.
I do have JSHint installed actually...👋
Hmmmm okay I'll see what I can do. I'll see what the issue is as I never had the jshint issue.
I'll try to uninstall node and everything later and see if it fixes everything.
Hopefully it works for you!
It only works on VSvode I believe and not Visual Studio.

You're having issues? What's the issue no pop up with intellisense?
Sorry for the late reply Like I say VS code or Visual studio itself nothing pop up on my side when i try to type in something.
Thank you for this to you and the others involved, much appreciated. Also thank you for the Node.JS plugin tutorial on your site for MV.
lol ok
PHP:
{
  "compilerOptions": {
    "target":"es6"
  },
  "files": [
    "./rmmv.d.ts",
    "./rmmv-pixi.d.ts"   
  ],
  "include": [
    "./*",
    "./plugins_dev/*.js",
    "./plugins/*.js"
  ],
  "exclude": [
    //"./plugins/*" ??? fix
  ]
}
I wondered why it does not work with my plugins in this directory.
Hello @Kino,

I am new to the coding side of RPG Maker and having a great deal of fun learning. This is a great resource! Thanks for you work!

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