f4e40b3
Ignore .idea directory
Click to expand commit body
I'm testing RustRover
Joseph T. Lyons created
f4e40b3
Ignore .idea directory
I'm testing RustRover
Joseph T. Lyons created
04bd107
add ndcg@k to evaluate metrics
KCaverly created
3a661c5
catchup with main
KCaverly created
c9863d6
Don't dismiss inline assistant when an error occurs (#2971)
Release Notes: - Fixed a bug that was preventing errors from being shown in the inline assistant when it was still deployed. (preview-only)
Antonio Scandurra created
925da97
Don't dismiss inline assistant when an error occurs
Antonio Scandurra created
a1250b8
Include modified buffers in semantic search results (#2970)
This pull request introduces an additional step to `SemanticIndex::search_project` that includes the content of buffers that are modified but haven't been saved yet. In most cases, the buffer will contain a small portion of changed spans that are potentially not included in the index. To reuse all the other spans that haven't changed, we will query the database for embeddings by their digest. This means we have to index spans by their digest, which means some penalty when writing, but in our tests this didn't seem to make indexing much slower. Release Notes: - Improved semantic search to include results from modified buffers. (preview-only)
Antonio Scandurra created
ae85a52
Refactor semantic searching of modified buffers
Antonio Scandurra created
8d3c251
Rework inlay hover model (#2969)
Fixes ``` thread 'main' panicked at 'byte index 2 is not a char boundary; it is inside '…' (bytes 0..3) of `…)`' ``` panics like https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1694535396473329 by reworking the inlay hover model: * avoid storing "hardcoded" coordinates of hovered inlay labels (such as `InlayOffset`), instead, remember `inlay_id` and apply required highlights there when hint with the same id is handled * add randomized tests on inlay highlights * sped up inlay hint cache lookup by inlay_id As a downside, background highlights are no long appearing on inlay hints, but Zed does not receive any tooltips for inlays anyway (r-a does not send them for some reason, other LSP seem to have no such feature?), so it does not matter now. Nontheless, if the logic for displaying hint pop-ups is present and works for harcoded tooltips in r-a, only background highlight is missing now. Release Notes: - Fixed inlay hint highlights causing panic for certain cases with "large" characters
Kirill Bulatov created
8c1df5a
Empty both hint cache storages correctly
Kirill Bulatov created
492e961
Bump protocol version
Max Brunsfeld created
6ce672f
Add tooltips and actions for opening notes+call from chat
No keyboard shortcut yet.
Max Brunsfeld created
b759711
Add buttons for opening channel notes and joining call, in chat panel header
Max Brunsfeld created
dd7c687
Style the chat panel further
Max Brunsfeld created
796bdd3
update searching in modified buffers to accomodate for excluded paths
KCaverly created
59269d4
Allow deleting chat messages
Max Brunsfeld created
89327eb
Start styling the chat panel
Max Brunsfeld created
9d8c6a7
Merge branch 'main' into chat-again
Max Brunsfeld created
a1353b8
search_bar: Add toggle_replace_on_a_pane. (#2966)
This allows users to add a keybind to ToggleReplace from Editor/Pane contexts. Release Notes: - Fixed replace in buffer not reacting to keyboard shortcuts outside of search bar<preview-only>.
Piotr Osiewicz created
e7b5880
Combine both text and inlay highlights in randomized tests
Kirill Bulatov created
877d67b
Provide an admin REST API for use by zed.dev (#2962)
We're using [PostgREST](https://hub.docker.com/r/postgrest/postgrest) Todo: * [x] Add instructions for installing postgrest to local development docs * [x] Deploy to staging * [x] Deploy to production * [x] Add DNS record for `admin-staging.zed.dev` pointing to the staging db * [x] Add a DNS record for `admin.zed.dev` pointing to the production db
Max Brunsfeld created
f9b7071
Store hints in the map, not the snapshot
Kirill Bulatov created
4667110
Fix multi-key shortcuts with modifiers
To make this work we need to move the handling of multiple possible key events into the keyboard shortcut system. This was broken in #2957.
Conrad Irwin created
4e9f0ad
Improve inlay hint cache lookup
Kirill Bulatov created
8ae3f79
Restructure inlay highlights data for proper access
Kirill Bulatov created
06555a4
vim: g s/S for outline/project symbols
Conrad Irwin created
9b901df
small fix to rate status update (#2967)
Small fix to update code for rate limiting status. Release Notes (Preview only) - Fixed update to only stop updating status, when the rate limit is reset to None
Kyle Caverly created
8ff3e37
small fix to rate status update
KCaverly created
9b43acf
Remove useless background highlights code
Kirill Bulatov created
396efec
Uncomment the rest of the tests
Kirill Bulatov created
47e0535
Randomize inlay highlight range start
Kirill Bulatov created
129fb62
Consider offsets in inlay chunks
Kirill Bulatov created
a9de6c3
Properly handle inlay highlights in the InlayMap
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Kirill Bulatov and Antonio Scandurra created
80b96eb
Add inlay highlight test
Kirill Bulatov created
42bd2be
Implement inlay highlighting
Kirill Bulatov created
890a587
Use standalone inlay background highlights
Kirill Bulatov created
9f5314e
Unify highlights in *Map
Kirill Bulatov created
6c00cd8
Do not combine inlay and text highlights on the *Map level
Kirill Bulatov created
c19c889
add initial search inside modified buffers
KCaverly created
1eb74ac
editor: Do not run brace completion on empty text. (#2965)
Users of keyboard layout with IME complained about the peculiar behaviour where typing in "sss" and then removing all of it left behind one 's' and also appended a closing brace. This was not reproducible on a buffer without language, so I've suspected that brace insertion might be a problem here. For whatever reason when the user removes the last character from a run that triggered IME, we receive a notification about an empty insertion. Sadly, brace completion does not handle an empty input properly and we erroneously insert a closing brace when deleting the followup characters. In fact, the brace inserted is always the closing brace for the first entry in language's config.toml 'brackets' field (see Scheme vs Markdown). This guard also allows for the proper removal of the first character. Closes community tickets zed-industries/community#877 zed-industries/community#1329 Z-2869 Release Notes: - Fixed handling of bracket completion for international keyboard layouts that use IME. This led to Zed erroneously inserting the `}` character while removing the first character that triggered IME.
Piotr Osiewicz created
f86e5a9
WIP
Antonio Scandurra created
6a27161
Make path optional when parsing file
Co-Authored-By: Kyle Caverly <kyle@zed.dev>
Antonio Scandurra and Kyle Caverly created
137dda3
wip eval framework for semantic index
KCaverly created
24698b6
Fix toggle replace tooltip (#2964)
Release Notes: - N/A
Joseph T. Lyons created
15bdff1
Fix toggle replace tooltip
Joseph T. Lyons created
0c1b2e5
cleaned up warnings
KCaverly created
eff44f9
semantic index eval, indexing appropriately
KCaverly created
18c899a
Remove dead code for old admin pages
Max Brunsfeld created
4ea6d12
Document that PostgREST needs to be installed for running locally
Max Brunsfeld created
dddd37f
Run postgrest as part of foreman
Co-authored-by: Mikayla <mikayla@zed.dev>
Max Brunsfeld and Mikayla created
3910efe
Use PostgREST instead of pgAdmin
Co-authored-by: Mikayla <mikayla@zed.dev>
Max Brunsfeld and Mikayla created