From 5530d20463d90c9dd569582a072672ac3a2de03b Mon Sep 17 00:00:00 2001 From: "Hongyang Du (hond)" Date: Fri, 27 Dec 2019 17:01:09 +0800 Subject: [PATCH] feat: Update LG and built in expression functions in LSP (#1790) * update LG and builtin functions * update comments * add indicesAndValues function Co-authored-by: Chris Whitten Co-authored-by: Andy Brown Co-authored-by: Dong Lei --- .../src/builtinFunctionsMap.ts | 122 ++++++++++++++---- 1 file changed, 99 insertions(+), 23 deletions(-) diff --git a/Composer/packages/tools/language-servers/language-generation/src/builtinFunctionsMap.ts b/Composer/packages/tools/language-servers/language-generation/src/builtinFunctionsMap.ts index 6e7b7a8e4d..ec3d646dfc 100644 --- a/Composer/packages/tools/language-servers/language-generation/src/builtinFunctionsMap.ts +++ b/Composer/packages/tools/language-servers/language-generation/src/builtinFunctionsMap.ts @@ -18,7 +18,7 @@ export class FunctionEntity { public Introduction: string; } -// todo should add params info and other info og the function +// https://github.com/microsoft/BotBuilder-Samples/blob/master/experimental/common-expression-language/prebuilt-functions.md export const buildInfunctionsMap: Map = new Map([ [ 'add', @@ -225,14 +225,6 @@ export const buildInfunctionsMap: Map = new Map = new Map = new Map = new Map = new Map = new Map