Skip to content

Commit 6cde0c4

Browse files
committed
Auto-open path completion on separator in workspace dialog
Typing a path separator (/ or \) now automatically opens the content assist popup in the Choose Workspace dialog, instead of requiring Ctrl+Space. Ctrl+Space continues to work as a manual trigger.
1 parent afacf90 commit 6cde0c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/DirectoryProposalContentAssist.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public DirectoryProposalAutoCompleteField(Control control, IControlContentAdapte
165165
proposalProvider = new FileNameSubstringMatchContentProposalProvider();
166166
KeyStroke triggeringKeyStroke = safeKeyStroke("Ctrl+Space"); //$NON-NLS-1$
167167
adapter = new OpenableContentProposalAdapter(control, controlContentAdapter, proposalProvider,
168-
triggeringKeyStroke, null);
168+
triggeringKeyStroke, new char[] { '/', '\\' });
169169
adapter.setPropagateKeys(true);
170170
adapter.setProposalAcceptanceStyle(ContentProposalAdapter.PROPOSAL_REPLACE);
171171
}

0 commit comments

Comments
 (0)