Add propertysheet contributions to existing html editor [message #538523] |
Mon, 07 June 2010 20:21 |
Eclipse User |
|
|
|
Originally posted by: adataylo.cisco.com
I've used this:
<extension point="org.eclipse.wst.sse.ui.editorConfiguration">
<provisionalConfiguration
type="contentassistprocessor" .../>
to get some content assist options into the existing .html, and .jsp
editors (i.e. it's not a new editor based upon html).
However, it appears that only the 1st propertySheetConfiguration
extension found is used (comment from method
ExtendedConfigurationBuilder.getConfiguration):
/**
* Returns a configuration for the given extensionType matching the
* targetID, if one is available. If more than one configuration is
* defined, the first one found is returned.
*
* @param extensionType
* @param targetID
* @return a configuration object, if one was defined
*/
My question is how do I get new propertysheet contributions into the
editor without clobbering other contributions?
Thanks,
Adam
|
|
|
|
Re: Add propertysheet contributions to existing html editor [message #539454 is a reply to message #539219] |
Thu, 10 June 2010 18:44 |
Eclipse User |
|
|
|
Originally posted by: adataylo.cisco.com
On 6/9/2010 8:32 PM, Nitin Dahyabhai wrote:
> You can't, you'll have to declare your own extension to
> org.eclipse.ui.editors and specify that as your target ID.
>
> As a side note, the contentassistprocessor provisional configuration is
> deprecated in favor of supplying a proposal computer in Helios
> (https://bugs.eclipse.org/258999).
If I wanted to go to the trouble of creating a new extension to sse
which allows this functionality and contribute this back, is there any
reason to suspect that this would be rejected? For example does the
idea of what I suggest go against the fundamental goals of this project?
|
|
|
Re: Add propertysheet contributions to existing html editor [message #539455 is a reply to message #539219] |
Thu, 10 June 2010 18:47 |
Eclipse User |
|
|
|
Originally posted by: adataylo.cisco.com
On 6/9/2010 8:32 PM, Nitin Dahyabhai wrote:
> You can't, you'll have to declare your own extension to
> org.eclipse.ui.editors and specify that as your target ID.
>
> As a side note, the contentassistprocessor provisional configuration is
> deprecated in favor of supplying a proposal computer in Helios
> (https://bugs.eclipse.org/258999).
If I wanted to go to the trouble of creating a new extension to sse
which allows this functionality and contribute this back, is there any
reason to suspect that this would be rejected? For example does the
idea of what I suggest go against the fundamental goals of this project?
|
|
|
Re: Add propertysheet contributions to existing html editor [message #539684 is a reply to message #539454] |
Fri, 11 June 2010 20:25 |
|
On 6/10/2010 2:44 PM, adam taylor wrote:
> On 6/9/2010 8:32 PM, Nitin Dahyabhai wrote:
>> You can't, you'll have to declare your own extension to
>> org.eclipse.ui.editors and specify that as your target ID.
>>
>> As a side note, the contentassistprocessor provisional configuration is
>> deprecated in favor of supplying a proposal computer in Helios
>> (https://bugs.eclipse.org/258999).
>
> If I wanted to go to the trouble of creating a new extension to sse
> which allows this functionality and contribute this back, is there any
> reason to suspect that this would be rejected? For example does the idea
> of what I suggest go against the fundamental goals of this project?
I think I'd have to understand what you're proposing, but if it has
anything to do with adding a "priority" field to the editorConfiguration
extension point, I'd reject it as the list of target IDs searched
already forms a prioritized list. But like I said, I'd need some
clarification on what's being proposed.
--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.03674 seconds