The “add symbol to current chat” button of the context menu is not working, but the “add symbol to new chat” button works properly, and the Ctrl + Shift + L shortcut also works fine. How can I make the “add symbol to current chat” button work properly?
Hi @tty0016 ,
Can you give a code example of the symbol
you are right clicking on?
I tried right-clicking on app
and then selecting Add symbol to current chat
in:
const app = express();
And it did add it to a current chat.
I am on 0.41.3
.
Thank you for your response. In my case, both version 0.41.3 and 0.42.0 have this issue. After testing, I found that the “Add symbol to current chat” button works for adding any single line, but it does not work when selecting multiple lines, even if I let ChatGPT generate some random code. I’m not sure what the issue could be — could it be a conflict with other plugins?
code example:
class CommunityExtractionResponse(BaseModel):
community_data: Dict[str, Any] = Field(..., description="community results")
evaluation_results: Dict[str, Any] = Field(..., description="community eval results")
Hi @tty0016 ,
When you are referring to a symbol
, are you referring to the variable or function name?
If so, does the functionality work for you when you just right click on either the variable or function name and then select Add symbol to current chat
?
(as opposed to highlighting all of the text of one or more variable or function declarations)