|
Re: extend javascript editor [message #1015319 is a reply to message #1012550] |
Thu, 28 February 2013 08:32 |
|
On 2/21/2013 2:52 PM, jerome felix wrote:
> Hi,
>
> I'm trying to do a plugin who extends the javascript editor in order to
> change the hover behaviour.
>
> I found some examples and i created this extension point:
>
> <extension
> name="js_hover"
> point="org.eclipse.wst.jsdt.ui.javaEditorTextHovers">
> <hover
> id="jshover.JavascriptHover"
> class="jseditor.jshover.JavascriptHover"
> label="%javaVariableHover"> </hover>
> </extension>
>
>
> And I created the class: JavascriptHover who implements
> IJavaEditorTextHover, ITextHoverExtension, ITextHoverExtension2.
>
> When I launch the plugin and open a javascript file, nothing happens on
> hover.
>
> Maybe I'm missing something...
Only that first one is really involved with the hover. Are you using a
new workspace for that runtime launcher when trying this and/or clearing
the "Configuration area" of the existing runtime workspace (check the
Configuration tab of the Eclipse Application launcher)? Have you also
tweaked the preferences as needed on the JavaScript->Editor->Hovers
Preference Page?
_
Nitin Dahyabhai
Eclipse Web Tools Platform
[Updated on: Thu, 28 February 2013 08:36] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.05415 seconds