definition Global JS Methods for external editors

Sander Notenbaert's icon

Hi!

When coding for the js object, I'd like to work in my usual text editor. However, currently I'm being bombarded with diagnostics, because the LSP doesn't know about all the Max-specific global methods of course. I could turn off the error checking, but it would be amazing to have it running normally!

It's a wild shot, but would there be a way to let the editor know of Max's global methods, for development? Are they defined somewhere in a file that could be found? Or is it nested in the JS implementation?