简体   繁体   English

有没有办法让 Visual Studio 代码识别 .upc 文件格式?

[英]Is there a way to get Visual Studio code to recognize the .upc file format?

Is there a way to get Visual Studio code to recognize the .upc file format?有没有办法让 Visual Studio 代码识别 .upc 文件格式? .UPC is "Unified Parallel C" .UPC 是“统一并行 C”

Found the answer:找到答案:

https://code.visualstudio.com/docs/languages/overview https://code.visualstudio.com/docs/languages/overview

Changing the language for the selected file更改所选文件的语言

In VS Code, we default the language support for a file based on its filename extension.在 VS Code 中,我们根据文件扩展名默认文件的语言支持。 However, at times you may wish to change language modes, to do this click on the language indicator - which is located on the right hand of the Status Bar.但是,有时您可能希望更改语言模式,为此单击语言指示器 - 位于状态栏的右侧。 This will bring up the Select Language Mode drop-down where you can select another language for the current file.这将打开“选择语言模式”下拉列表,您可以在其中为当前文件选择另一种语言。

Tip : You can get the same drop-down by running the Change Language Mode command ( Ctrl + K M ).提示:您可以通过运行更改语言模式命令 ( Ctrl + K M ) 来获得相同的下拉菜单。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM