Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324607

Summary: Eclipse PDT doesn't fill the @author {$user} tag
Product: z_Archived Reporter: Timo A. Hummel <privat>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P2 CC: ganoro, ilina.s, silviya
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
screenshot none

Description Timo A. Hummel CLA 2010-09-06 22:09:21 EDT
When I'm typing @author, Eclipse should automatically fill in the logged in user as specified in the author template. However, nothing happens, even not if I type ctrl+space for assist.


-- Configuration Details --
Product: Eclipse 1.3.0.20100617-0520 (org.eclipse.epp.package.php.product)
Installed Features:
 org.eclipse.platform 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY
Comment 1 Zhongwei Zhao CLA 2010-09-06 23:47:48 EDT
Hi I do not know what do you mian,can you describe it more clearly thanks!
Comment 2 Timo A. Hummel CLA 2010-09-07 00:04:14 EDT
My template for "author" in Preferences->PHP->Editor->Templates shows up as this:


@author ${user}


However, when I type @author in the editor, Eclipse doesn't fill in the ${user} variable.
Comment 3 xu jiaxi CLA 2010-10-14 02:57:02 EDT
Created attachment 180852 [details]
screenshot

Hi privat,
See the screenshot I uploaded.
You should type "a" in the comment, not "@a"
Comment 4 Timo A. Hummel CLA 2010-12-18 01:21:23 EST
Yes, you are right, typing author works. Is there any chance to make this more intuitive?
Comment 5 Zhongwei Zhao CLA 2011-04-27 02:09:34 EDT
works for me
Comment 6 Sylvia Tancheva CLA 2011-08-05 09:24:40 EDT
"@a" invokes a save word assist, but "a" invokes the template with the user to be be placed. 

Closing.

Ilina Stefanova.