Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349894 - add ${line_selection} and ${word_selection} in php editor template content assist
Summary: add ${line_selection} and ${word_selection} in php editor template content as...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact: Ilina Stefanova CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-20 23:12 EDT by Zhongwei Zhao CLA
Modified: 2020-05-14 11:17 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zhongwei Zhao CLA 2011-06-20 23:12:00 EDT
add ${line_selection} and ${word_selection} in php editor template content assist
Comment 1 Zhongwei Zhao CLA 2011-06-22 00:53:16 EDT
fixed
Comment 2 Ilina Stefanova CLA 2011-07-27 07:51:35 EDT
Cannot find such php template among the current active templates. Reopen.
Comment 3 Ilina Stefanova CLA 2011-07-29 07:58:16 EDT
More info by Zhao: go to: Preferences->PHP->Editor->Templates and add a new template. Insert Variable. There should be line_selection and word_selection. When you select a word in php editor then call content assist, you will see the new added template. When you select several lines the template contains line_selection will be displayed when you call content assist.

I can see only the word_selection and Zhao can see both. He will investigate it.
Comment 4 Zhongwei Zhao CLA 2011-08-08 00:44:44 EDT
please try the latest build,thanks
Comment 5 Zhongwei Zhao CLA 2011-08-08 00:48:51 EDT
change status
Comment 6 Kalin CLA 2011-10-18 10:17:33 EDT
Verified.
Closing...