Commit Graph
3306 Commits
Author SHA1 Message Date
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
Max Brunsfeld 4870963f19 Port buffer reload bug fixes back to gpui1 crates 2023-11-16 16:03:14 -08:00
Kirill Bulatov 630e608e56 More detailed errors when opening files 2023-11-15 16:20:00 +02:00
Kirill Bulatov 23c8be7dac Do not propose prettier formatters for documents in node_modules/ 2023-11-09 14:49:37 +02:00
Kirill Bulatov 7918982c6e Change locate prettier method signature 2023-11-09 14:23:33 +02:00
Kirill Bulatov 6704b219bc Port changes to zed2 2023-11-03 11:02:50 +02:00
Kirill Bulatov 29a0071ff1 Properly order default prettier installations and startups 2023-11-03 11:02:50 +02:00
Kirill Bulatov bd0a4f1417 Reuse already running default prettiers 2023-11-03 11:02:50 +02:00
Kirill Bulatov ec09c85a45 Make it more clear that missing prettier is to blame 2023-11-03 11:02:50 +02:00
Kirill Bulatov ffc2668513 Restore LSP names for prettier servers 2023-11-03 11:02:50 +02:00
Kirill Bulatov 30d75dde86 Simplify 2023-11-03 11:02:50 +02:00