Skip to content

Commit ba03f63

Browse files
committed
comment out title from IDE side
1 parent 771fae8 commit ba03f63

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

packages/amazonq/src/lsp/chat/commands.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { window } from 'vscode'
88
import { AmazonQChatViewProvider } from './webviewProvider'
99
import { CodeScanIssue } from 'aws-core-vscode/codewhisperer'
1010
import { EditorContextExtractor } from 'aws-core-vscode/codewhispererChat'
11-
import { DefaultAmazonQAppInitContext } from 'aws-core-vscode/amazonq'
11+
// import { DefaultAmazonQAppInitContext } from 'aws-core-vscode/amazonq'
1212

1313
/**
1414
* TODO: Re-enable these once we can figure out which path they're going to live in
@@ -20,13 +20,14 @@ export function registerCommands(provider: AmazonQChatViewProvider) {
2020
registerGenericCommand('aws.amazonq.refactorCode', 'Refactor', provider),
2121
registerGenericCommand('aws.amazonq.fixCode', 'Fix', provider),
2222
registerGenericCommand('aws.amazonq.optimizeCode', 'Optimize', provider),
23-
Commands.register('aws.amazonq.generateUnitTests', async () => {
24-
DefaultAmazonQAppInitContext.instance.getAppsToWebViewMessagePublisher().publish({
25-
sender: 'testChat',
26-
command: 'test',
27-
type: 'chatMessage',
28-
})
29-
}),
23+
registerGenericCommand('aws.amazonq.generateUnitTests', 'Generate Tests', provider),
24+
// Commands.register('aws.amazonq.generateUnitTests', async () => {
25+
// DefaultAmazonQAppInitContext.instance.getAppsToWebViewMessagePublisher().publish({
26+
// sender: 'testChat',
27+
// command: 'test',
28+
// type: 'chatMessage',
29+
// })
30+
// }),
3031
Commands.register('aws.amazonq.explainIssue', async (issue: CodeScanIssue) => {
3132
void focusAmazonQPanel().then(async () => {
3233
const editorContextExtractor = new EditorContextExtractor()

packages/amazonq/src/lsp/client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ export async function startLanguageServer(
135135
developerProfiles: true,
136136
pinnedContextEnabled: true,
137137
mcp: true,
138+
reroute: true,
138139
},
139140
window: {
140141
notifications: true,

packages/core/src/amazonq/webview/ui/quickActions/generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class QuickActionGenerator {
4242
// TODO: Update acc to UX
4343
const quickActionCommands = [
4444
{
45-
groupName: `Q Developer agentic capabilities`,
45+
// groupName: `Q Developer agentic capabilities`,
4646
commands: [
4747
...(this.isFeatureDevEnabled && !this.disabledCommands.includes('/dev')
4848
? [

packages/core/src/amazonq/webview/ui/quickActions/handler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ export class QuickActionHandler {
182182
* we have to manually create one if a testgen tab
183183
* wasn't previously created
184184
*/
185-
if (!tabID) {
186-
tabID = this.mynahUI.updateStore('', {})
187-
}
185+
// if (!tabID) {
186+
// tabID = this.mynahUI.updateStore('', {})
187+
// }
188188

189189
// if there is no test tab, open a new one
190190
const affectedTabId: string | undefined = this.addTab(tabID)

0 commit comments

Comments
 (0)