How to make VS Code to treat other file extensions as certain language?

后端 未结 9 1473
傲寒
傲寒 2020-11-27 09:35

Or is there a way to switch the current file\'s language to use syntax highlight feature?

For example, *.jsx actually uses JavaScript but VS Code doesn\

9条回答
  •  借酒劲吻你
    2020-11-27 10:00

    Hold down Ctrl+Shift+P (or cmd on Mac), select "Change Language Mode" and there it is.

    But I still can't find a way to make VS Code recognized files with specific extension as some certain language.

提交回复
热议问题