I just got Visual Studio, and every time I try running the code, a message pops up and says "code language not supported or defined. This happens with any language I try to use. How do I fix it?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
In the bottom right corner of the window notice where it says "plain text", Click this and you should see all the available language options. It's probably set to autodetect right now.
回答2:
Read the language support page for MS Visual Studio: https://code.visualstudio.com/docs/languages/overview
You can define a languages in the files.associations setting.
If you haven't setup language support: https://code.visualstudio.com/docs/setup/setup-overview
标签:
visual-studio