Skip to content

Commit 0717086

Browse files
committed
Refactor search-files functionality into a separate feature and integrate it into imported and referencing files selection commands
- extract the core file searching logic to `apps/editor/src/features` because we are going to use the phrase/keywords/intelligent quick pick by other commands by providing a static set of files. - fix translations in `apps/editor/src/commands/search-files-command/search-files-commands.ts` - in `apps/editor/src/commands/select-imported-files-command/select-imported-files-command.ts` and `apps/editor/src/commands/select-referencing-files-command.ts` add 'search' action button to the left of 'close' button. Should open 'search files' feature on the found set of files. - place 'back arrow' on 'search mode' when invoked from `apps/editor/src/commands/select-imported-files-command/select-imported-files-command.ts` or `apps/editor/src/commands/select-referencing-files-command.ts`
1 parent dcd0f4e commit 0717086

22 files changed

Lines changed: 925 additions & 832 deletions

‎apps/editor/src/commands/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export * from './save-all-command'
1919
export * from './context-restoration/save'
2020
export * from './context-restoration/restore'
2121
export * from './set-ranges-command'
22-
export * from './search-files-command'
22+
export * from './search-files-commands'
2323
export * from './select-referencing-files-command'
2424
export * from './select-definition-file-command'
2525
export * from './select-imported-files-command'

‎apps/editor/src/commands/search-files-command/index.ts‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎apps/editor/src/commands/search-files-command/search-files-commands.ts‎

Lines changed: 0 additions & 368 deletions
This file was deleted.

‎apps/editor/src/commands/search-files-command/utils/get-target-folder-path.ts‎

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)