show generic tooltip on bubble, #37228

This commit is contained in:
Johannes Rieken
2017-11-02 14:12:52 +01:00
parent b3e904f54b
commit f0d7a9f9df
2 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -190,9 +190,13 @@
"name": "vs/workbench/services/workspace",
"project": "vscode-workbench"
},
{
"name": "vs/workbench/services/decorations",
"project": "vscode-workbench"
},
{
"name": "setup_messages",
"project": "vscode-workbench"
}
]
}
}
@@ -16,6 +16,7 @@ import { IThemeService, ITheme } from 'vs/platform/theme/common/themeService';
import { IdGenerator } from 'vs/base/common/idGenerator';
import { IIterator } from 'vs/base/common/iterator';
import { isFalsyOrWhitespace } from 'vs/base/common/strings';
import { localize } from 'vs/nls';
class DecorationRule {
@@ -127,7 +128,7 @@ class DecorationStyles {
if (onlyChildren) {
// show items from its children only
badgeClassName = rule.bubbleBadgeClassName;
tooltip = '';
tooltip = localize('bubbleTitle', "contains emphasized items");
}
return {