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

comment being overriden by html syntax #10

Open
shacker opened this issue Mar 19, 2018 · 1 comment
Open

comment being overriden by html syntax #10

shacker opened this issue Mar 19, 2018 · 1 comment

Comments

@shacker
Copy link

shacker commented Mar 19, 2018

Coming to vscode from atom and using Djaneiro in both.

In vscode, typing comment[tab] in a template yields the html <comment> tag rather than Django's {% comment %} templatetag. Double checked that the current syntax is "Django Template".

Thanks.

@shacker shacker changed the title comment being overriden by html language comment being overriden by html syntax Mar 19, 2018
@shacker
Copy link
Author

shacker commented Mar 19, 2018

Addendum: In the same document, but in the sub-context of a <script type="text/javascript"> section within the same Django Template, I pressed Cmd-/ , expecting a JS // but got a Django {% comment %} tag within JS context. So there seems to be some context slippage.

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

1 participant