Does Cody have anything comparable to Cursor’s rules, for imparting a long-term memory? If not, consider adding it.
Hey @esafak If you use VS Code we have an experimental rule system. You can set rule files in a .sourcegraph
sub-folder on the root project folder or subfolders and create a *.rule.md
file. You need to enable it in the settings with "cody.rules.enabled": true
and when a file is open, Cody will automatically fetch the rules based on the programming language as context. You can utilize this as some kind of memory bank, too.
I use IntelliJ, not VSCode.
@esafak In that case, you can have a similar approach if you manually create a document with your rules or memories to persist and reference that document when needed.
@PriNova it’s been some time since this was discussed, so I’d just like to check if anything has changed on this front?
If not, then if I understand correctly, the approach for Intellij users is to create a .sourcegraph/<something>.rule.md
file and include rules in there? I’m assuming there’s no need to enable this, as is the case for vs code with the setting you referenced?
Hey @jur The rule feature is files and language bound. For having some kind of long-term memory in your case, I recommend referencing a document with your requirements at the beginning of a chat. It has the advantage that this document can be source control versioned specific to your project.