@@ -23,8 +23,8 @@ export const use_settings = (vscode: any) => {
2323 const [ commit_message_instructions , set_commit_message_instructions ] =
2424 useState < string | undefined > ( undefined )
2525 const [
26- attach_all_prompts_in_commit_messages_by_default ,
27- set_attach_all_prompts_in_commit_messages_by_default
26+ select_all_prompts_in_commit_messages_by_default ,
27+ set_select_all_prompts_in_commit_messages_by_default
2828 ] = useState < boolean | undefined > ( undefined )
2929 const [ edit_files_system_instructions , set_edit_files_system_instructions ] =
3030 useState < string | undefined > ( undefined )
@@ -74,7 +74,7 @@ export const use_settings = (vscode: any) => {
7474 post_message ( vscode , { command : 'GET_FIND_RELEVANT_FILES_INSTRUCTIONS' } )
7575 post_message ( vscode , { command : 'GET_COMMIT_MESSAGE_INSTRUCTIONS' } )
7676 post_message ( vscode , {
77- command : 'GET_ATTACH_ALL_PROMPTS_IN_COMMIT_MESSAGES_BY_DEFAULT '
77+ command : 'GET_SELECT_ALL_PROMPTS_IN_COMMIT_MESSAGES_BY_DEFAULT '
7878 } )
7979 post_message ( vscode , { command : 'GET_CONTEXT_SIZE_WARNING_THRESHOLD' } )
8080 post_message ( vscode , { command : 'GET_EDIT_FORMAT_INSTRUCTIONS' } )
@@ -106,9 +106,9 @@ export const use_settings = (vscode: any) => {
106106 } else if ( message . command == 'COMMIT_MESSAGE_INSTRUCTIONS' ) {
107107 set_commit_message_instructions ( message . instructions )
108108 } else if (
109- message . command == 'ATTACH_ALL_PROMPTS_IN_COMMIT_MESSAGES_BY_DEFAULT '
109+ message . command == 'SELECT_ALL_PROMPTS_IN_COMMIT_MESSAGES_BY_DEFAULT '
110110 ) {
111- set_attach_all_prompts_in_commit_messages_by_default ( message . enabled )
111+ set_select_all_prompts_in_commit_messages_by_default ( message . enabled )
112112 } else if ( message . command == 'CONTEXT_SIZE_WARNING_THRESHOLD' ) {
113113 set_context_size_warning_threshold ( message . threshold )
114114 } else if ( message . command == 'EDIT_FORMAT_INSTRUCTIONS' ) {
@@ -245,12 +245,12 @@ export const use_settings = (vscode: any) => {
245245 instructions
246246 } )
247247
248- const handle_attach_all_prompts_in_commit_messages_by_default_change = (
248+ const handle_select_all_prompts_in_commit_messages_by_default_change = (
249249 enabled : boolean
250250 ) => {
251- set_attach_all_prompts_in_commit_messages_by_default ( enabled )
251+ set_select_all_prompts_in_commit_messages_by_default ( enabled )
252252 post_message ( vscode , {
253- command : 'UPDATE_ATTACH_ALL_PROMPTS_IN_COMMIT_MESSAGES_BY_DEFAULT ' ,
253+ command : 'UPDATE_SELECT_ALL_PROMPTS_IN_COMMIT_MESSAGES_BY_DEFAULT ' ,
254254 enabled
255255 } )
256256 }
@@ -385,7 +385,7 @@ export const use_settings = (vscode: any) => {
385385 set_web_configurations,
386386 defaults,
387387 commit_message_instructions,
388- attach_all_prompts_in_commit_messages_by_default ,
388+ select_all_prompts_in_commit_messages_by_default ,
389389 edit_files_system_instructions,
390390 find_relevant_files_instructions,
391391 context_size_warning_threshold,
@@ -411,7 +411,7 @@ export const use_settings = (vscode: any) => {
411411 handle_add_web_configuration,
412412 handle_delete_web_configuration,
413413 handle_commit_instructions_change,
414- handle_attach_all_prompts_in_commit_messages_by_default_change ,
414+ handle_select_all_prompts_in_commit_messages_by_default_change ,
415415 handle_edit_files_system_instructions_change,
416416 handle_find_relevant_files_instructions_change,
417417 handle_open_editor_settings,
0 commit comments