alefragnani / vscode-bookmarks

Bookmarks Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks
GNU General Public License v3.0
1.65k stars 161 forks source link

[BUG] - bookmarks.navigateThroughAllFiles No Longer Works #617

Closed yanyu2015 closed 1 year ago

yanyu2015 commented 1 year ago

When I set as follows:

"bookmarks.navigateThroughAllFiles": false

It doesn't work. My VScode version is 1.79.2

alefragnani commented 1 year ago

Hi @yanyu2015 ,

Could you provide more details about not working? For me, it seems to be working just fine.

I can turn it on and off, combining with bookmarks.wrapNavigation, and everything seems to be working as expected.

Try using the Command Palette commands, instead of keyboard shortcuts. Maybe some extension is conflicting with the shortcuts used in the Bookmarks extension.

Hope this helps

yanyu2015 commented 1 year ago

Thanks! I use keyboard shortcuts to tag a bookmark. If I use the Command Palette commands, it works well. Then, I remove other shortcuts with ctrl+alt+k, and the way of keyboard shortcuts still can not work. So, how can I find the conflict between extensions? After all, using shortcut keys is more convenient than using command

alefragnani commented 1 year ago

You can open the Keyboard Shortcuts window via Preferences: Open Keyboard Shortcuts and type the shortcut, like Ctrl + Alt + L and look which other commands are conflicting.

image

Be aware that not only the Command but also the When column should be taken in consideration, as depending on when/where you are, the shortcut may not be triggered. In the image above, the same shortcut is used both my Bookmarks extension and System (VS Code itself) but using different when triggers. There is no conflict in this case because the when clause differs.

Then, you will have to choose which one will remain intact, and which command must have the shortcut changed to a new one.

Hope this helps