add recently opened file snippets
This commit is contained in:
parent
e6ab397e1c
commit
2f9e5ebcd8
1 changed files with 3 additions and 0 deletions
|
|
@ -230,6 +230,7 @@ export const getAllSnippetsWithoutRace = async ({
|
|||
ideSnippets,
|
||||
diffSnippets,
|
||||
clipboardSnippets,
|
||||
recentlyOpenedFileSnippets
|
||||
] = await Promise.all([
|
||||
contextRetrievalService.getRootPathSnippets(helper),
|
||||
contextRetrievalService.getSnippetsFromImportDefinitions(helper),
|
||||
|
|
@ -238,6 +239,7 @@ export const getAllSnippetsWithoutRace = async ({
|
|||
: [],
|
||||
[], // racePromise(getDiffSnippets(ide)) // temporarily disabled, see https://github.com/continuedev/continue/pull/5882,
|
||||
getClipboardSnippets(ide),
|
||||
getSnippetsFromRecentlyOpenedFiles(helper, ide)
|
||||
]);
|
||||
|
||||
return {
|
||||
|
|
@ -248,5 +250,6 @@ export const getAllSnippetsWithoutRace = async ({
|
|||
diffSnippets,
|
||||
clipboardSnippets,
|
||||
recentlyVisitedRangesSnippets: helper.input.recentlyVisitedRanges,
|
||||
recentlyOpenedFileSnippets
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue