Registered association VSCode custom file types

Open the file you want to register the file type with [paper ".txt" to ".lua" demo]

 

In the lower right corner of the window there are VSCode current file type "Plain Text" can be clicked.

As shown in FIG pop after clicking:

 

1, Auto Detect: automatic monitoring

2, Configure File Association for '.txt' ...: The current file type to associate

3, Configure 'Plain Text' language based setting ...: type associated with the current manual

4, Search ...: Search extension [...] generally do not

 

If the current type is registered to a known type, such as lua to select 2, Configure File Association for '.txt' ... This will pop up as shown in Figure pop, and finally click type to be associated with it.

 

If the current type is registered to an unknown type, you will have to manually Configure 'Plain Text' language based setting ..., manually type associations to register

 

VSCode self-defined type registration tutorial on this in the end, goodbye!

Guess you like

Origin www.cnblogs.com/CLXiao-1029/p/11469552.html