Visual Studio for WebGL plugins support (jslib)

I have created a WebGL plugin (jslib file) for my project to be able to use files uploaded by the user from its hard drive and load them into the WebGL player.

I know the jslib file it’s just a javascript library so the syntax it’s the same as javascript but Visual Studio doesn’t detects it as javascript and doesn’t highlight it. So my question is:

Is there a way of open this kind of file in Visual Studio and have Javascript highlighting and intellisense?


In Visual Studio:
Tools → Options → Text Editor → File Extension, add JavaScript editor for jslib extension.