Commit d38a996
committed
fix: resolve codebase indexing ignore rules issues (#5655)
- Fix .gitignore files having no effect on indexing by replacing broken single-file logic with proper findGitignoreFiles() usage
- Fix .rooignore inconsistency by using global RooIgnoreController instance instead of creating new instances per scan
- Fix .rooignore rules being ignored after 'Clear Index Data' by ensuring patterns are reloaded during service recreation
- Add comprehensive integration tests covering all three reported issues
- Fix VSCode test mocks to support RelativePattern and createFileSystemWatcher
- Ensure backward compatibility and proper disposal handling
All 346 code-index tests passing with new integration test coverage.1 parent e84dd0a commit d38a996
File tree
7 files changed
+591
-19
lines changed- src
- core/ignore
- services
- code-index
- __tests__
- processors
- glob
7 files changed
+591
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
0 commit comments