af12977
vim: Add `S` to substitute line
Click to expand commit body
For zed-industries/community#1897
Conrad Irwin created
af12977
vim: Add `S` to substitute line
For zed-industries/community#1897
Conrad Irwin created
aa7b65b
Merge branch 'main' into vim-softwrap-word
Conrad Irwin created
0e41c6c
Fix accidental visual selection on scroll (#2927)
Release Notes: - vim: Fix bug where scrolling vertically would sometimes enter visual mode
Conrad Irwin created
6d79496
Fix accidental visual selection on scroll
As part of this fix partial page distance calculations to more closely match vim.
Conrad Irwin created
54235f4
updated embeddings background delay to 5 minutes
Co-authored-by: Max <max@zed.dev>
KCaverly and Max created
e86964e
optimize insert file in vector database
Co-authored-by: Max <max@zed.dev>
KCaverly and Max created
2fa9c03
Merge remote-tracking branch 'origin' into storybook
Nathan Sobo created
6275c56
Fix warnings for a clean build
Nathan Sobo created
524533c
flush embeddings queue when no files are parsed for 250 milliseconds
Co-authored-by: Antonio <antonio@zed.dev>
KCaverly and Antonio created
c4db914
move embeddings queue to use single hashmap for all changed paths
Co-authored-by: Antonio <me@as-cii.com>
KCaverly and Antonio created
2bf417f
Avoid duplicate entries in inline assistant's prompt history (#2926)
Release Notes: - Improved the inline assistant's prompt history to avoid including the same entry multiple times. (preview-only)
Antonio Scandurra created
d868ec9
Avoid duplicate entries in inline assistant's prompt history
Antonio Scandurra created
7bcc59c
Remove the concept of a local clock; use lamport clocks for all per-replica versioning (#2924)
### Background Currently, our CRDT uses three different types of timestamps: | clock type | representation | purpose | |-----|----------------|----------| | `Local` | replica id + u32 | uniquely identifies operations | | `Lamport` | replica id + u32 | provides a consistent total ordering for all operations | | `Global` | N local clocks | fully defines the partial ordering between all concurrent operations | All text operations include *each* type of timestamp. And every `Fragment` in a buffer's fragment tree contains both a local and a lamport timestamp. ### Change An operation can be uniquely identified by its lamport timestamp, so we don't really need a concept of a local timestamp. In this PR, I've removed the concept of a local timestamp. Version vectors (`clock::Global`) now store vectors of *lamport* timestamps. Eliminating local timestamps reduces the memory footprint of a buffer by four bytes per fragment, reduces the size of our `UpdateBuffer` RPC messages, and reduces the amount of data we need to store in our database for channel buffers. It also makes our CRDT a bit easier to understand, IMO, because there is now only one scalar value that we increment per replica. It's possible I'm missing something here though. @as-cii, @nathansobo it'd be good to get your 👀
Max Brunsfeld created
1e60454
Renumber protobuf fields, bump protocol version
Max Brunsfeld created
03f0365
Remove local timestamps from CRDT operations
Use lamport timestamps for everything.
Max Brunsfeld created
afa59ab
WIP: work towards wiring up a embeddings_for_digest hashmap that is stored for all indexed files
KCaverly created
00aae5a
Assistant: propagate cancel action if there is no pending inline assist (#2923)
Release Notes: - Fixed a bug where modals could not be dismissed with `escape` when certain views were active in the workspace (preview only).
Max Brunsfeld created
eecd4e3
Propagate Cancel action if there is no pending inline assist
Max Brunsfeld created
50cfb06
fill embeddings with database values and skip during embeddings queue
KCaverly created
220533f
WIP
Antonio Scandurra created
2503d54
Rename `Sha1` to `DocumentDigest`
Co-Authored-By: Kyle Caverly <kyle@zed.dev>
Antonio Scandurra and Kyle Caverly created
3001a46
Reify `Embedding`/`Sha1` structs that can be (de)serialized from SQL
Co-Authored-By: Kyle Caverly <kyle@zed.dev>
Antonio Scandurra and Kyle Caverly created
fe2300f
Style the clear button better, add border to button constructor options
Kirill Bulatov created
7b5974e
Add LSP logs clear button
Kirill Bulatov created
c763e72
Write to and read from the database in a transactional way
Co-Authored-By: Kyle Caverly <kyle@zed.dev>
Antonio Scandurra and Kyle Caverly created
35440be
Abstract away how database transactions are executed
Co-Authored-By: Kyle Caverly <kyle@zed.dev>
Antonio Scandurra and Kyle Caverly created
ddc6214
Tailwind autocomplete (#2920)
Release Notes: - Added basic Tailwind CSS autocomplete support ([#746](https://github.com/zed-industries/community/issues/746)).
Kirill Bulatov created
5731ef5
Fix plugin LSP adapter intefrace
Kirill Bulatov created
e682db7
Route completion requests through remote protocol, if needed
Kirill Bulatov created
5bc5831
Fix wrong assertion in the test
Kirill Bulatov created
292af55
Ensure all client LSP queries are forwarded via collab
Kirill Bulatov created
fff385a
Fix project tests
Kirill Bulatov created
fad595d
Use `ctrl-:` instead of `ctrl-shift-:` for inlay hints toggling (#2921)
The latter is not possible to press in Zed, since `:` is typed as `shift-;` with typical US keyboard layouts. In the end, it's the same buttons you have to press to toggle the inlay hints, but working this time. Release Notes: - N/A
Kirill Bulatov created
9e12df4
Post-rebase fixes
Kirill Bulatov created
897adb6
Log language server stderr output in server logs (#2918)
<img width="1728" alt="Screenshot 2023-08-31 at 01 07 11" src="https://github.com/zed-industries/zed/assets/2690773/537a18d6-59bf-4a77-896f-fc2cb6dc7fe8"> Line by line, we print stderr to help with debugging and servers that log into stderr. Release Notes: - N/A
Kirill Bulatov created
18efc0d
Fix the tests, by not requiring stderr for fake servers
Kirill Bulatov created
af665cc
Use `ctrl-:` instead of `ctrl-shift-:` for inlay hints toggling
The latter is not posible to press in Zed, since `:` is typed as `shift-;` with typical US keyboard layouts. In the end, it's the same buttons you have to press to toggle the inlay hints, but working this time.
Kirill Bulatov created
ff3865a
Merge branch 'main' into multi-server-completions-tailwind
Julia created
529adb9
Scope Tailwind in JS/TS to within string
In some situations outside JSX elements Tailwind will never respond to a completion request, holding up the tsserver completions. Only submit the request to Tailwind when we wouldn't get tsserver completions anyway and don't submit to Tailwind when we know we won't get Tailwind completions Co-Authored-By: Kirill Bulatov <kirill@zed.dev>
Julia and Kirill Bulatov created
0f619e0
Do not write TRACE logs into file for Lua
Kirill Bulatov created
54e7e2f
Capture language servers' stderr into server logs
Kirill Bulatov created
3b5ee59
Split playground into gpui2 and storybook
Nathan Sobo created
b949559
Disable save as prompt for channel notes (#2917)
Max Brunsfeld created
4b5948e
Disable save as prompt for channel notes
Max Brunsfeld created
d9a72aa
Rewrite inlay hint collab tests to remove races (#2916)
Release Notes: - N/A
Kirill Bulatov created
7d4d6c8
fix bug for truncation ensuring no valid inputs are sent to openai
KCaverly created
6d60960
Fix collab panel regressions (#2915)
Release Notes: - Fixed a bug where collaborators' cursors were rendered with the wrong color when not following them (preview only). - Fixed an issue where icons were inconsistent sizes in the collaboration panel (preview only).
Max Brunsfeld created
ab49f8c
Rewrite inlay hint collab tests to remove races
Kirill Bulatov created
f9dffc1
Remove unnecessary ConstrainedBoxes in collab panel
Co-authored-by: Mikayla <mikayla@zed.dev>
Max Brunsfeld and Mikayla created
123bc85
collab panel: Make screen share row line up with shared projects
Co-authored-by: Mikayla <mikayla@zed.dev>
Max Brunsfeld and Mikayla created