devchat
devchat copied to clipboard
The user opened a Java file, but the generated code is in Python.
The user opens a Java file, expecting the code to generate code of the same type as well.
Discussion with @yangbobo2021
This issue is not only related to the IntelliJ plugin, but may be a new workflow to be developed.
The function of this workflow is to obtain the IDE state (such as the visible code area, the language of the open code, the window being opened, etc.).
And pass the IDE state to LLM so that the answer can more accurately meet the user's needs.