Skip to content

Commit

Permalink
Adding this and settings scopes (microsoft#4500)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
  • Loading branch information
LouisEugeneMSFT and cwhitten committed Oct 23, 2020
1 parent 912d586 commit cb49418
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,19 @@ export const variableScopesResolver = (): CompletionItem[] => {
documentation:
'turn is associated with a single turn. You can also think of this as the bot handling a single message from the user. Properties in the turn scope are discarded at the end of the turn.',
},
{
label: 'this.',
kind: CompletionItemKind.Enum,
insertText: 'this.',
documentation:
"this is associated with the active action's properties. It is helpful for input actions that last beyond a single turn of the conversation. Two properties already on the scope are this.value and this.turnCount.",
},
{
label: 'settings.',
kind: CompletionItemKind.Enum,
insertText: 'settings.',
documentation:
'settings is associated with any information that is made available to the bot via the platform specific settings configuration system, for example if you are developing your bot using C#, these settings will appear in the appsettings.json file.',
},
];
};

0 comments on commit cb49418

Please sign in to comment.