mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Add variable 'isSlow' (#212657)
* Add variable 'isSlow' Since 'codebase' doesn't really work as a reference, I'm only making accessible to our agents for now * fix * Check for slow variables in parser as well
This commit is contained in:
@@ -71,7 +71,7 @@ suite('chat', () => {
|
||||
});
|
||||
|
||||
test('participant and variable', async () => {
|
||||
disposables.push(chat.registerChatVariableResolver('myVarId', 'myVar', 'My variable', 'My variable', {
|
||||
disposables.push(chat.registerChatVariableResolver('myVarId', 'myVar', 'My variable', 'My variable', false, {
|
||||
resolve(_name, _context, _token) {
|
||||
return [{ level: ChatVariableLevel.Full, value: 'myValue' }];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user