PyCharm是否支持Jinja2? [英] Does PyCharm support Jinja2?

查看:188
本文介绍了PyCharm是否支持Jinja2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个瓶子项目使用Jinja2. PyCharm不会自动识别它,并显示诸如错误之类的行.有什么办法可以使Jinja2正常工作吗?

A bottle project of mine uses Jinja2. PyCharm does not automatically recognize it and shows such lines as errors. Is there a way to make Jinja2 work?

推荐答案

在专业版中,以下模板语言:

In the pro edition, these template languages:

  • Jinja2
  • Django
  • 真子

.您可以在项目的设置中配置模板语言:

are supported. You can configure the template language in the project's settings:

社区版可能缺少某些模板语言.

The community edition may lack certain template languages.

这篇关于PyCharm是否支持Jinja2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆