Skip to content

Conversation

@spfink
Copy link
Contributor

@spfink spfink commented Dec 13, 2024

Add the ability to send a new command that will appear when a user types @ in the chat window

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • My code follows the code style of this project
  • I have added tests to cover my changes
  • A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@spfink spfink requested review from a team as code owners December 13, 2024 22:36
Comment on lines 122 to 124
console.log("finkscommand")
console.log(this.highlightCommand)
console.log("end")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
console.log("finkscommand")
console.log(this.highlightCommand)
console.log("end")

$isCodeScanAvailable, // whether /scan is available
$isCodeTestAvailable // whether /test is available
$isCodeTestAvailable, // whether /test is available
${jacksonObjectMapper().writeValueAsString(highlightCommand)}
Copy link
Contributor

Choose a reason for hiding this comment

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

can you bump the jacksonObjectMapper() to the companion object as a private val so it can be reused?

listOf(
FeatureEvaluation.builder()
.feature(CodeWhispererFeatureConfigService.CUSTOMIZATION_ARN_OVERRIDE_NAME)
.feature("customizationArnOverride")
Copy link
Contributor

Choose a reason for hiding this comment

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

revert?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All of the other feature consts were made private so moved this to private which required the hardcoded value

Copy link
Contributor

@Will-ShaoHua Will-ShaoHua Dec 14, 2024

Choose a reason for hiding this comment

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

i feel it's not necessary to make the experiemtn names private tho, we should be good as long as they are const.

Copy link
Contributor

Choose a reason for hiding this comment

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

it's easier to restructure and refactor featureConfigService to simply use enum as experiment, but it's not blocker for the PR

@spfink spfink force-pushed the finks/highlight-commands branch 3 times, most recently from e0de036 to d477438 Compare December 13, 2024 23:35
@spfink spfink force-pushed the finks/highlight-commands branch from d477438 to 8af14d2 Compare December 14, 2024 00:19
@rli rli enabled auto-merge (squash) December 14, 2024 00:29
@rli rli disabled auto-merge December 14, 2024 00:29
@rli rli merged commit 6370cf2 into aws:main Dec 14, 2024
9 checks passed
karanA-aws pushed a commit to karanA-aws/aws-toolkit-jetbrains that referenced this pull request Jan 17, 2025
Add the ability to send a new command that will appear when a user types @ in the chat window
karanA-aws pushed a commit to karanA-aws/aws-toolkit-jetbrains that referenced this pull request Jan 22, 2025
Add the ability to send a new command that will appear when a user types @ in the chat window
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants