vtst / ow

Various Eclipse plugins for web development
http://www.normalesup.org/~simonet/soft/
74 stars 29 forks source link

Comment characters in the transition to a new line in *.soy files #102

Open tapazukk opened 12 years ago

tapazukk commented 12 years ago

When you try to edit soy the file in some template, "press enter" аt the end of the row. Eclipce automatically insert a comments characters.

For example

{template .someTemplate}
<div>when pressed enter at the end of the row</div>
* 
*/
{/template} 

This is not reproduce, when a "enter" was pressed on at the beginning of the line row.

Eclipse version: 3.7 Indigo Service Release 2 Build id: 20120216-1857 Plugin version: 1.0.8

DisDis commented 12 years ago

Confirmed. Very annoying.

vtst commented 12 years ago

Hello,

Thanks for the bug report. Unfortunately, I was not able to reproduce the problem. Could you please provide me with a complete example and indicate where you put the cursor before pressing enter? Thanks in advance.

DisDis commented 11 years ago

https://github.com/DisDis/ClosurePlatform/blob/master/themes/default/templates/example/ui/test1.soy Stay on end line 147 ('{/template}') and press enter

vtst commented 11 years ago

Thanks for the example. I was able to reproduce the problem. Trying to figure out the reason of the problem.