Community
Participate
Working Groups
Toggle Comment(Ctrl+/ or Ctrl+7) doesn't recognize leading spaces. |<?php | // echo 0; |?> Move cursor onto the line and hit Ctrl+/. Line comment will be changed to | // echo 0; instead of | echo 0; It indicates 'Toggle Comment' deletes first 2 characters in the line always. Hit Ctrl+/ again. Line comment will be changed to |/ echo 0; and syntax error marker will appear.
Created attachment 185822 [details] patch
hi Toshihiro, thanks for your patch,from wtp 3.2.3,we use new toggle comment extension,and the bug does not exist now
OK :) BTW, Remove Block Comment doesn't work in php part, Toggle Comment/Add Block Comment/Remove Block Comment don't work in html part, on my environment. EclipseSDK3.7M6 pdt from CVS-HEAD and other requirements from Indigo repository
which version of wtp do you use?
yes,you are right,I have tested it,thanks!we will fix it asap!
fixed in head
Verified.