File tree Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "type" : " Feature" ,
3+ "description" : " /review: update reference tracker checkbox label"
4+ }
Original file line number Diff line number Diff line change 122122 },
123123 "additionalProperties" : false
124124 },
125- "amazonQ.showInlineCodeSuggestionsWithCodeReferences " : {
125+ "amazonQ.showCodeWithReferences " : {
126126 "type" : " boolean" ,
127127 "markdownDescription" : " %AWS.configuration.description.amazonq%" ,
128128 "default" : true
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ export async function activate(context: ExtContext): Promise<void> {
156156 EditorContext . updateTabSize ( getTabSizeSetting ( ) )
157157 }
158158
159- if ( configurationChangeEvent . affectsConfiguration ( 'amazonQ.showInlineCodeSuggestionsWithCodeReferences ' ) ) {
159+ if ( configurationChangeEvent . affectsConfiguration ( 'amazonQ.showCodeWithReferences ' ) ) {
160160 ReferenceLogViewProvider . instance . update ( )
161161 if ( auth . isEnterpriseSsoInUse ( ) ) {
162162 await vscode . window
@@ -212,7 +212,7 @@ export async function activate(context: ExtContext): Promise<void> {
212212 if ( id === 'codewhisperer' ) {
213213 await vscode . commands . executeCommand (
214214 'workbench.action.openSettings' ,
215- `@id:amazonQ.showInlineCodeSuggestionsWithCodeReferences `
215+ `@id:amazonQ.showCodeWithReferences `
216216 )
217217 } else {
218218 await openSettings ( 'amazonQ' )
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { fromExtensionManifest } from '../../shared/settings'
66import { ArrayConstructor } from '../../shared/utilities/typeConstructors'
77
88const description = {
9- showInlineCodeSuggestionsWithCodeReferences : Boolean , // eslint-disable-line id-length
9+ showCodeWithReferences : Boolean , // eslint-disable-line id-length
1010 importRecommendationForInlineCodeSuggestions : Boolean , // eslint-disable-line id-length
1111 shareContentWithAWS : Boolean ,
1212 workspaceIndex : Boolean ,
@@ -19,7 +19,7 @@ const description = {
1919
2020export class CodeWhispererSettings extends fromExtensionManifest ( 'amazonQ' , description ) {
2121 public isSuggestionsWithCodeReferencesEnabled ( ) : boolean {
22- return this . get ( `showInlineCodeSuggestionsWithCodeReferences ` , false )
22+ return this . get ( `showCodeWithReferences ` , false )
2323 }
2424 public isImportRecommendationEnabled ( ) : boolean {
2525 return this . get ( `importRecommendationForInlineCodeSuggestions` , false )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export const amazonqSettings = {
2020 "minIdeVersion" : { } ,
2121 "ssoCacheError" : { }
2222 } ,
23- "amazonQ.showInlineCodeSuggestionsWithCodeReferences " : { } ,
23+ "amazonQ.showCodeWithReferences " : { } ,
2424 "amazonQ.allowFeatureDevelopmentToRunCodeAndTests" : { } ,
2525 "amazonQ.importRecommendationForInlineCodeSuggestions" : { } ,
2626 "amazonQ.shareContentWithAWS" : { } ,
You can’t perform that action at this time.
0 commit comments