cody icon indicating copy to clipboard operation
cody copied to clipboard

feedback: Code Smell output is redundant and suggests good practices already in use

Open SigBaldi opened this issue 1 year ago • 0 comments

Version

v1.14.0

Areas for Improvement

  • [ ] UI/UX
  • [ ] Onboarding
  • [ ] Docs
  • [ ] Chat
  • [ ] Commands
  • [ ] Context
  • [X] Response Quality
  • [ ] Other

What needs to be improved? Please describe how this affects the user experience and include a screenshot.

Using the code smell feature I've noticed a lot of redundant suggestions: In this example: "Use const while there's only one variable already declared as const in the selection." image Another example: "Add error handling using try catch, but it's there. image

Describe the solution you'd like to see

A clear improvement of the selected code that Cody generated before, not a repetition of the good practices used.

Describe any alternatives that could be considered

No suggestions if the code is already following good practices.

Additional context

No response

SigBaldi avatar Apr 24 '24 15:04 SigBaldi