skip to Main Content

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.

named templates
enter image description here

This is my setting of files.associations:
setting

2

Answers


  1. 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.

    Login or Signup to reply.
  2. I had the same problem. I got it solved by disabling extension "Django" by publisher "Baptiste Darthenay".

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search