Normalize open*settings commands args
See original GitHub issue- VSCode Version: 1.41.1
- OS Version: Win10 1909
Steps to Reproduce:
In an extension:
- commands.executeCommand(‘workbench.action.openWorkspaceSettings’, ‘telemetry’);
- Workspace settings open, but without a search filter
No, as there is nothing to run that code
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:11 (1 by maintainers)
Top Results From Across the Web
normalize-arguments - npm
This package just normalize order of arguments in method, so you do not need to pass all arguments into method call (eg. like...
Read more >Key commands for Global Commands in Logic Pro
Key commands for Global Commands in Logic Pro ; Region Inspector Float. Option-Shift-R ; Open Settings. Command-Comma (,) ; Open Automation Settings. Option-A....
Read more >Commands - Visual Studio Marketplace
Run one/multiple commands with arguments from Tree View / Status Bar / Quick Pick. ... openSettings Open settings with prefilled input value.
Read more >URL normalization settings · Cloudflare Rules docs
When disabled, incoming URLs are not normalized before passing to subsequent Cloudflare features. Normalize URLs to origin (default: Off).
Read more >7zip option - Gallarate Sposi
For basic needs, the only 7-Zip Command Line Reference Wizard Options. Switch names are not case sensitive, but arguments can 7-Zip wants relative...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is exactly what I need to programmatically open the workspace settings for my extension, allowing users to easily make changes. For anyone who needs this feature, execute openSettings with your search, then execute openWorkspaceSettings. It will switch the current settings window over to workspace settings while keeping your search string.
Example
vscode.commands.executeCommand('workbench.action.openSettings', 'telemetry' ); vscode.commands.executeCommand('workbench.action.openWorkspaceSettings');
Although this works, I still believe these commands should be consistent. I believe my use case is exactly why we need this, a per project/workspace settings window for extensions at the click of a button rather than multiple quickPicks.
Same issue. I just want to open the workspace settings and filter by my extension name.