Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for running commands in "command palette". #23

Open
saif97 opened this issue Jan 14, 2024 · 2 comments
Open

Support for running commands in "command palette". #23

saif97 opened this issue Jan 14, 2024 · 2 comments

Comments

@saif97
Copy link

saif97 commented Jan 14, 2024

Is there a way I can call the commands using the Command Palette? My use case is simple: I want to toggle the use of gitIgnore content to show / hide the file search results. Currently, I can call it via keyboard shortcut but It's more ideal for me to use the command palette.

    "settings.cycle": [
        {
            "id": "toggle_gitIgnore_search",
            "overrideWorkspaceSettings": false,
            "values": [
                {
                    "search.useIgnoreFiles": true,
                    "search.useParentIgnoreFiles": true,
                },
                {
                    "search.useIgnoreFiles": false,
                    "search.useParentIgnoreFiles": false,
                }
            ]
        }
    ],

If this feature is not present, can you share your thoughts? I'm thinking of contributing to enable this feature.

@mhagnumdw
Copy link

Good addition for sure! With many shortcuts, it is easier to remember/find through the command palette.

@saif97
Copy link
Author

saif97 commented Jun 30, 2024

@mhagnumdw, written an extension that does that. It works with any keyboard shortcut.
https://marketplace.visualstudio.com/items?itemName=Saif-hakeam.keybind-palette-interop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants