vscode-djaneiro icon indicating copy to clipboard operation
vscode-djaneiro copied to clipboard

`comment` being overriden by html syntax

Open shacker opened this issue 7 years ago • 1 comments
trafficstars

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 avatar Mar 19 '18 06:03 shacker

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.

shacker avatar Mar 19 '18 07:03 shacker