Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Emmet #12

Open
shakib-rahimi opened this issue May 20, 2019 · 1 comment
Open

Problem with Emmet #12

shakib-rahimi opened this issue May 20, 2019 · 1 comment

Comments

@shakib-rahimi
Copy link

After install this the emmet extention does not work any more.

@brandiqa
Copy link

Add this to your .vscode/settings.json:

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

However, do note auto-ident will break

lgarron added a commit to lgarron/dotfiles that referenced this issue Jun 24, 2023
iambibhas/vscode-django-template#12 (comment) suggests the following to set the association for Django template paths, but this doesn't seem to be necessary.

```json
{
  "files.associations": {
    "**/templates/*.html": "django-html",
  }
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants