Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
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" : "Amazon Q /test, /doc, and /dev capabilities integrated into Agentic coding."
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@
<keyboard-shortcut keymap="$default" first-keystroke="meta alt A" />
</action>

<action id="aws.toolkit.jetbrains.core.services.cwc.commands.GenerateUnitTestsAction"
class="software.aws.toolkits.jetbrains.services.cwc.commands.GenerateUnitTestsAction">
<keyboard-shortcut keymap="$default" first-keystroke="meta alt T" />
</action>

<action id="aws.toolkit.jetbrains.core.services.cwc.commands.SendToPromptAction"
class="software.aws.toolkits.jetbrains.services.cwc.commands.SendToPromptAction">
<keyboard-shortcut keymap="$default" first-keystroke="meta alt S" />
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export class QuickActionGenerator {

const quickActionCommands = [
{
groupName: `Q Developer Agent for <b>Software Development</b>`,
commands: [
...(this.isFeatureDevEnabled
? [
Expand Down Expand Up @@ -78,11 +77,6 @@ export class QuickActionGenerator {
},
]
: []),
],
},
{
groupName: `Q Developer Agent for <b>Code Transformation</b>`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this stay?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK this was removed from the VSC impl

commands:[
...(this.isCodeTransformEnabled
? [
{
Expand All @@ -93,22 +87,7 @@ export class QuickActionGenerator {
]
: []),
],
},
{
groupName: 'Quick Actions',
commands: [
{
command: '/help',
icon: MynahIcons.HELP,
description: 'Learn more about Amazon Q',
},
{
command: '/clear',
icon: MynahIcons.TRASH,
description: 'Clear this session',
},
],
},
}
].filter((section) => section.commands.length > 0)

const commandUnavailability: Record<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,9 @@ private handleDocCommand(chatPrompt: ChatPrompt, tabID: string, taskName: string
* we have to manually create one if a testgen tab
* wasn't previously created
*/
if (!tabID) {
tabID = this.mynahUI?.updateStore('', {})
}
// if (!tabID) {
// tabID = this.mynahUI?.updateStore('', {})
// }
const affectedTabId: string | undefined = this.addTab(tabID)

// if there is no test tab, open a new one
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
),
history = true,
export = true,
mcpServers = true
mcpServers = true,

Check warning on line 37 in plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/flareChat/AwsServerCapabilitiesProvider.kt

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/flareChat/AwsServerCapabilitiesProvider.kt#L37

Added line #L37 was not covered by tests
// Seems like this is the only way to bounce reroute back to the LSP?
reroute = true,

Check warning on line 39 in plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/flareChat/AwsServerCapabilitiesProvider.kt

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/flareChat/AwsServerCapabilitiesProvider.kt#L39

Added line #L39 was not covered by tests
)
}
}
Expand All @@ -48,6 +50,7 @@
val history: Boolean,
val export: Boolean,
val mcpServers: Boolean,
val reroute: Boolean,

Check warning on line 53 in plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/flareChat/AwsServerCapabilitiesProvider.kt

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/flareChat/AwsServerCapabilitiesProvider.kt#L53

Added line #L53 was not covered by tests
)

data class QuickActions(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
val developerProfiles: Boolean,
val mcp: Boolean,
val pinnedContextEnabled: Boolean,
val reroute: Boolean,

Check warning on line 28 in plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/model/ExtendedClientMetadata.kt

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/model/ExtendedClientMetadata.kt#L28

Added line #L28 was not covered by tests
val workspaceFilePath: String?,
)

Expand Down Expand Up @@ -66,6 +67,7 @@
developerProfiles = true,
mcp = true,
pinnedContextEnabled = true,
reroute = true,

Check warning on line 70 in plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/model/ExtendedClientMetadata.kt

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/model/ExtendedClientMetadata.kt#L70

Added line #L70 was not covered by tests
workspaceFilePath = project.workspaceFile?.path,
),
window = WindowSettings(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ action.aws.toolkit.jetbrains.core.services.cwc.commands.ExplainCodeAction.descri
action.aws.toolkit.jetbrains.core.services.cwc.commands.ExplainCodeAction.text=Explain Code
action.aws.toolkit.jetbrains.core.services.cwc.commands.FixCodeAction.description=Fixes the selected code
action.aws.toolkit.jetbrains.core.services.cwc.commands.FixCodeAction.text=Fix Code
action.aws.toolkit.jetbrains.core.services.cwc.commands.GenerateUnitTestsAction.description=Generates unit tests for the selected code
action.aws.toolkit.jetbrains.core.services.cwc.commands.GenerateUnitTestsAction.text=Generate Tests
action.aws.toolkit.jetbrains.core.services.cwc.commands.OptimizeCodeAction.description=Optimizes the selected code
action.aws.toolkit.jetbrains.core.services.cwc.commands.OptimizeCodeAction.text=Optimize Code
action.aws.toolkit.jetbrains.core.services.cwc.commands.RefactorCodeAction.description=Refactors the selected code
Expand Down
Loading