Commit Graph
5512 Commits
Author SHA1 Message Date
Antonio Scandurra b94366ab90 Add zed::ToggleFullScreen bound to ctrl-cmd-f 2022-08-15 11:53:37 +02:00
Julia 61684e693f Merge pull request #1494 from zed-industries/do-not-scroll-when-saving
Don't scroll to cursor when performing file save
2022-08-12 11:28:01 -04:00
ForLoveOfCats 7b71554b58 Don't scroll to cursor when performing file save 2022-08-12 11:20:18 -04:00
Mikayla Maki 9d57f761c5 Merge pull request #1496 from zed-industries/ime-stuff
Remove Clippy from CI
2022-08-11 20:05:56 -07:00
Mikayla Maki 6839530832 remove clippy :( 2022-08-11 19:32:47 -07:00
Mikayla Maki 45c7c32a0a Test 2022-08-11 19:29:52 -07:00
Mikayla Maki e2200109e6 Make clippy happy 2022-08-11 15:47:56 -07:00
Mikayla Maki 804c4c512b Merge branch 'main' into ime-stuff 2022-08-11 15:35:42 -07:00
Mikayla Maki 4b945f5694 Merge pull request #1495 from zed-industries/remove-clippy
Removed clippy from default settings
2022-08-11 11:47:41 -07:00
Mikayla Maki 8cf2ae3b6b Removed clippy from default settings 2022-08-11 11:46:54 -07:00
K Simmons 42c01c5b10 minor rustfmt fix 2022-08-11 11:35:11 -07:00
Mikayla Maki 2de25e0126 Merge pull request #1492 from zed-industries/add-clippy
Add clippy! :D
2022-08-10 17:57:13 -07:00
Mikayla Maki 541783881c prettied up the ci yml 2022-08-10 17:53:15 -07:00
Mikayla Maki 073bd767f2 Fixed build errors in json_language 2022-08-10 17:50:44 -07:00
K Simmons c74d10809e Testing with allow flags 2022-08-10 17:01:13 -07:00
Mikayla Maki c5002d85a9 update clippy 2022-08-10 16:58:08 -07:00
K Simmons 9aa3f2d777 clippy fixes for focus change 2022-08-10 16:51:01 -07:00
ForLoveOfCatsandMikayla 8ba2f77148 One big cleanup pass of clippy lints
Co-authored-by: Mikayla <mikayla@zed.dev>
2022-08-10 16:51:01 -07:00
Mikayla Maki e7540d2833 Changed CI and default.json to run clippy 2022-08-10 16:51:01 -07:00
Keith Simmons ec015d4607 Merge pull request #1422 from zed-industries/workspace-child-focus-pane-activation
Add on_child_focus and on_child_blur to View trait
2022-08-10 16:42:01 -07:00
K Simmons 4d38dcfc54 Fix workspace 2022-08-10 16:27:45 -07:00
K Simmons d68f227ec4 Fix failing tests 2022-08-10 16:26:53 -07:00
Mikayla Maki ee0e6a0109 Added env toml so readme db instructions are correct 2022-08-10 15:07:02 -07:00
Mikayla Maki 3460a24da7 Changed CI and default.json to run clippy 2022-08-10 09:11:06 -07:00
Julia 635805cd6f Merge pull request #1482 from zed-industries/click-goto-on-mouse-up
Handle Cmd/Shift + Click go-to action on mouse-up instead of mouse-down
2022-08-10 12:03:54 -04:00
K Simmons 3bdf05c0cd fix up command palette 2022-08-09 17:15:54 -07:00
K Simmons f5a6a112c8 Address picker issues 2022-08-09 17:15:54 -07:00
K Simmons 6f180ed822 Pane focus working. Modals seem broken now 2022-08-09 17:15:54 -07:00
K Simmons 049149320c build fix 2022-08-09 17:15:54 -07:00
K Simmons 690ea57211 WIP compiling but failing with circular reference 2022-08-09 17:15:52 -07:00
K Simmons 6442ec59e7 Switch action dispatch to use MutableAppContext parent utilities and delete parent map from presenter 2022-08-09 17:09:28 -07:00
K Simmons 4271eb3624 Event dispatch moved to MutableAppContext. No longer dispatches from presenter. Not currently handling key presses properly 2022-08-09 17:09:16 -07:00
Mikayla Maki c303c4e8f9 Merge pull request #1485 from zed-industries/fullscreen-workspace-title-padding
Fullscreen workspace title padding
2022-08-09 17:02:26 -07:00
Mikayla MakiandKeith 45c0539de0 changed name of subscription mapping and moved out to file
Co-authored-by: Keith <keith@zed.dev>
2022-08-09 16:59:13 -07:00
Mikayla Maki 1044b7d7d2 checkpoint, no idea what's happening 2022-08-09 16:15:53 -07:00
ForLoveOfCatsandMikayla 3d9821b430 Jankily adjust left padding on workspace title in fullscreen
This could seriously be done better

Co-authored-by: Mikayla <mikayla@zed.dev>
2022-08-09 19:03:32 -04:00
ForLoveOfCatsandMikayla 43b9f3beb3 Invalidate view when entering/exiting fullscreen
This is required for `render_titlebar` to eventually adapt to
fullscreen status to affect the size of left padding on workspace
name to account for the traffic lights presence/absence

Co-authored-by: Mikayla <mikayla@zed.dev>
2022-08-09 19:03:32 -04:00
ForLoveOfCatsandMikayla 46fef69b1a Refactor notification/observation callback pattern in MutableAppContext
Pull out duplicate code and clarify some misc behavior. Some of this
existing API feels like it's probably incorrect but that needs more
thorough investigation

Co-authored-by: Mikayla <mikayla@zed.dev>
2022-08-09 19:03:25 -04:00
ForLoveOfCatsandMikayla ab760493cf Route whether or not a window is fullscreen down into GPUI
This still needs to be able to invalidate things to be useful
but it's a good first cut at just making the information available
to platform-agnostic code

Co-authored-by: Mikayla <mikayla@zed.dev>
2022-08-09 19:03:12 -04:00
Julia ae8dd1e3fd Merge pull request #1481 from zed-industries/trigger-search-automatically
Automatically trigger project search to occur when deploying
2022-08-08 16:04:06 -04:00
ForLoveOfCats a47a6f2f22 Handle Cmd/Shift + Click go-to action on mouse-up instead of mouse-down 2022-08-08 15:59:33 -04:00
ForLoveOfCats db52593d9b Automatically trigger project search to occur when deploying 2022-08-08 13:17:19 -04:00
Nate Butler 96d5dcadf1 Merge pull request #1476 from zed-industries/update-default-theme
Use One Dark as the default theme.
2022-08-05 13:07:03 -04:00
Antonio Scandurra 67713a5285 Merge pull request #1474 from zed-industries/compact-project-panel
Make project panel more compact
2022-08-05 18:59:54 +02:00
Nate Butler ffce2cb084 Use One Dark as the default theme. 2022-08-05 12:44:34 -04:00
Mikayla Maki 435360754b Fixed lack of scrolling 2022-08-05 09:18:24 -07:00
Antonio Scandurra 1c8eeb01c9 Make project panel more compact
This ensures more deeply-nested entries can be displayed without
needing to show scrollbars. Adding scrollbars introduces UX issues
when creating/renaming files because there are two scroll layers:
the outer project panel AND the editor.

Sublime Text and Atom dodged this issue by not displaying an inline
editor and showing it as a modal instead. VS Code shows the editor
inline but has a much more compact visualization. I think we should
copy VS Code.
2022-08-05 16:34:26 +02:00
Mikayla Maki 0b1dab7fa7 Merge branch 'main' of github.com:zed-industries/zed 2022-08-04 20:59:22 -07:00
Mikayla Maki 83449c95b0 Fixed terminal clear screen 2022-08-04 20:59:09 -07:00
Max Brunsfeld 9f560794cd Merge pull request #1473 from zed-industries/type-definition-rpc-endpoint
Handle RPC requests for type definitions on server and host
2022-08-04 15:16:18 -07:00