Feature hasn't been suggested before.
Describe the enhancement you want to request
Currently opencode uses .gitignore to filter files in autocomplete/file selection (when typing @filename). This is useful for excluding build artifacts, node_modules, etc.
However, there's no way to disable this behavior when users want to access .gitignored files. For example, if a user has .md files in .gitignore, they cannot see them in autocomplete.
Request: Add a config option to disable .gitignore filtering in file autocomplete, so that all files in the project directory are visible regardless of .gitignore rules.
Something like:
{
"fileCompletion": {
"respectGitignore": false
}
}
Or a global option to disable gitignore for all file operations.
Feature hasn't been suggested before.
Describe the enhancement you want to request
Currently opencode uses .gitignore to filter files in autocomplete/file selection (when typing @filename). This is useful for excluding build artifacts, node_modules, etc.
However, there's no way to disable this behavior when users want to access .gitignored files. For example, if a user has .md files in .gitignore, they cannot see them in autocomplete.
Request: Add a config option to disable .gitignore filtering in file autocomplete, so that all files in the project directory are visible regardless of .gitignore rules.
Something like:
{ "fileCompletion": { "respectGitignore": false } } Or a global option to disable gitignore for all file operations.