File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,21 @@ import { UriConverter } from './uriConverter';
11
11
import { TextDocumentIdentifier } from 'vscode-languageserver-protocol' ;
12
12
import { languageServerOptions } from '../shared/options' ;
13
13
14
+ interface CopilotTrait {
15
+ name : string ;
16
+ value : string ;
17
+ includeInPrompt ?: boolean ;
18
+ promptTextOverride ?: string ;
19
+ }
20
+
14
21
interface CopilotRelatedFilesProviderRegistration {
15
22
registerRelatedFilesProvider (
16
23
providerId : { extensionId : string ; languageId : string } ,
17
24
callback : (
18
25
uri : vscode . Uri ,
19
26
context : { flags : Record < string , unknown > } ,
20
27
cancellationToken ?: vscode . CancellationToken
21
- ) => Promise < { entries : vscode . Uri [ ] ; traits ?: { name : string ; value : string } [ ] } >
28
+ ) => Promise < { entries : vscode . Uri [ ] ; traits ?: CopilotTrait [ ] } >
22
29
) : vscode . Disposable ;
23
30
}
24
31
You can’t perform that action at this time.
0 commit comments