html-snippets icon indicating copy to clipboard operation
html-snippets copied to clipboard

Snippets not working after installing django plugin

Open hihammer opened this issue 5 years ago • 1 comments

Snippet recommendations was working perfectly but suddenly it stopped working after installing couple of django templates plugins. I guess there's some sort of overlapping. If there's a shortcut to enforce html snippets I think it would be a good workaround.

hihammer avatar Dec 28 '19 00:12 hihammer

I added following settings to settings.json and the snippet works with Django template extensions installed.

  "files.associations": {
    "*.log.*": "log",
    "**/*.html": "html",
    "**/templates/**/*.html": "django-html",
    "**/templates/**/*": "django-txt",
    "**/requirements{/**,*}.{txt,in}": "pip-requirements"
  },
  "emmet.includeLanguages": {
    "django-html": "html"
  },

yeonsh avatar Apr 17 '20 03:04 yeonsh