Open mlavrinenko opened 2 weeks ago
It would be awesome to allow executing of slash commands not only in assistant panel, but in editor too.
Suggested implementation:
Sometimes 2 & 3 can be helpful even by themselves.
Potential usage examples for default commands:
/terminal
/symbols
/fetch
/file
/tab
/now
Potential usage examples for made up but possible commands that can be helpful in both assistant and editor:
/uuid
/steampipe "select first_name, last_name from users;" --export=json
I think some way to add the current buffer to the context while doing an inline prompt is sorely needed. Is it added by default? (would be nice to document that if so) This would be a really nice way to do it.
Check for existing issues
Describe the feature
It would be awesome to allow executing of slash commands not only in assistant panel, but in editor too.
Suggested implementation:
Sometimes 2 & 3 can be helpful even by themselves.
If applicable, add mockups / screenshots to help present your vision of the feature
Potential usage examples for default commands:
/terminal
to copy output error in a code comment (like after solving a bug with a crutch and noticing why it was made)/symbols
to make table of contents in markdown file (documentation)/fetch
a file from github to an empty file/file
or/tab
to fill new file from some another (template) file/now
to add some visible timestamp in a code commentPotential usage examples for made up but possible commands that can be helpful in both assistant and editor:
/uuid
to insert a random uuid/steampipe "select first_name, last_name from users;" --export=json
to get JSON data using steampipe