CodeGPT
CodeGPT copied to clipboard
The context menu of an element should attempt to select it
Currently when you dont have any selected code, the right click menu grays out the options that use selectedCode. Would be much nicer if when you open the context menu when over something like a method signature, a field, a class, etc.. it would attempt to put the whole element in selectedCode.
Hi @SHsuperCM, sounds like a nice idea. I'll see what I can do.
Thank you
@SHsuperCM I decided I needed to create something new, but this was just what I was hoping for😌
@m-fire What do you mean by "creating something new"?
Atm, only the selected code options are grayed out if nothing is selected.
FYI: I'm considering adding a codex models and provide similar logic how GitHub Copilot works but that's another topic.
@carlrobertoh No special meaning. I was thinking of making something similar to this plugin you made. I thought it would be nice to have a prompt input/predefined prompt feature in the context menu (Alt + insert). Will you make it? :)