Yesterday I blogged about the tooltip that CompletionItem.createToolTipTask() can give you. However, in order to invoke that tooltip, you need to be inside the code completion box and then press Alt-P when an entry is selected. Wouldn't it be cool if you could get a tooltip without even opening the code completion box? Well, fortunately you can set a tooltip in the CompletionProvider, by using CompletionResultSet.setToolTip().
Post comment (0)