Commit log

2c17ae9 Introduce a new `Grammar` struct and allow it to be optional

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

b9edde7 Make settings fields that can be overridden private

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

cc78ae1 Add a sample markdown grammar to honor the new soft wrap override

Antonio Scandurra created

93de2bc Allow overriding editor settings on a per-language basis

Antonio Scandurra created

e0998db Merge pull request #260 from zed-industries/show-collaborators

Click to expand commit body
Show collaborators for the active worktree in the titlebar

Nathan Sobo created

815cc7e Give avatar ribbons a rounded top

Nathan Sobo created

fbc307c Associate collaborator avatars with "ribbons" corresponding to their cursor color

Nathan Sobo created

a5039ca Tweak avatar sizes in titlebar

Nathan Sobo created

6ce76ca Render active worktree collaborator avatars in the titlebar

Nathan Sobo created

4bd43e6 Introduce a TestClient and associate it with a PeerId

Click to expand commit body
This makes it easier to integration test peer interactions because now we know their PeerIds.

Nathan Sobo created

b307a7e Populate the user data of worktree collaborators

Click to expand commit body
This will make it possible for us to render their avatars. Previously we only had the user ids. During rendering, everything needs to be available synchronously. So now, whenever collaborators are added, we perform the async I/O to fetch their user data prior to adding them to the worktree.

Nathan Sobo created

9930e92 WIP: Give worktrees a reference to the UserStore

Click to expand commit body
This will allow them to fetch user data when peers are added or removed. Still work to do though.

Nathan Sobo created

21aba54 Introduce a worktree::Collaborator struct that holds the user_id

Click to expand commit body
We can use this to render avatars.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo , Max Brunsfeld , and Antonio Scandurra created

d78d571 Rename PeoplePanel to ContactsPanel

Click to expand commit body
Yeah, it's true they're people, but this is a more specific way in which they're people.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo and Antonio Scandurra created

c8ad5b6 Rename collaborator_logins to authorized_logins

Click to expand commit body
Again, this is about reserving the concept of a "collaborator" for actual collaborators on a worktree.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo and Antonio Scandurra created

cd2c3c3 Rename Collaborators to Contacts

Click to expand commit body
This will allow us to use the word "collaborator" to describe users that are actively collaborating on a worktree.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo and Antonio Scandurra created

9f29eed Associate Peers with a user_id

Click to expand commit body
This will help us render the collaborator avatars for the active worktree when we know its peers.

Nathan Sobo created

f453928 Associate the project with an active worktree

Click to expand commit body
This is similar to the active entry, but it can remain assigned even if there is no active entry and we can potentially manipulate it in other scenarios such as interaction with the project browser. This prepares the ground to show the collaborators for the active worktree.

Nathan Sobo created

74cdd32 Merge pull request #257 from zed-industries/go-to-line-plus-mouse

Click to expand commit body
Preserve selection when clicking on editor dismisses go-to-line dialog

Nathan Sobo created

f8cf534 Merge pull request #256 from zed-industries/select-next

Click to expand commit body
Implement select next (cmd-d) and replace selection with next (cmd-k cmd-d)

Nathan Sobo created

ad26362 Preserve selection when clicking on editor dismisses go-to-line dialog

Nathan Sobo created

fc2ae42 Implement cmd-k cmd-d to replace selection with next

Nathan Sobo created

d249618 Improve range-based selection queries to only resolve the requested selections

Nathan Sobo created

09a53a0 WIP

Antonio Scandurra created

2f78d93 Make `summaries_for_anchors`/`summaries_for_anchor_ranges` more generic

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

2f43ef6 Allow a single start/end bias per `AnchorRangeMap`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

f42fd8e Return `Selection`s from `Editor::selections_in_range`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

861893b Autoscroll vertically to the newest selection on `SelectNext`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

10b3fae Implement `SelectNext`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

bf7acb5 Merge pull request #252 from zed-industries/replace-sign-in-icon-with-text

Click to expand commit body
Replace signed out silhouette with a "Sign in" label

Antonio Scandurra created

543ebb7 Adjust padding on sign in prompt in titlebar

Antonio Scandurra created

0d8c68a Replace signed out silhouette with a "Sign in" label

Antonio Scandurra created

c478554 Merge pull request #250 from zed-industries/go-to-line

Click to expand commit body
Implement go-to-line interface

Nathan Sobo created

f7532c7 Render the current line, column, and line count in go to line dialog

Nathan Sobo created

a07fe3a Improve styling of the go to line modal

Nathan Sobo created

1e49b56 Restore scroll position and selections when cancelling go-to-line

Click to expand commit body
But preserve the line when confirming.

Nathan Sobo created

8c0541b Fix warnings

Nathan Sobo created

0854976 Highlight the selected line when typing in the go to line dialog

Nathan Sobo created

53a7da9 Allow centering selections when requesting autoscroll

Click to expand commit body
We use this new capability in the "go to line" modal.

Antonio Scandurra created

cea8107 WIP: Start on go to line

Antonio Scandurra created

a743c2d Merge pull request #249 from zed-industries/invert-workspace-editor-dependency

Click to expand commit body
Invert dependency between workspace and editor

Antonio Scandurra created

afdac15 Move integration test up into the `zed` crate

Antonio Scandurra created

e88d3bb Invert dependency between `editor` and `workspace`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

fb17d1e Merge pull request #248 from zed-industries/columnar-selection

Click to expand commit body
Allow creation of columnar selections with the mouse when holding `alt-shift`

Antonio Scandurra created

2cf44d3 :fire:

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

03bd6d6 Pull up diagnostic and cursor position status bar items creation

Antonio Scandurra created

9bb195e Introduce "entry openers" but still register editors in `workspace`

Antonio Scandurra created

a7186c6 Skip over block lines when building columnar selections

Antonio Scandurra created

3a9b690 Reverse columnar selections when head moves before tail's column

Antonio Scandurra created

d19d3bb Calculate an overshoot when mousing to build columnar selections

Antonio Scandurra created