Pycharm处理< div>标签(没有自相射)

发布于 2025-01-22 14:46:53 字数 994 浏览 1 评论 0原文

我正在编辑HTML,我在Bootstrap上使用了很多DIV标签。

例如:

<div class="carousel-item">
                            <img class="d-block img-fluid"
                            src="img/alberto.png" alt="alberto">
                            <div class="carousel-caption d-none d-md-block">
                            <h2>Alberto Somayya</h2>
                            <h4>Executive Chef</h4>
                            <p class="d-none d-sm-block">Award winning three-star Michelin chef with wide International experience having worked closely with whos-who in the culinary world, he specializes in creating mouthwatering Indo-Italian fusion experiences. </p>
                            </div>
                        </div>

每次我打开一个Div时,Pycharm都不会与关闭 /Div一起自动完成。

而且,每次我关闭a /div pycharm都不会自动完成标签,并且不将其与相应的打开div对齐。

我该如何调整它,以便它可以做我想要的?

我试图搜索Google和Stackoverflow,但什么也没找到...

谢谢

Im editing html and i use a lot of div tags with bootstrap.

for example :

<div class="carousel-item">
                            <img class="d-block img-fluid"
                            src="img/alberto.png" alt="alberto">
                            <div class="carousel-caption d-none d-md-block">
                            <h2>Alberto Somayya</h2>
                            <h4>Executive Chef</h4>
                            <p class="d-none d-sm-block">Award winning three-star Michelin chef with wide International experience having worked closely with whos-who in the culinary world, he specializes in creating mouthwatering Indo-Italian fusion experiences. </p>
                            </div>
                        </div>

Each time i open a div, pycharm doesnt autocomplete with a closing /div.

And each time i close a /div pycharm doesnt autocomplete the tag and doesnt align it with the corresponding opened div.

How can i tweak it so it does what i want?

I have tried to search google and stackoverflow but didnt find anything...

Thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

锦上情书 2025-01-29 14:46:53

实际答案是您必须购买Pycharm Pro Edition,以便可以自动处理

The actual answer is you have to buy Pycharm pro edition so it can handle automatically

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文