Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adding this. and settings. scopes to Intellisense #4500

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.',
},
];
};