Bottle Template Support?

[亡魂溺海] 提交于 2019-12-05 18:19:17

Bottle comes with a built-in template engine called SimpleTemplate which is not currently supported by PyCharm.

There is a relevant feature request: Bottle microframework support, but it doesn't explicitly state about .tpl syntax support.

I'd go and create a feature request in PyCharm's issue tracker asking about SimpleTemplate syntax support or, at least, vote up and comment in the existing issue.

For example, there is the similar feature-request for tornado template engine:

It has currently 56 votes up which is probably increasing the possibility of seeing it happen.


As a workaround, you can configure .tpl file type under Settings -> File Types. It is possible to set highlighting rules there.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!