-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] Add a method to force Continue to include file(s) in the index #1869
Comments
@sealad886 With .gitignore syntax in .continueignore you can use the negation operator, which should override previous rules, like |
So my use-case is specifically in a Flask project, where I don't want to check in a couple |
I kind of like this idea, too. I'd like finer controls over what is/isn't indexed. For example, I'm working on an app now with a {
"indexing": {
"include": [
"${workspaceFolder}/backend/**/*.py",
"${workspaceFolder}/frontent/**/*.ts",
],
"exclude": [
"${workspaceFolder}/3rdparty"
]
}
} I realize continuedev is not just for VSCode, so there might be a better way to do it agnostic of server/vscode. |
@meanderix I've gotten it to work in .continueignore taken from suggestions on the node-ignore repo: kaelzhang/node-ignore#57 (comment)
|
Validations
Problem
Continue indexing uses .gitignore to determine files that should not be in the index. There is currently no way to force the index to include a file or directory that is listed in .gitignore.
Solution
Create a
.continueinclude
file that is checked after ignore to add missing files and directories back into the index.The text was updated successfully, but these errors were encountered: