Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #100068 Better 'Read More/Less' tips on suggest widget controls #100070

Merged
merged 1 commit into from
Jun 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/vs/editor/contrib/suggest/suggestWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class ItemRenderer implements IListRenderer<CompletionItem, ISuggestionTemplateD
data.detailsLabel = append(data.right, $('span.details-label'));

data.readMore = append(data.right, $('span.readMore' + suggestMoreInfoIcon.cssSelector));
data.readMore.title = nls.localize('readMore', "Read More...{0}", this.triggerKeybindingLabel);
data.readMore.title = nls.localize('readMore', "Read More ({0})", this.triggerKeybindingLabel);

const configureFont = () => {
const options = this.editor.getOptions();
Expand Down Expand Up @@ -321,7 +321,7 @@ class SuggestionDetails {

this.header = append(this.body, $('.header'));
this.close = append(this.header, $('span' + Codicon.close.cssSelector));
this.close.title = nls.localize('readLess', "Read less...{0}", this.kbToggleDetails);
this.close.title = nls.localize('readLess', "Read Less ({0})", this.kbToggleDetails);
this.type = append(this.header, $('p.type'));

this.docs = append(this.body, $('p.docs'));
Expand Down