Pinegrow Community Support Forum

Insert and remove <!-- xxx --> -Tags for "comment out" with one klick

#1

Hello Matjaz,

a useful feature would be a funktion to “commend out” (I dont know if this is the right description in english) in the code.

To mark one or more lines of code in the code-view and than klick “commend out”: The < ! - - and the - - > will be set, so that HTML will not use these parts.
-And later to remove the tags: klick somewhere in the out-commented aerea and choose “remove Tags”.

Greets, Peter

4 Likes

#2

Hello,

I absolutely agree with Peter, it’d be a really productive feature to have!

Maybe it applies here too, that when I comment out an element (which is sometimes inevitable), the element no longer is displayed on the Tree panel. It’d be much better if the element surrounded by HTML comment tags would still be displayed, but with a different look (maybe in grey). Or the eye icon could also work like a ‘HTML comment wrapper’, that’s already there.

Kind regards,
Márton Lente

1 Like