# Quick 'comment' feature

**URL:** <https://forum.pinegrow.com/t/quick-comment-feature/4068>\
**Category:** Feature Request\
**Created:** [May 6, 2020, 4:50pm UTC](https://forum.pinegrow.com/t/quick-comment-feature/4068 "2020-05-06T16:50:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ladlon](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/ladlon/32/928_2.png) [@ladlon](https://forum.pinegrow.com/u/ladlon)\
**Post date:** [May 6, 2020, 4:50pm UTC](https://forum.pinegrow.com/t/quick-comment-feature/4068/1 "2020-05-06T16:50:38Z")

</div>

It would be great if you could select a section of code, and hit a key or button, and have Pinegrow automatically add the front and back comment tag code to each end of that selection, so you could very quickly/easily comment out sections of code (…and, also have a similar button/key to remove all comment tags found within a selection).

So far, that’s about the only limitation/issue I have with the code editor in Pinegrow (for my needs).

---

<div class="post-metadata">

**Author:** ![jonroc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jonroc/32/2805_2.png) [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Post date:** [May 10, 2020, 1:47pm UTC](https://forum.pinegrow.com/t/quick-comment-feature/4068/2 "2020-05-10T13:47:00Z")

</div>

I’m not sure if you are familiar with ATOM but this can easily be done with their code editor and integrates with PG (as a temp fix).

---

<div class="post-metadata">

**Author:** ![ladlon](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/ladlon/32/928_2.png) [@ladlon](https://forum.pinegrow.com/u/ladlon)\
**Post date:** [May 11, 2020, 12:51am UTC](https://forum.pinegrow.com/t/quick-comment-feature/4068/3 "2020-05-11T00:51:18Z")

</div>

Yep, it certainly would serve well as a quick fix/workaround. I’ve actually had ATOM for quite some time, but never installed it. I was hoping Pinegrow had the feature, but it was recently confirmed to me it doesn’t. So, here I am.

In my particular case, that’s about the only thing I find lacking in Pinegrow’s editor (for my purposes), so ideally I’d prefer not to have an external editor just for that one thing.

---

<div class="post-metadata">

**Author:** ![martonlente](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/martonlente/32/5800_2.png) [@martonlente](https://forum.pinegrow.com/u/martonlente)\
**Post date:** [May 12, 2020, 7:38am UTC](https://forum.pinegrow.com/t/quick-comment-feature/4068/4 "2020-05-12T07:38:47Z")

</div>

I agree with @ladlon, this would be a useful feature to add. Comments could also have their own items in the tree (maybe with a differentiated look), indicating they’re there.

Best,  
Márton Lente

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [May 17, 2020, 12:41pm UTC](https://forum.pinegrow.com/t/quick-comment-feature/4068/5 "2020-05-17T12:41:54Z")

</div>

Hi @ladlon, @jonroc, @martonlente and anybody else interested -  
Sorry for the slow response to this one, but it is already a feature in Pinegrow. If you go into the “Support” -\> “Settings…” modal and scroll down you will see a section for code editing.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/c/c227cba81d514d0eb405ac98a3be6c3a0c16b950.png)  
At the bottom of this section is an option to use Emmet in the code editor. If you turn that on you can now highlight a block of code and then use `CMD-/` (command plus forward slash) to toggle between commented and uncommented.  
BTW: Once you get the basic syntax Emmet is awesome!

---

<div class="post-metadata">

**Author:** ![ladlon](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/ladlon/32/928_2.png) [@ladlon](https://forum.pinegrow.com/u/ladlon)\
**Post date:** [May 17, 2020, 5:53pm UTC](https://forum.pinegrow.com/t/quick-comment-feature/4068/6 "2020-05-17T17:53:38Z")

</div>

@RobM: Awewome! Yup, that works for me. At this point, it’s really just the commenting feature that I would really benefit from, and that nails it. Thanks!
