VS Code

Select Language Mode for Given Files

@desc@

When you use a new file suffix unknown to VS Code, the code in the file will not be displayed in a highlight style. If you want to apply an existing style (language mode) to such a file, e.g. as in the Demo, use the Shell Script mode for *.tc files. You can do the followings:

  1. Press CtrlShiftP and then select Preferences: Open User Settings.


  2. Type file.association and Select Workspace. Fill in the Item and Value pairs as needed.


  3. If you don't know the language modes that exist in VS Code, press Ctrl K and then M to list them. (1)

(1) If Vim mode is enabled, disable it before trying to use shortcuts. Because M conflicts with the Vim mark command.
Y A P W A