I am using the windows pycharm 2.7 version with Pyramid chameleon templating. Pycharm's standard line and block code comments use <!– –> to comment out the html code. However, although chameleon acknowledges the line comment code it still evaluates what's inside of the comments. If you have something in your commented code that chameleon does not like you get a templating error.
Chameleon does offer a work around for this by using <!–? –> to fully comment out chameleon html templating code. I have tried using Pycharm custom comment settings to no avail. There is just not enough flexibility in the settings.
Is there a work around for this or can you add this functionality in a next revision of pycharm? Ideas?