{"id":314317,"xmlId":"com.github.valbendan.dtp","name":"Typed Django Template","description":"<p>PEP 484(Type Hint) for Django Template.</p>\n\n<p>Django template variable type annotate, code auto-complete, find usage, attribute rename (code refactor), invalid\nvariable(fields/attributes) inspection.</p>\n\n<h2>Features:</h2>\n\n<ul><li>smart auto complete in django template</li><li>find usage use in django template</li><li>refactor support for variable attribute</li><li>click jump to declaration</li><li>invalid variable/method inspection</li></ul>\n\n<h2>Usage</h2>\n\n<ol><li>create <code>.pyi</code> extension file with django template name</li><li>writing the variable declaration in <code>.pyi</code> file</li></ol>\n\n<p>You can use <a href=\"https://github.com/valbendan/dtpdemo\">dtpdemo</a> as reference.</p>\n\n<h2>Snapshots</h2>\n\n<h2>Code Complete</h2>\n\n<p>Variable Code Complete</p>\n\n<p><img src=\"https://cdn.jsdelivr.net/gh/valbendan/dtpdemo@main/img/code_complete_1.png\" alt=\"variablecode complete\"></p>\n\n<p>Field Code Complete</p>\n\n<p><img src=\"https://cdn.jsdelivr.net/gh/valbendan/dtpdemo@main/img/code_complete_2.png\" alt=\"fieldcode complete\"></p>\n\n<h2>Find Usage</h2>\n\n<p>Find Usage</p>\n\n<p><img src=\"https://cdn.jsdelivr.net/gh/valbendan/dtpdemo@main/img/find_usage.png\" alt=\"find usage\"></p>\n\n<h2>Inspection</h2>\n\n<p>Field Inspection</p>\n\n<p><img src=\"https://cdn.jsdelivr.net/gh/valbendan/dtpdemo@main/img/field_not_exists.png\" alt=\"field inspection\"></p>\n\n<p>Include Inspection</p>\n\n<p><img src=\"https://cdn.jsdelivr.net/gh/valbendan/dtpdemo@main/img/include_lack_parameter.png\" alt=\"include inspection\"></p>\n\n<p>Variable Inspection</p>\n\n<p><img src=\"https://cdn.jsdelivr.net/gh/valbendan/dtpdemo@main/img/variable_not_exists.png\" alt=\"variable inspection\"></p>\n\n<h2>FAQ (常见问题列表)</h2>\n\n<ul><li>Can not find usage for some field(refactor/rename not rename all usage in template) ?</li></ul>\n\n<p>Due to performance issue, we use lazy strategy on analyze Django template variable type, You can right-click on\ndirectory and force <code>Compute Django Template Type</code> to resolve problem.</p>","organization":"bendan","tags":["Code Editing","Freemium"],"vendor":"bendan","version":"2023.1.0","notes":"<h3>Added</h3>\n<ul><li>support 2023.1 version of PyCharm Pro</li></ul>","dependencies":["com.intellij.modules.lang","PythonCommon","com.intellij.modules.python","com.intellij.modules.pycharm.professional"],"since":"231.0","until":"231.*","size":149141,"productCode":"PDJANGOTPLPEP","sourceCodeUrl":"https://github.com/valbendan/dtpdemo"}