mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
add description to quick pick item (#19356)
This commit is contained in:
@@ -291,10 +291,12 @@ export async function promptForBindingType(funcName?: string): Promise<BindingTy
|
|||||||
const inputOutputItems: (vscode.QuickPickItem & { type: BindingType })[] = [
|
const inputOutputItems: (vscode.QuickPickItem & { type: BindingType })[] = [
|
||||||
{
|
{
|
||||||
label: constants.input,
|
label: constants.input,
|
||||||
|
description: constants.inputDescription,
|
||||||
type: BindingType.input
|
type: BindingType.input
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: constants.output,
|
label: constants.output,
|
||||||
|
description: constants.outputDescription,
|
||||||
type: BindingType.output
|
type: BindingType.output
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ export const yesString = localize('yesString', "Yes");
|
|||||||
export const noString = localize('noString', "No");
|
export const noString = localize('noString', "No");
|
||||||
export const input = localize('input', "Input");
|
export const input = localize('input', "Input");
|
||||||
export const output = localize('output', "Output");
|
export const output = localize('output', "Output");
|
||||||
|
export const inputDescription = localize('inputDescription', "Retrieves data from a database");
|
||||||
|
export const outputDescription = localize('outputDescription', "Save data to a database");
|
||||||
export function selectBindingType(funcName?: string): string { return funcName ? localize('selectBindingTypeToSpecifiedFunction', "Select type of binding for the function '{0}'", funcName) : localize('selectBindingType', "Select type of binding"); }
|
export function selectBindingType(funcName?: string): string { return funcName ? localize('selectBindingTypeToSpecifiedFunction', "Select type of binding for the function '{0}'", funcName) : localize('selectBindingType', "Select type of binding"); }
|
||||||
export const selectAzureFunction = localize('selectAzureFunction', "Select an Azure function in the current file to add SQL binding to");
|
export const selectAzureFunction = localize('selectAzureFunction', "Select an Azure function in the current file to add SQL binding to");
|
||||||
export const sqlTableOrViewToQuery = localize('sqlTableOrViewToQuery', "SQL table or view to query");
|
export const sqlTableOrViewToQuery = localize('sqlTableOrViewToQuery', "SQL table or view to query");
|
||||||
|
|||||||
Reference in New Issue
Block a user