continue icon indicating copy to clipboard operation
continue copied to clipboard

Reference @Files from another currently open vscode project window

Open pcuci opened this issue 1 year ago • 1 comments

Validations

  • [X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • [X] I'm not able to find an open issue that requests the same enhancement

Problem

Found myself editing an old Dockerfile and wanted to load up the context from another project I was also using continue in :-), but couldn't reference the other file.

Solution

If we could reference files from any active (or recent?) workspace, that could be fun.

image

Not the end of the world, I just copied pasted the other Dockerfile verbatim in the chat, and it worked.

Definitely a nice to have though, since, if I understand correctly, there is only 1 (one) Continue Server for all my open vscode projects (usually 4-6 at a time)

pcuci avatar Nov 16 '23 02:11 pcuci

Might be some configuration option we could add here. Something like "additional_index_paths": ["/path/to/Dockerfile"]. In that case we'd probably use that for both @file as well as codebase indexing for embeddings.

Alternatively: Is this the sort of thing you would know ahead of time, or would you rather just be able to turn off the workspace filter and then retrieve any result from meilisearch regardless of whether it is in the workspace?

sestinj avatar Nov 16 '23 19:11 sestinj