mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-30 14:08:45 +00:00
Rename picker to quick input to match VS Code terminology
This commit is contained in:
parent
ee850b5bca
commit
2e001f24f8
@ -297,7 +297,7 @@ export class CodeServerPage {
|
||||
*/
|
||||
async openFile(file: string) {
|
||||
await this.navigateMenus(["File", "Open File"])
|
||||
await this.navigatePicker([path.basename(file)])
|
||||
await this.navigateQuickInput([path.basename(file)])
|
||||
await this.waitForTab(file)
|
||||
}
|
||||
|
||||
@ -427,9 +427,10 @@ export class CodeServerPage {
|
||||
}
|
||||
|
||||
/**
|
||||
* Navigate through a currently opened picker, retrying on failure.
|
||||
* Navigate through a currently opened "quick input" widget, retrying on
|
||||
* failure.
|
||||
*/
|
||||
async navigatePicker(items: string[]): Promise<void> {
|
||||
async navigateQuickInput(items: string[]): Promise<void> {
|
||||
await this.navigateItems(items, ".quick-input-widget")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user