Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/copilot/test/scenarios/test-explain/functions.ts
13397 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation and GitHub. All rights reserved.
3
*--------------------------------------------------------------------------------------------*/
4
function foo() {
5
console.log('foo');
6
}
7
8
function bar() {
9
console.log('bar');
10
}
11
12
function qux() { // this function doesn't get included in prompt context
13
console.log('qux');
14
}
15
16
function baz() {
17
foo();
18
bar();
19
}
20
21