- Home /
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?
Thanks
Answer by kkacperz · Jul 20, 2018 at 07:43 AM
In Visual Studio: Tools -> Options -> Text Editor -> File Extension, add JavaScript editor for jslib extension.
Looks like this is only for Windows, do you know what the corresponding way is for Mac?
Your answer
![](https://koobas.hobune.stream/wayback/20220612131121im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to read uploaded WebGL binary files? 0 Answers
2018.2 WebAssembly loading intervals only 0%, 90%, 100% 0 Answers
Unknown WebGL Error 1 Answer
Photon disconnects in WebGL 0 Answers