If I name the folder "templates" or "template", the files in the folder don't apply colors or suggest in VisualStudio Code. 1st image shows when I named the folder "templates", and 2nd one shows when I named the folder "foo" (flutter). I'm not sure but this happens maybe because of a extension that I added? Please tell me how can I avoid this.
This is my setting of files.associations
:
CodePudding user response:
As indicated by the asker in the comments, the issue is due to file associations. Check your settings.json file to see if you have anything set in the "files.associations"
setting that could be causing this. Otherwise, try disabling extensions that aren't needed to see if they are related to the issue. You can also change what file association is being used by clicking the lanugage indicator on the bottom right of the screen that has a "Select Language Mode" hover message. The same action can be done by using the command palette and using the "Change Language Mode
" command.