how to temporarily apply a code style when open a file?
Answered
For example, when I open a configuration file `*.config`, I want to manually choose which code format I use because it usually changes between json/yaml. So linking file type to the file extension is not very convenient.
Is there a way to apply temporarily a specific coding format in the setting?
Please sign in to leave a comment.
Code style is configured per language. The language defined one or more file extensions where it is applicable. So code style is defined for certain file extension and it is not possible to use several code styles for one file type.