Open pnitin10 opened 5 years ago
It said something about adding part of the path to this: didn't work out for me tho, but thought it might help
I changed it to 'templates' and it kicked in for all .html files in any 'templates' folder (which is good enough that it picks it up for me for django projects (versus Rails projects)
However , I still can't get HTML tag autocompletions to work. The django-templates atom package refers to Emmet, but after installing the atom package for Emmet, it doesn't ever seem to create a emmet.cson file anywhere. I'm kinda just living with having to autocomplete my html tags for now
I installed django-templates in my atom , but after installing , it is not working. I tried many times but still it doesn't effect. Please tell me what should i do to fix the issue.
In the Settings of django-templates, add "templates/" in the Default to Django Templates For File Paths Containing
It worked for me.
It said something about adding part of the path to this: didn't work out for me tho, but thought it might help
Add a forward slash(/) after whatever directory you are providing
Still not working... I added "templates" and "templates/" to the setting (I have all templates like "/path/to/templates/some_templaate.html"), bit all it does is to completely lose all sintax highlighting (templates AND html) so all the text just looks grey. No snippet not autocompletion is working....
Good news!!! Made it work!!! Just added boh forwardslashes. My template folder name is "templates" si in the settings I set the value to "/templates/". Leaving only the "templates" value or the "templates/" value didn't work
I installed django-templates in my atom , but after installing , it is not working. I tried many times but still it doesn't effect. Please tell me what should i do to fix the issue.