Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Extending the Tcl plugin

In case anyone else [1] has this problem: I worked around the issue by adding a custom hover to show documentation for the commands.

This custom hover extends org.eclipse.dltk.internal.ui.text.hover.DocumentationHover and 2 overrides methods (both inherited from org.eclipse.dltk.internal.ui.text.hover.AbstractScriptEditorTextHover).

The purpose of the override is to avoid using the org.eclipse.dltk.internal.ui.text.ScriptWordFinder which tests characters using Character.isJavaIdentifierPart() and does not match the ':' character.


George

[1] https://xkcd.com/979/


Back to the top