Custom command including multiple fixed files?

From the documentation at Commands - Sourcegraph docs and from experimenting it does not seem to be possible to create a custom command with more than one specific file as context? I know I can use a directory or the more “dynamic” options, but I would like to specify an exact set of files.

Also, it was unexpected that the prompt is sent immediately and the LLM responds without asking for an initial command, but I guess that make sense if for things like: “fix typos and improve grammar in the comments of the selected code”.

It’s easy to “program” by asking the LLM to wait for the first input before responding though.

Hello @olejorgenb sorry for the delay. This feature is some other users wants too. Be patience, there is something big coming.

1 Like

Any news on this? The last update was very good (especially bringing the jetbrains plugin mostly up-to-par with vscode), but I couldn’t find anything on this.

Simply allowing specifying @context in the prompt library would work for my usecase

Hey @olejorgenb

The feature to allow context in the prompt library sound very interesting.
I will add that to the feature-request-only channel on Discord.

With the edit command (ALT+K) in VS Code you can specify multiple files. This comes handy for making changes of a selection and reference an API, some documentation or other files.

1 Like