How to define or support a code language on Visual

2020-08-01 05:05发布

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?

2条回答
forever°为你锁心
2楼-- · 2020-08-01 05:50

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.

查看更多
Melony?
3楼-- · 2020-08-01 05:54

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

查看更多
登录 后发表回答