mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Show the kind/type in the hover also,
This commit is contained in:
parent
3752b22c4e
commit
265e894bfa
1 changed files with 2 additions and 2 deletions
|
@ -99,8 +99,8 @@ public class DefaultCEditorTextHover implements ITextHover
|
|||
if(tags != null && tags.length > 0) {
|
||||
ITagEntry selectedTag = selectTag(tags);
|
||||
// Show only the first element
|
||||
buffer.append("<b>" + HTMLPrinter.convertToHTMLContent(expression) +
|
||||
"()</b> - " + selectedTag.getIFile().getFullPath().toString() + "[" + selectedTag.getLineNumber()+"]" );
|
||||
buffer.append("<b> " + TagFlags.value(selectedTag.getKind()) + " " + HTMLPrinter.convertToHTMLContent(expression) +
|
||||
"</b> - " + selectedTag.getIFile().getFullPath().toString() + "[" + selectedTag.getLineNumber()+"]" );
|
||||
// Now add the pattern
|
||||
buffer.append("<br><br>" + HTMLPrinter.convertToHTMLContent(selectedTag.getPattern()));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue