-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Command Center With Help #163635
Command Center With Help #163635
Conversation
}); | ||
} | ||
} | ||
public getQuickAccessProviders(): IHelpQuickAccessPickItem[] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TylerLeonhardt personal taste is to not use public
but have it removed
// do not rewrite value from user typing! | ||
preserveValue: true, | ||
// persist the value of the providerOptions from the original showing | ||
providerOptions: providerOptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TylerLeonhardt easier as just providerOptions
@@ -52,6 +52,10 @@ import { withNullAsUndefined } from 'vs/base/common/types'; | |||
import { Codicon } from 'vs/base/common/codicons'; | |||
import { IUriIdentityService } from 'vs/platform/uriIdentity/common/uriIdentity'; | |||
import { stripIcons } from 'vs/base/common/iconLabels'; | |||
import { HelpQuickAccessProvider } from 'vs/platform/quickinput/browser/helpQuickAccess'; | |||
import { CommandsQuickAccessProvider } from 'vs/workbench/contrib/quickaccess/browser/commandsQuickAccess'; | |||
import { DEBUG_QUICK_ACCESS_PREFIX } from 'vs/workbench/contrib/debug/browser/debugCommands'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TylerLeonhardt not super happy with a dependency of search
to debug
and task
component only to get this working. Would be great if this can be done only by depending on the help provider.
👏 , lets sync today on this change for some feedback I have. |
Fixes #158638
Now when you launch the command center you get:
Additionally, if you go into a provider (say
>
) and then backspace out of it, thus returning toGo to file...
you still get the Help.To be clear, this only shows when you click on the command center. Cmd+P is not impacted at all.
we can improve on this later with pills and whatnot, but this gives the command center a bit more utility than just launching Cmd+P.
cc @daviddossett
gonna cc @bpasero for a late review when you're back from being OOF