php-twig icon indicating copy to clipboard operation
php-twig copied to clipboard

Use Twig comments when in HTML-Twig mode

Open markgoodyear opened this issue 9 years ago • 25 comments

Would it be possible to use the Twig comments when in HTML-Twig mode? Currently I need to manually wrap items to be commented out with {# ... #}. As you can imagine, it's a productivity killer. What are your thoughts?

markgoodyear avatar Mar 12 '15 11:03 markgoodyear

:+1: please

ConnorVG avatar Mar 12 '15 11:03 ConnorVG

+1 This would be great

seanogdev avatar May 17 '15 21:05 seanogdev

+1

mehrdd avatar Jun 28 '15 17:06 mehrdd

+1

orhanveli avatar Jul 01 '15 09:07 orhanveli

+1

jirsbek avatar Jul 21 '15 15:07 jirsbek

+1

PurpleBabar avatar Jul 31 '15 19:07 PurpleBabar

+1

chasegiunta avatar Aug 15 '15 16:08 chasegiunta

This would be fantastic. Also, if you are busy and can't point one of us in the right direction hopefully someone can/will make a PR.

Thanks!

jasonmccallister avatar Aug 28 '15 16:08 jasonmccallister

Quite nice if you do this. php-twig is already a hit here ;)

narration-sd avatar Aug 28 '15 20:08 narration-sd

+1 👍

snnwolf avatar Sep 17 '15 10:09 snnwolf

For all the Craft folks following this issue: the Craft Twig package supports CMD + / Twig comment toggling.

https://github.com/fruitstudios/Craft-Twig

carlcs avatar Feb 01 '16 13:02 carlcs

+1

daviddarke avatar Apr 08 '16 09:04 daviddarke

+1

thamas avatar Aug 08 '16 19:08 thamas

+1

grimmlink avatar Nov 30 '16 09:11 grimmlink

+1 👍

Mojtaba-Reyhani avatar Feb 24 '17 08:02 Mojtaba-Reyhani

+1

pierstincknell avatar Feb 24 '17 09:02 pierstincknell

+1

vipinbose avatar May 22 '17 03:05 vipinbose

+1

aerni avatar May 22 '17 11:05 aerni

+1

295black avatar Jul 17 '17 08:07 295black

+1

linksilver avatar Oct 20 '17 16:10 linksilver

+1

chuguniy avatar Nov 26 '17 14:11 chuguniy

image

ConnorVG avatar Nov 29 '17 09:11 ConnorVG

+1

albaad avatar Dec 20 '17 10:12 albaad

Hi, Since it seems that package is abandonned ( :( ) i made one forked from php-twig that solve this problem, i'll try to solve other problems too :) Package is available here: https://atom.io/packages/atom-twig

cheerz

PurpleBabar avatar Dec 27 '17 13:12 PurpleBabar

@PurpleBabar Great! Will check it!

thamas avatar Jan 22 '18 20:01 thamas