Skip to content

allow recent commands to be pinned - #158037

Merged
Megan Rogge (meganrogge) merged 45 commits into
mainfrom
merogge/pin
Aug 18, 2022
Merged

Megan Rogge (meganrogge) merged 45 commits into
mainfrom
merogge/pin

Conversation

@meganrogge

@meganrogge Megan Rogge (meganrogge) commented Aug 12, 2022 •

Copy link
Copy Markdown
Collaborator

fixes #154388
fixes #157726
fixes #131128

Also includes a repo-wide change to replace IQuickPickSeparator | IQuickpickItem w BaseQuickPickItem, something that's bothered me for awhile

@Tyriar

Copy link
Copy Markdown
Contributor

Some checks errors:

$ tsc -p src/tsconfig.monaco.json --noEmit
Error: src/vs/platform/quickinput/browser/quickPickPin.ts(9,3[8](https://github.com/microsoft/vscode/runs/7884240759?check_suite_focus=true#step:10:9)): error TS6133: 'IQuickPickItemButtonEvent' is declared but its value is never read.
Error: src/vs/platform/quickinput/browser/quickPickPin.ts(23,86): error TS2345: Argument of type 'IQuickPickItemButtonEvent<IQuickPickItem>' is not assignable to parameter of type 'IQuickPickItem'.
  Property 'label' is missing in type 'IQuickPickItemButtonEvent<IQuickPickItem>' but required in type 'IQuickPickItem'.
Error: src/vs/platform/quickinput/browser/quickPickPin.ts(37,33): error TS233[9](https://github.com/microsoft/vscode/runs/7884240759?check_suite_focus=true#step:10:10): Property 'item' does not exist on type 'Event'.
Error: src/vs/platform/quickinput/browser/quickPickPin.ts(37,82): error TS2339: Property 'item' does not exist on type 'Event'.
Error: src/vs/platform/quickinput/browser/quickPickPin.ts(37,[13](https://github.com/microsoft/vscode/runs/7884240759?check_suite_focus=true#step:10:14)0): error TS2339: Property 'item' does not exist on type 'Event'.
error Command failed with exit code 2.
$ node build/eslint
Warning: [17:2[9](https://github.com/microsoft/vscode/runs/7884240717?check_suite_focus=true#step:13:10):39] /home/runner/work/vscode/vscode/src/vs/platform/quickinput/browser/quickPickPin.ts: line 37, col 26, Warning - Unexpected use of 'event'. (no-restricted-globals)
Warning: /home/runner/work/vscode/vscode/src/vs/platform/quickinput/browser/quickPickPin.ts: line 37, col 76, Warning - Unexpected use of 'event'. (no-restricted-globals)
Warning: /home/runner/work/vscode/vscode/src/vs/platform/quickinput/browser/quickPickPin.ts: line 37, col 124, Warning - Unexpected use of 'event'. (no-restricted-globals)
[compile     ] [17:30:39] Error: /home/runner/work/vscode/vscode/src/vs/platform/quickinput/browser/quickPickPin.ts(9,38): 'IQuickPickItemButtonEvent' is declared but its value is never read.
[compile     ] [17:30:39] Error: /home/runner/work/vscode/vscode/src/vs/platform/quickinput/browser/quickPickPin.ts(23,86): Argument of type 'IQuickPickItemButtonEvent<IQuickPickItem>' is not assignable to parameter of type 'IQuickPickItem'.
[compile     ]   Property 'label' is missing in type 'IQuickPickItemButtonEvent<IQuickPickItem>' but required in type 'IQuickPickItem'.
[compile     ] [17:30:39] Error: /home/runner/work/vscode/vscode/src/vs/platform/quickinput/browser/quickPickPin.ts(37,33): Property 'item' does not exist on type 'Event'.
[compile     ] [17:30:39] Error: /home/runner/work/vscode/vscode/src/vs/platform/quickinput/browser/quickPickPin.ts(37,82): Property 'item' does not exist on type 'Event'.
[compile     ] [17:30:39] Error: /home/runner/work/vscode/vscode/src/vs/platform/quickinput/browser/quickPickPin.ts(37,130): Property 'item' does not exist on type 'Event'.
[compile     ] [17:30:39] Finished compilation with 5 errors after 142950 ms

@TylerLeonhardt TylerLeonhardt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@meganrogge
Megan Rogge (meganrogge) deleted the merogge/pin branch August 18, 2022 22:22
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

3 participants