Replies: 2 comments 7 replies
-
|
This sounds amazing. I was pondering whether there was place for cursor rules in the plugin. How does this compare to workspaces? Do you have an example context file you could share, for users starting from zero? |
Beta Was this translation helpful? Give feedback.
7 replies
-
|
The plugin looks great, I Will try it. Thanks @banjo |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
📁 Add local/remote context files to your prompts
Hello guys!
I recently opened a thread here about being able to import cursor files directly to my chat. I couldn't find anything for it, so I recently made my first ever Lua extension to do exactly that. (I don't really know the best practices for Lua extension development but at least it works!)
It is called contextfiles.nvim.
So what it basically does in a nutshell:
Use within CodeCompanion 🧑💻
As my only real use case was to use it in CodeCompanion, I managed to some core functionality up and running, with an extension part for CodeCompanion. What you do is basically just create a new prompt that will get populated with the matching context files:
And now, whenever you open a new chat buffer with that prompt, all the necessary context will be populated for your current file 🎉
There are probably a lot of things missing in the plugin, and also much better ways to integrate it into CodeCompanion, but this was at least a working start for me. Would love to help integrate it more in case other people than me would find it helpful.
Beta Was this translation helpful? Give feedback.
All reactions