question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Normalize open*settings commands args

See original GitHub issue
  • VSCode Version: 1.41.1
  • OS Version: Win10 1909

Steps to Reproduce:

In an extension:

  1. commands.executeCommand(‘workbench.action.openWorkspaceSettings’, ‘telemetry’);
  2. Workspace settings open, but without a search filter

No, as there is nothing to run that code

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:12
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
SpenceV1commented, Mar 21, 2021

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.

3reactions
rainforecommented, Apr 30, 2020

Same issue. I just want to open the workspace settings and filter by my extension name.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found