sourcegraph/cody

Is Cody even aware which programming language is used?

Opened this issue · 2 comments

Version

latest

Describe the bug

I literally am writing a Rust program

Somewhere chat gpt suggests to use a bounding_rect

Cody replies with c++ code.

Expected behavior

It be nice if Cody at least understands what language I am using.

Additional context

No response

Hey @thaigertech

Could you please clarify which version of Cody you use (stable or pre-release)?
Which IDE are you using?
To be clear, did you mention the file in the chat, because from the file extension Cody should infer the used programming language.

Thank you