1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 04:15:35 +02:00

add the value part of the tootip for macros.

This commit is contained in:
Alain Magloire 2003-09-09 19:09:14 +00:00
parent 93b627eabc
commit 8a3a52b54a

View file

@ -108,6 +108,7 @@ public class MakefileCompletionProcessor implements IContentAssistProcessor {
}
if (name != null && name.startsWith(wordPart.getString())) {
IContextInformation info = new ContextInformation(name, infoString);
String displayString = (name.equals(infoString) ? name : name + " - " + infoString);
ICompletionProposal result =
new CompletionProposal(
name,
@ -115,7 +116,7 @@ public class MakefileCompletionProcessor implements IContentAssistProcessor {
wordPart.getString().length(),
name.length(),
image,
name,
displayString,
info,
infoString);
proposalList.add(result);