Skip to content

Commit 4be6061

Browse files
committed
Remove annoying beep from content assist when no proposals found
The system beep fired every time content assist was manually invoked but had no proposals to show, which is disruptive and unhelpful.
1 parent 5b68739 commit 4be6061

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -550,12 +550,6 @@ public String showProposals(final boolean autoActivated) {
550550
*/
551551
boolean hideWhenNoProposals(boolean autoActivated) {
552552
if (autoActivated || !fContentAssistant.isShowEmptyList()) {
553-
if (!autoActivated) {
554-
Control control= fContentAssistSubjectControlAdapter.getControl();
555-
if (control != null && !control.isDisposed()) {
556-
control.getDisplay().beep();
557-
}
558-
}
559553
hide();
560554
return true;
561555
}

0 commit comments

Comments
 (0)