Skip to content

Commit 9d5b269

Browse files
committed
Enable quick pick description matching and specify void return types for vscode webview api
- in the quick pick with results should search in detail - [Pasted text] [Pasted text] └── apps └── editor └── src ├── commands │ └── select-referencing-files-commands │ ├── index.ts │ ├── select-referencing-files-commands.ts │ └── utils │ ├── get-referencing-files-for-position.ts │ ├── get-referencing-files-for-uris.ts │ └── prompt-for-referencing-files.ts └── typings └── vscode-webview.d.ts
1 parent 003953a commit 9d5b269

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎apps/editor/src/commands/select-referencing-files-commands/utils/prompt-for-referencing-files.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export const prompt_for_referencing_files = async (params: {
7777
quick_pick.items = quick_pick_items
7878
quick_pick.selectedItems = current_selected_items
7979
quick_pick.canSelectMany = true
80+
quick_pick.matchOnDescription = true
8081
quick_pick.title = t('command.select-referencing-files.referencing-files')
8182

8283
const base_placeholder = t('command.select-referencing-files.select-files')
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare function acquireVsCodeApi(): {
2-
postMessage(message: any)
3-
setState(state: any)
2+
postMessage(message: any): void
3+
setState(state: any): void
44
getState(): any
55
}

0 commit comments

Comments
 (0)