|
|
|
|
(no subject) [message #693645 is a reply to message #670343] |
Wed, 06 July 2011 23:45 |
|
On 5/13/2011 11:20 AM, Dwight Johnson wrote:
> Nitin Dahyabhai wrote on Fri, 13 May 2011 10:31
>> The HTML Templates preference page is only designed to
>> show the template contexts defined by the HTML plug-ins. It sounds
>> like you need to contribute your own subclass of
>> org.eclipse.ui.texteditor.templates.TemplatePreferencePage.
>
>
> Hello Nitin,
>
> That seems to be rather a big task.
Not as much as you think. Besides, our template proposal computers
won't be processing the templates from your contexts anyway.
> Under Windows > Show View > there is a template view. For some reason it
> does show templates for java but not for
> css/js/html.
It's not implemented for those editors since the editors are built in a
way that their viewer configurations and supported content type can be
changed on the fly. The Templates View is locked down in one content
type from the start (possibly before we've figured out which content
type is in the editor), and that's all it ever gets to show.
--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.04219 seconds