Vim: Breaks VSCode's Breadcrumbs filtering abilities

Created on 26 Aug 2019  路  14Comments  路  Source: VSCodeVim/Vim

Describe the bug
With VSCode Vim disabled, you can invoke the breadcrumbs dropdown and start typing to quickly navigate through the list of symbols on the current document.

This extension seems to conflict with that, as when you type inside the breadcrumbs dropdown nothing happens.

To Reproduce

  1. Run "Focus Breadcrumbs" command.
  2. Start typing

Expected behavior
You should see your input on the top right of the breadcrumbs dropdown, and the corresponding matches being highlighted.

kinbug

Most helpful comment

So this is true for all vscode trees. Every tree supports a filter. So for Explorer, Git, Debug Console, Debug Variables and many more...

All 14 comments

Likely we're eating that input and need to change a when clause to take into account breadcrumbsActive and/or breadcrumbsVisible.

Bump -- still seeing this as of the 1.11.3 release. If it would be helpful I could look into where this change would need to take place? I enjoy the extension but I use breadcrumbs enough that this is really frustrating.

Any way to get this disabled during breadcrumbs is open?

I believe you can type / to start searching like you do in the sidebar with the VIM extension. Or am I misunderstanding?

I will try the suggestion.

I believe you can type / to start searching like you do in the sidebar with the VIM extension. Or am I misunderstanding?

It does not work....

Any updates on this ?

I believe you can type / to start searching like you do in the sidebar with the VIM extension.

This workaround did it for me in VSCode 1.45.1 and Vim 1.14.5. Thanks.

On Vscode 1.46.1 and vscodevim v1.14.5 is still not working for me, I wonder if is something else about my system that is causing this issue.

I found a workarround, I'm in Vscode version : 1.47.3. When you do "open folder" with Vscode I can't filter the breadcrumbs. If instead I open a new VScode window and transfer one the files to it I can start filtering the breadcrumbs on that window, in the old window the problem persists.

I figured out by trying other versions of the the extension that the problem started in version 1.0.6.

I found the problem: await g.VsCodeContext.Set("listAutomaticKeyboardNavigation",!1) this disables the automatic filtering both on breadcrumbs and on file explorer. I don't know what is the impact for other functionalities of the extension, but i changed this locally and now it is working, by setting it to 1.

I experience the same problem when using the Vim extension with the debug variable filter feature. See here the original issue I posted on the vscode github.

So this is true for all vscode trees. Every tree supports a filter. So for Explorer, Git, Debug Console, Debug Variables and many more...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ACollectionOfAtoms picture ACollectionOfAtoms  路  3Comments

spinningarrow picture spinningarrow  路  3Comments

st-schneider picture st-schneider  路  3Comments

stefanoio picture stefanoio  路  3Comments

liamdawson picture liamdawson  路  3Comments