OiO.lk Blog templates Issues with boilerplate HTML in the Django templates folder
templates

Issues with boilerplate HTML in the Django templates folder


"I’ve tried reinstalling all extensions, adjusting settings, and reinstalling VS Code, but the auto-suggestion of snippets in templates/index.html doesn’t work. However, when I move index.html out of the templates folder to ./index.html, the snippets start working again. How can I fix auto-suggestions for snippets inside the templates folder?"

What I tried:

Reinstalled all VS Code extensions.
Changed various settings related to snippets and auto-completion.
Reinstalled VS Code entirely.
Moved index.html out of the templates folder to ./index.html, which made the snippets work again.
What I expected:

I expected the auto-suggestion of snippets to work within templates/index.html, just as it does when the file is outside the templates folder.



You need to sign in to view this answers

Exit mobile version