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:
parent
93b627eabc
commit
8a3a52b54a
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue