Commit Graph
1316 Commits
Author SHA1 Message Date
Kirill Bulatov 5242f8031e Port to gpui2 2023-12-05 16:13:39 +02:00
Kirill Bulatov 3c3c792750 Fix the test 2023-12-05 12:45:44 +02:00
Kirill Bulatov 51f29faaf3 Add project search in gitignored test 2023-12-05 12:45:44 +02:00
Kirill Bulatov 58264d9c3e Integration tests for excluded files 2023-12-05 12:45:44 +02:00
Kirill Bulatov 0a150c44f2 Fix the regex matcher 2023-12-05 12:45:36 +02:00
Kirill Bulatov 057bf4e440 Ignore excluded files on worktree entry refresh 2023-12-05 12:30:29 +02:00
Kirill Bulatov 7fd7fdeef6 Allow opening buffers without a project entry 2023-12-05 12:30:29 +02:00
Kirill Bulatov 03361b4a58 Log project path that was no open due to no project entry found 2023-12-04 12:45:57 +02:00
Kirill Bulatov cd5018d9cf Exclude gitignored files' diagnostics from project panel and its indicator.
The diagnostics are collected and available still, since that might become a settings/UI toggle later.
Also, buffer diagnostics are still updated for gitignored files.
2023-11-30 15:46:30 +02:00
Kirill Bulatov cc6109383d Fix eslint diagnostics by passing worktree root during workspace init 2023-11-30 11:38:16 +02:00
Kirill Bulatov 5de10092a8 Log prettier installation start & success 2023-11-29 13:44:19 +02:00
Kirill Bulatov 9dd5a5a249 Fix the tests 2023-11-29 12:10:41 +02:00
Kirill Bulatov c48e72db4c Style fixes 2023-11-29 11:33:29 +02:00
Kirill Bulatov 5fe4027db7 Simplify default prettier installation function 2023-11-29 10:58:22 +02:00
Kirill Bulatov 33d9b2de06 Clear failed installation task when error threshold gets exceeded 2023-11-29 10:58:22 +02:00
Kirill Bulatov 89224f18dd Properly determine default prettier plugins to install 2023-11-29 10:58:22 +02:00
Kirill Bulatov 92ef346b08 Properly increment installation attempts 2023-11-29 10:58:22 +02:00
Kirill Bulatov 0ffa9494e3 Always install default prettier 2023-11-29 10:58:22 +02:00
Kirill Bulatov 485cb153c9 Do not attempt to run default prettier if it's not installed yet 2023-11-29 10:58:22 +02:00
Kirill Bulatov b41312e584 Always write prettier server file 2023-11-29 10:58:22 +02:00
Kirill Bulatov f10d658e95 Split prettier code off to a separate module 2023-11-29 10:58:22 +02:00
Kirill Bulatov 98c44570ee Limit prettier installation and start attempts 2023-11-29 10:58:22 +02:00
Kirill Bulatov 9ec39fc4fa Use enum variants for prettier installation and startup phases 2023-11-29 10:58:22 +02:00
Kirill Bulatov 0abf3269e4 Exctract the common code 2023-11-29 10:58:22 +02:00
Kirill Bulatov cd6cd6ac24 Fix collab tests 2023-11-24 12:56:58 +02:00
Kirill Bulatov 85ce6ecbde Properly ignore FS events of excluded files 2023-11-24 11:59:13 +02:00
Kirill Bulatov 555ecfd73c Add a test 2023-11-24 11:59:13 +02:00
Kirill Bulatov 5f4cd18805 Parallelize ignored entries for search lookup 2023-11-23 09:53:00 +02:00
Kirill Bulatov a06008a691 Output non-ignored files first 2023-11-22 19:03:27 +02:00
Kirill Bulatov 1aa37bafa5 If enabled, search in ignored files during project search 2023-11-22 16:41:02 +02:00
Kirill Bulatov 64cedc95c2 Port new workspace logic to gpui2, uncomment most of the workspace2 tests 2023-11-17 22:54:19 +02:00
Kirill Bulatov 46ae965fcd Fix the tests 2023-11-17 21:40:57 +02:00
Kirill Bulatov 4725a7f543 An attempt to ignore git regularly 2023-11-17 21:40:57 +02:00
Kirill Bulatov 96f3f81c6c Fix most of the TODOs 2023-11-17 21:40:57 +02:00
Kirill Bulatov 6976464d8e Retract back to original scanning strategy
Do not descend into ignored directories, to avoid tracking their state.
2023-11-17 21:40:57 +02:00
Kirill Bulatov dd3f8dbfcc Defer ignored dirs scanning 2023-11-17 21:40:57 +02:00
Kirill Bulatov 0c58d9b130 Use a better name 2023-11-17 21:40:57 +02:00
Kirill Bulatov 3f9a25da82 Fix some of the old tests 2023-11-17 21:40:57 +02:00
Kirill Bulatov a778affc16 Fix the new test 2023-11-17 21:40:57 +02:00
Kirill Bulatov 06da928175 Exclude ignored opened buffers from search 2023-11-17 21:40:57 +02:00
Kirill Bulatov 7f447912bc Fix the ! bug, better test draft 2023-11-17 21:40:57 +02:00
Kirill Bulatov 078ae9256a Add default scan excluded files settings 2023-11-17 21:40:56 +02:00
Kirill Bulatov 5841f84f6c Rescan worktree on scan exclusions settings change 2023-11-17 21:40:56 +02:00
Kirill Bulatov 11ee1a99da More lenient file path matchers 2023-11-17 21:40:56 +02:00
Kirill Bulatov fbf6ade662 Fix the bugs 2023-11-17 21:40:56 +02:00
Kirill Bulatov 01b72de782 Scan all ignored files by default now 2023-11-17 21:40:56 +02:00
Kirill Bulatov 82f7e2a32b Properly ignore elements from configured exceptions 2023-11-17 21:40:56 +02:00
Kirill Bulatov 2c96011ab6 Properly set ignore stacks and is_ignored values 2023-11-17 21:40:56 +02:00
Kirill Bulatov 92fb4ae9c7 Test and filter data draft 2023-11-17 21:40:56 +02:00
Kirill Bulatov b8ad39b42c Pass a new query parameter into the search 2023-11-17 21:40:56 +02:00