[Slash Commands] Include above/below content in prompts
We currently have basic support for slash commands, all of them put selected text into the prompt when explaining, refactoring or writing tests.
But for for better/more accurate answers we may want to include also content above/below selected text in the prompt. This might be handy especially for code refactoring when providing more context could help with generating code which better fits into existing code.
Above/below content is already evailable in duo chat context, but not yet included in prompts - the scope of this issue is to include this additional info in prompts for tasks for which it makes sense.
Edited by Jan Provaznik