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';
1111import { TextDocumentIdentifier } from 'vscode-languageserver-protocol' ;
1212import { languageServerOptions } from '../shared/options' ;
1313
14+ interface CopilotTrait {
15+ name : string ;
16+ value : string ;
17+ includeInPrompt ?: boolean ;
18+ promptTextOverride ?: string ;
19+ }
20+
1421interface CopilotRelatedFilesProviderRegistration {
1522 registerRelatedFilesProvider (
1623 providerId : { extensionId : string ; languageId : string } ,
1724 callback : (
1825 uri : vscode . Uri ,
1926 context : { flags : Record < string , unknown > } ,
2027 cancellationToken ?: vscode . CancellationToken
21- ) => Promise < { entries : vscode . Uri [ ] ; traits ?: { name : string ; value : string } [ ] } >
28+ ) => Promise < { entries : vscode . Uri [ ] ; traits ?: CopilotTrait [ ] } >
2229 ) : vscode . Disposable ;
2330}
2431
You can’t perform that action at this time.
0 commit comments