File tree Expand file tree Collapse file tree
apps/editor/src/commands/context-restoration/save
packages/shared/src/constants Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ export const save_file_selection_command = (params: {
1515 async ( ) => {
1616 const checked_files = params . workspace_provider . get_checked_files ( )
1717 if ( checked_files . length == 0 ) {
18- vscode . window . showWarningMessage (
19- dictionary . warning_message . NOTHING_IN_CONTEXT_TO_SAVE
18+ vscode . window . showInformationMessage (
19+ dictionary . information_message . NOTHING_IN_CONTEXT_TO_SAVE
2020 )
2121 return
2222 }
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ export const dictionary = {
66
77 information_message : {
88 TASK_DELETED : 'Task deleted.' ,
9+ NOTHING_IN_CONTEXT_TO_SAVE : 'There is nothing in your context to save.' ,
910 ALL_CHECKED_FILES_UNCAHNGED_SINCE_COMMIT : (
1011 folder_name : string ,
1112 commit_hash : string
@@ -85,7 +86,6 @@ export const dictionary = {
8586 'Code completions are not supported with active text selection.' ,
8687 CANNOT_REFERENCE_FILE_OUTSIDE_WORKSPACE :
8788 'Cannot reference file outside of the workspace.' ,
88- NOTHING_IN_CONTEXT_TO_SAVE : 'There is nothing in your context to save.' ,
8989 NO_OPEN_EDITORS_SELECTED : 'No open editors selected.' ,
9090 NO_EDITOR_OPEN : 'No editor is open.' ,
9191 CANNOT_COPY_PROMPT_IN_CODE_COMPLETION_WITH_SELECTION :
You can’t perform that action at this time.
0 commit comments