Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "Feature",
"description": "/review: update reference tracker checkbox label"
}
2 changes: 1 addition & 1 deletion packages/amazonq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
},
"additionalProperties": false
},
"amazonQ.showInlineCodeSuggestionsWithCodeReferences": {
"amazonQ.showCodeWithReferences": {
"type": "boolean",
"markdownDescription": "%AWS.configuration.description.amazonq%",
"default": true
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/codewhisperer/activation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export async function activate(context: ExtContext): Promise<void> {
EditorContext.updateTabSize(getTabSizeSetting())
}

if (configurationChangeEvent.affectsConfiguration('amazonQ.showInlineCodeSuggestionsWithCodeReferences')) {
if (configurationChangeEvent.affectsConfiguration('amazonQ.showCodeWithReferences')) {
ReferenceLogViewProvider.instance.update()
if (auth.isEnterpriseSsoInUse()) {
await vscode.window
Expand Down Expand Up @@ -212,7 +212,7 @@ export async function activate(context: ExtContext): Promise<void> {
if (id === 'codewhisperer') {
await vscode.commands.executeCommand(
'workbench.action.openSettings',
`@id:amazonQ.showInlineCodeSuggestionsWithCodeReferences`
`@id:amazonQ.showCodeWithReferences`
)
} else {
await openSettings('amazonQ')
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/codewhisperer/util/codewhispererSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { fromExtensionManifest } from '../../shared/settings'
import { ArrayConstructor } from '../../shared/utilities/typeConstructors'

const description = {
showInlineCodeSuggestionsWithCodeReferences: Boolean, // eslint-disable-line id-length
showCodeWithReferences: Boolean, // eslint-disable-line id-length
importRecommendationForInlineCodeSuggestions: Boolean, // eslint-disable-line id-length
shareContentWithAWS: Boolean,
workspaceIndex: Boolean,
Expand All @@ -19,7 +19,7 @@ const description = {

export class CodeWhispererSettings extends fromExtensionManifest('amazonQ', description) {
public isSuggestionsWithCodeReferencesEnabled(): boolean {
return this.get(`showInlineCodeSuggestionsWithCodeReferences`, false)
return this.get(`showCodeWithReferences`, false)
}
public isImportRecommendationEnabled(): boolean {
return this.get(`importRecommendationForInlineCodeSuggestions`, false)
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/shared/settings-amazonq.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const amazonqSettings = {
"minIdeVersion": {},
"ssoCacheError": {}
},
"amazonQ.showInlineCodeSuggestionsWithCodeReferences": {},
"amazonQ.showCodeWithReferences": {},
"amazonQ.allowFeatureDevelopmentToRunCodeAndTests": {},
"amazonQ.importRecommendationForInlineCodeSuggestions": {},
"amazonQ.shareContentWithAWS": {},
Expand Down
Loading