Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360526 - Toggle Comment not working in PHP Editor is back
Summary: Toggle Comment not working in PHP Editor is back
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 06:30 EDT by Tomas Vorobjov CLA
Modified: 2020-05-14 11:53 EDT (History)
5 users (show)

See Also:


Attachments
My Eclipse Configuration Details (666.88 KB, text/plain)
2011-12-12 08:19 EST, Paulo Diovani CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Vorobjov CLA 2011-10-11 06:30:02 EDT
Build Identifier: 20110301-1815

The Bug 338291 - Toggle Comment not working in PHP Editor is back - please note org.eclipse.php.debug.core_2.2.0.v20101001-2300 doesn't fix this bug - this is not a duplicate of 338291. 

Reproducible: Always

Steps to Reproduce:
1. Install the latest PDT (64-bit) - http://www.zend.com/en/download/468
- Toggle comment works
2. Check for updates and install
Eclipse Java Development Tools	3.6.2.r362_v20101117-0800-7z8XFW6FLFlmjJcvz03jyeFBLS_F
Eclipse IDE for PHP Developers	1.3.2.20110301-1807
3. Toggle comment no longer works (installing org.eclipse.php.debug.core_2.2.0.v20101001-2300 has no effect)
Comment 1 Zhongwei Zhao CLA 2011-11-03 01:37:06 EDT
works for me
Comment 2 Tomas Vorobjov CLA 2011-11-03 06:50:02 EDT
I can confirm this with a completely new installation on the following system:


Microsoft Windows 7 Professional Version 6.1.7600 Build 7600
System Type	x64-based PC
Processor	Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz, 1995 Mhz, 4 Core(s), 4 Logical Processor(s)
BIOS Version/Date	Hewlett-Packard 786G5 v01.14, 26/05/2009
SMBIOS Version	2.6
Installed Physical Memory (RAM)	8.00 GB
Total Physical Memory	7.98 GB
Available Physical Memory	4.77 GB
Total Virtual Memory	16.0 GB
Available Virtual Memory	11.2 GB
Page File Space	7.98 GB


steps to reproduce 

1.) download the latest PDT (64-bit) - http://www.zend.com/en/download/468
2.) check for updates and install Eclipse IDE for PHP Developers 1.3.2.20110301-1807
3.) install Eclipse Java Development Tools 3.6.2.r362_v20101117-0800-7z8XFW6FLFlmjJcvz03jyeFBLS_F

comments toggle still doesn't work
Comment 3 Paulo Diovani CLA 2011-12-12 08:19:54 EST
Created attachment 208257 [details]
My Eclipse Configuration Details
Comment 4 Paulo Diovani CLA 2011-12-12 08:22:07 EST
Problem occurs for me and some friends.
Seens to happen only on 64bit Windows 7.

Added my configuration details to check. Please, fix it, Toggle comment is a needed feature.

Thanks in advance.
Comment 5 Kalin CLA 2012-07-06 09:04:42 EDT
Still reproducible.
Scenario:
Create a PHP project.
Create a php file in the project.
Type some trivial code (you can use some php template as well)
<?php
class class_name {
	function function_name() {
		;
	}
}

Save the changes.
Select the lines from 2 to 6.
Apply Ctrl+/

Result:
No effect.

Workaround:
Close the php file, open it again, then apply Ctrl+/
Result:
The selected code will be commented properly.

OS: Win XP
Comment 6 Dawid Pakula CLA 2014-06-04 13:39:19 EDT
It works correctly on 3.3
Comment 7 Sylvia Tancheva CLA 2015-05-29 11:24:12 EDT
Verified with latest PDT on Windows 7 64bit - works OK. Closing