[英]How do i get syntax highlighting for a Jslib file in Visual Studio
I tried the WebGL tutorial by Unity and everything worked well.我尝试了Unity的 WebGL 教程,一切正常。
But the jslib file does not appear in Visuals Studio (I placed it in the "Plugins" folder), the JS syntax is not highlighted and also I don't have IntelliSense.但是 jslib 文件没有出现在 Visuals Studio 中(我将它放在“Plugins”文件夹中),JS 语法没有突出显示,而且我也没有 IntelliSense。
How do I get Visual Studio to recognize this file?如何让 Visual Studio 识别此文件?
In Visual Studio: Tools -> Options -> Text Editor -> File Extension在 Visual Studio 中:工具 -> 选项 -> 文本编辑器 -> 文件扩展名
Type jslib
in the Extension field, and select JavaScript Editor
in the Editor's dropdown field.在 Extension 字段中键入
jslib
,在 Editor 的下拉字段中键入 select JavaScript Editor
。 Then, click on the Add button.然后,单击添加按钮。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.