Commit Graph
77 Commits
Author SHA1 Message Date
Kirill Bulatov 5242f8031e Port to gpui2 2023-12-05 16:13:39 +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 afd3f85082 Port to gpui2 2023-11-30 15:46:35 +02:00
Kirill Bulatov b0c1c5c98e Port to gpui2 2023-11-30 13:07:47 +02:00
Max Brunsfeld f2d30de867 Fix crash when jumping to a definition in the same buffer 2023-11-29 15:36:22 -08: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 c65b9272c1 Port to gpui2 2023-11-29 11:52:26 +02:00
Kirill Bulatov e8eec31602 Port to gpui2 2023-11-24 13:05:53 +02:00
Kirill Bulatov 7e0e979c7b Allow to include gitignored files into project search (#3394) 2023-11-23 19:28:11 +02:00
Kirill Bulatov 726438afae Port to gpui2 2023-11-23 10:44:05 +02:00
Joseph T. Lyons 51855f173c Merge branch 'main' into add-app-events 2023-11-22 16:16:11 -05:00
Joseph T. LyonsandMikayla 11e4035f48 WIP
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-21 22:32:07 -05:00
Antonio Scandurra bdb99a4466 Merge branch 'main' into editor2-autocomplete
# Conflicts:
#	crates/editor2/src/editor.rs
2023-11-21 17:43:09 +01: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 b8ad39b42c Pass a new query parameter into the search 2023-11-17 21:40:56 +02:00
Max Brunsfeld 3c1f79a5dc Fix underspecified assertions in new tests for file reload race 2023-11-17 09:14:31 -08:00
Antonio Scandurra b9e3ba496a Merge branch 'main' into editor2-autocomplete 2023-11-17 11:03:25 +01:00
Max Brunsfeld bb4fb58f3a Rename deprioritize_task -> deprioritize
It applies to a family of tasks, not a task.
2023-11-16 20:03:18 -08:00
Max Brunsfeld b15356f133 Don't update file's saved mtime when reload is aborted 2023-11-16 18:02:49 -08:00
Max Brunsfeld a59c1eabe2 Fix race conditions and bugs in Buffer::reload 2023-11-16 16:03:14 -08:00
Antonio Scandurra cb97d1569d Add back Completion::documentation 2023-11-16 14:47:45 +01:00
Kirill Bulatov 630e608e56 More detailed errors when opening files 2023-11-15 16:20:00 +02:00
Mikayla 8dcdc67bd1 Merge branch 'main' into editor-tests 2023-11-13 09:54:02 -08:00
Kirill Bulatov 01d7e2d231 Port changes to gpui2 2023-11-09 17:18:41 +02:00
Mikayla 9e6bd21fe8 checkpoint 2023-11-08 23:16:04 -08:00
Mikayla 9fd7066ac1 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
Kirill Bulatov 6704b219bc Port changes to zed2 2023-11-03 11:02:50 +02:00
Conrad Irwin 5e2813d913 git -> git3
This is needed for the editor.
2023-11-02 19:18:01 -06:00
Mikayla d8b8390702 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
Nathan Sobo c015aee641 Fix prod compile error 2023-11-01 21:19:06 -06:00
Nathan Sobo d2d9430fc8 Get project2 tests green 2023-11-01 20:14:40 -06:00
Max Brunsfeld f738d16c4d WIP - flush_fs_events 2023-11-01 17:45:38 -07:00
Max BrunsfeldandNathan Sobo 1a627a1b96 Fix hangs in new dispatcher
Co-authored-by: Nathan Sobo <nathan@zed.dev>
2023-11-01 17:11:42 -07:00
Conrad Irwin e3c633ac57 beautiful diff 2023-11-01 15:31:37 -06:00
Conrad Irwin 21d0376cbb Use run_until_parked instead of blocked in tests 2023-11-01 14:27:25 -06:00
Nathan Sobo 8b342b1332 Split out a foreground and background executor 2023-11-01 13:53:45 -06:00
455983d912 Start removing the Send impl for App
Co-authored-by: Antonio <antonio@zed.dev>
Co-authored-by: Nathan <nathan@zed.dev>
2023-11-01 13:53:45 -06:00
Conrad Irwin 5e06344d85 And more unused imports 2023-11-01 13:51:42 -06:00
Conrad Irwin eb6cec1be5 Remove two more hanging tests 2023-11-01 13:26:12 -06:00
Conrad Irwin e122bf83d7 More unused imports 2023-11-01 11:43:06 -06:00
Max BrunsfeldandConrad 0fa13bb42a Comment out hanging project2 tests
Co-authored-by: Conrad <conrad@zed.dev>
2023-11-01 10:38:47 -07:00
Max BrunsfeldandMarshall b199bcb28b Merge branch 'main' into zed2-project-test
Co-authored-by: Marshall <marshall@zed.dev>
2023-10-31 11:50:56 -07:00
Kirill Bulatov 32784226d7 Remove TODOs 2023-10-31 13:08:18 +02:00
Kirill Bulatov b4ca92ca83 Fix prettier errors around Zed's settings.json/keymap.json files
Ports https://github.com/zed-industries/zed/pull/3191 to zed2

Deals with zed-industries/community#2191
Fix Zed starting too many prettier installations in the beginning, and not being able to format the config files.
2023-10-31 12:26:49 +02:00
Antonio Scandurra e4877fa064 Zed2 entities (#3189)
Adds an `Entity` trait for abstracting over `View`s and `Model`s, and
implements it for the `subscribe()` and `observe()` APIs.

The last commit also includes a fun experiment I added, using the
`Result` type to return the owned model handles back to the caller in
the case of downcast failure, inspired by the `binary_search*` methods.
2023-10-31 10:11:25 +01:00
Kirill Bulatov 33f5f5f42b Only process diagnostics if corresponding project is alive
Part of https://github.com/zed-industries/zed/pull/3128 that is possible
to apply now.
2023-10-31 10:40:49 +02:00
Julia 6e45e454ff Port zed/src/languages to zed2 2023-10-30 21:52:29 -04:00
Mikayla c9e77d2918 Add the entity trait and implement for models, views, subscriptions, and observations 2023-10-30 17:50:21 -07:00
KCaverly 9d0f7e4925 update prettier2, call2 and project2 to use fs2 2023-10-30 16:21:58 -04:00