# Comment out Codeeditor

**URL:** <https://forum.pinegrow.com/t/comment-out-codeeditor/7217>\
**Category:** Questions\
**Created:** [November 17, 2022, 1:05pm UTC](https://forum.pinegrow.com/t/comment-out-codeeditor/7217 "2022-11-17T13:05:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sylviomr](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@sylviomr](https://forum.pinegrow.com/u/sylviomr)\
**Post date:** [November 17, 2022, 1:05pm UTC](https://forum.pinegrow.com/t/comment-out-codeeditor/7217/1 "2022-11-17T13:05:45Z")

</div>

How can I comment out elements in Pinegrow Code Editor. I have already searched and activated everything. In the forum was also the CMD +/ but that does not work. I work on a MAC. Maybe someone here can give me a tip.

---

<div class="post-metadata">

**Author:** ![Wolfgang.Hartl](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/wolfgang.hartl/32/4621_2.png) [@Wolfgang.Hartl](https://forum.pinegrow.com/u/Wolfgang.Hartl)\
**Post date:** [November 18, 2022, 7:20am UTC](https://forum.pinegrow.com/t/comment-out-codeeditor/7217/2 "2022-11-18T07:20:26Z")

</div>

You mean HTML-Elememts? Not sure if i got it right, but if so then a comment in HTMl works like this:

`<!-- I'm a comment -->`

---

<div class="post-metadata">

**Author:** ![sylviomr](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@sylviomr](https://forum.pinegrow.com/u/sylviomr)\
**Post date:** [November 18, 2022, 7:47am UTC](https://forum.pinegrow.com/t/comment-out-codeeditor/7217/3 "2022-11-18T07:47:38Z")

</div>

Yes, that’s exactly what I mean. With VS Code I can quickly switch on and off with a key combination. But in Pinegrow this does not work. Here I have to write inconveniently the before and after. Emmet is activated.

---

<div class="post-metadata">

**Author:** ![Wolfgang.Hartl](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/wolfgang.hartl/32/4621_2.png) [@Wolfgang.Hartl](https://forum.pinegrow.com/u/Wolfgang.Hartl)\
**Post date:** [November 18, 2022, 8:07am UTC](https://forum.pinegrow.com/t/comment-out-codeeditor/7217/4 "2022-11-18T08:07:35Z")

</div>

Aaaaah now I got you! 😉

Hmm to be honest I’m always using VSCode instead of the Pinegrow Editor. I think they both rely on the same codebase under the hood, but VSCode is of course a way more advanced tool in terms of integrations and plugins and so!  
Is there any reason you are not using VSCode but the PG-Editor? There’s also a Pinegrow Plugin available in the VSCode Marketplace which syncs VSCode with the PG-Canvas!

---

<div class="post-metadata">

**Author:** ![sylviomr](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@sylviomr](https://forum.pinegrow.com/u/sylviomr)\
**Post date:** [November 18, 2022, 8:24am UTC](https://forum.pinegrow.com/t/comment-out-codeeditor/7217/5 "2022-11-18T08:24:48Z")

</div>

Thank you very much. Will try this.

---

<div class="post-metadata">

**Author:** ![Dom](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/dom/32/4887_2.png) [@Dom](https://forum.pinegrow.com/u/Dom)\
**Post date:** [November 18, 2022, 9:24am UTC](https://forum.pinegrow.com/t/comment-out-codeeditor/7217/6 "2022-11-18T09:24:53Z")

</div>

Definitely recommend the VSCode approach, it works really well with the Pinegrow extension.

---

<div class="post-metadata">

**Author:** ![ThomasHelzle](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@ThomasHelzle](https://forum.pinegrow.com/u/ThomasHelzle)\
**Post date:** [August 11, 2023, 3:10pm UTC](https://forum.pinegrow.com/t/comment-out-codeeditor/7217/7 "2023-08-11T15:10:40Z")

</div>

In case anybody else is searching for this like I did, I’ll leave it here, Pinegrow 7.6:

Shortcut for line-comment toggle: CTRL + #  
Block-comment toggle: SHIFT + ALT + A

Pinegrow really sucks documentation wise on the most basic stuff…

External editor gives me constant pain and synch issues, so it would be really cool if the editor inside of Pinegrow wouldn’t suck as much as it does. Why have it and then leave it completely crippled?  
Come on guys, you can do better than this.
