Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324607 - Eclipse PDT doesn't fill the @author {$user} tag
Summary: Eclipse PDT doesn't fill the @author {$user} tag
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-06 22:09 EDT by Timo A. Hummel CLA
Modified: 2020-05-14 11:08 EDT (History)
3 users (show)

See Also:


Attachments
screenshot (20.76 KB, image/jpeg)
2010-10-14 02:57 EDT, xu jiaxi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.