PT #160634135: Show symbols in workspace by default

This commit is contained in:
BoykoAlex
2018-09-19 16:02:54 -04:00
parent 0bd3c3e08d
commit 742ef098f9

View File

@@ -64,7 +64,7 @@ public class GotoSymbolHandler extends AbstractHandler {
final Shell shell = HandlerUtil.getActiveShell(event);
final ITextEditor textEditor = (ITextEditor) part;
GotoSymbolDialogModel model = new GotoSymbolDialogModel(getKeybindings(event), InFileSymbolsProvider.createFor(textEditor), InWorkspaceSymbolsProvider.createFor(event))
GotoSymbolDialogModel model = new GotoSymbolDialogModel(getKeybindings(event), InWorkspaceSymbolsProvider.createFor(event), InFileSymbolsProvider.createFor(textEditor))
.setOkHandler(symbolInformation -> {
if (symbolInformation!=null) {
Location location = symbolInformation.getLocation();