Joseph T. Lyons
95f6210518
v0.97.x dev
2023-07-19 15:33:58 -04:00
Joseph T. Lyons
eab626494e
Update Cargo.lock
2023-07-19 15:32:41 -04:00
Mikayla Maki
5a4f9c1eb6
File icons ( #2719 )
...
This PR adds the next most requested editor feature.
TODO:
- [x] Figure out styles and icons for supported file types with
fixes https://github.com/zed-industries/community/issues/206
Release Notes:
- Added file icons
2023-07-19 11:17:01 -07:00
Mikayla Maki
f9d722e8fd
Add a few more spare associations
2023-07-19 11:14:31 -07:00
Mikayla Maki
71b800391f
fmt
2023-07-19 11:10:31 -07:00
Derek Briggs
82ab668575
Fix files that don’t have a prefix
2023-07-19 11:10:30 -07:00
Derek Briggs
8906ce8c8b
Update icons to new zed file icon set
2023-07-19 11:10:30 -07:00
Mikayla Maki
b5a68644cb
fmt
2023-07-19 11:10:30 -07:00
Mikayla Maki
157e96bc4d
Make file types live reload
2023-07-19 11:10:30 -07:00
Mikayla Maki
2caa5fa2e4
Add willow license
2023-07-19 11:10:30 -07:00
Mikayla Maki
8db0da3e30
Fix tests
2023-07-19 11:10:30 -07:00
Mikayla Maki
98f263639e
Added file suffix and icon associations data
2023-07-19 11:10:30 -07:00
Mikayla Maki
e68edb7239
Add settings
2023-07-19 11:10:30 -07:00
Mikayla Maki
36d33e77f0
Add suffix based file icons
2023-07-19 11:10:30 -07:00
Conrad Irwin
ac91fb0990
Make tab non-functional in vim mode
...
Fixes : zed-industries/community#988
Fixes : zed-industries/community#897
2023-07-19 10:25:17 -06:00
Conrad Irwin
d14062e60a
Vim search ( #2657 )
...
This PR makes searching in vim mode significantly more like vim.
I re-used search to implement "go to next instance of word under cursor"
as this is how it works in vim (for integration with other
search-related keyboard shortcuts) and to avoid having to rewrite all
the logic to be vim-specific; but that did mean I had to make some
changes to the way search works (in particular to allow different
searches to run with specific options).
Release Notes:
- vim: `<enter>` in search now puts you back in normal mode
([#1583 ](https://github.com/zed-industries/community/issues/1583 ))
- vim: `?` now works to search backwards.
- vim: jumping to definitions or search results keeps you in normal mode
([#1284 ](https://github.com/zed-industries/community/issues/1284 ))
([#1514 ](https://github.com/zed-industries/community/issues/1514 ))
- vim: `n`/`N` are now supported to jump to next/previous match after a
search
([#1583 ](https://github.com/zed-industries/community/issues/1583 ))
- vim: `*`/`#`/`g*`/`g#` are now supported to jump to the next/previous
occurrence of the word under the cursor.
- vim: `gD` now jumps to type definition
2023-07-19 10:15:23 -06:00
Conrad Irwin
8ff6450c40
Merge branch 'main' into vim-search
2023-07-19 09:48:25 -06:00
Kirill Bulatov
8a636d16b7
Clean up stale conflicting hints ( #2751 )
...
Closes
https://linear.app/zed-industries/issue/Z-2618/thread-main-panicked-at-excerpt-not-found-crateseditorsrcmulti
Closes
https://linear.app/zed-industries/issue/Z-2616/thread-main-panicked-at-excerpt-not-found-crateseditorsrcmulti
Fixes inlay hints cache not removing stale hints on invalidating
refreshes.
Release Notes:
- Fixes inlay hint panics after visible kinds settings update
2023-07-19 15:38:27 +03:00
Kirill Bulatov
913027995f
Clean up stale conflicting hints
2023-07-19 15:29:00 +03:00
Kirill Bulatov
317728e644
Rework terminal highlight mechanism ( #2743 )
...
<img width="807" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/ef3bfeef-28f5-458f-abe6-7c19bf820106 ">
Closes https://github.com/zed-industries/community/issues/10
Closes https://github.com/zed-industries/community/issues/560
Initial version of improved terminal highlights and "open link"
functionality: drops old behavior where URLs were highlighted on hover.
Now, Cmd + hover is needed to highlight the links and click opens both
URLs and files that exist (either abs paths, or anything relative to the
project workspace worktree roots).
Only paths eligible for opening are highlighted.
Release Notes:
- Improved terminal highlights and selections: Cmd+Click opens local
files and links
2023-07-19 09:05:48 +03:00
KCaverly
0d6056782f
parellelize embedding api calls
2023-07-18 16:09:44 -04:00
Kirill Bulatov
cb34f3ce17
Avoid extra blinking on mouse moves
2023-07-18 22:59:41 +03:00
Kirill Bulatov
753b58bce0
Consider all terminal when searching for words
2023-07-18 22:59:41 +03:00
Kirill Bulatov
8e4f3dcf8a
Rework terminal highlight event flow
2023-07-18 22:59:41 +03:00
Kirill Bulatov
2fb18c9506
Avoid excessive blinking on cmd-hover
2023-07-18 22:59:41 +03:00
Kirill Bulatov
30f6a74686
Use lines and columns from the file url strings
2023-07-18 22:59:41 +03:00
Kirill Bulatov
05110f7de7
Only highlight the openable things
2023-07-18 22:59:41 +03:00
Kirill Bulatov
f35133a0d6
Properly open project directories
2023-07-18 22:59:41 +03:00
Kirill Bulatov
31789331fd
Detect and open URLs properly
2023-07-18 22:59:41 +03:00
Kirill Bulatov
3392b1c063
Map initial approach to string opening
2023-07-18 22:59:41 +03:00
Kirill Bulatov
99d084cbb3
Properly handle Cmd press for terminal highlights
2023-07-18 22:59:41 +03:00
Kirill Bulatov and Mikayla
6ff5faef4b
Refactor terminal highlights and open mechanisms
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-07-18 22:59:41 +03:00
Kirill Bulatov
06c705c239
Ignore empty hover contents, trim final hover label text ( #2747 )
...
Removes empty hovers from appearing:

And trims final hover label to ensure no trailing whitespaces are
present:

Release Notes:
- Tidies up hover elements by trimming them and removing the empty ones
2023-07-18 22:59:24 +03:00
Kirill Bulatov
699c5ceb68
Ignore empty hover contents, trim final hover label text
2023-07-18 22:53:44 +03:00
Nathan Sobo
2810c36451
WIP
2023-07-18 13:32:07 -06:00
Max Brunsfeld and Kyle
5e1254c511
Fix rendering of project search while semantic index is indexing or running
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-07-18 12:01:42 -07:00
Max Brunsfeld and Kyle
1e40e3c106
Populate project search results multi-buffer from semantic search
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-07-18 11:44:58 -07:00
Joseph T. Lyons
01006aa176
Fix ZED_SERVER_URL port number
...
This change accidentally slipped into https://github.com/zed-industries/zed/pull/2746
2023-07-18 12:43:27 -04:00
Joseph T. Lyons
46bbec948e
Add is_staff to events ( #2746 )
...
Release Notes:
- N/A
2023-07-18 12:41:24 -04:00
Joseph T. Lyons
b77b8cd6d8
Add is_staff to events
2023-07-18 12:32:53 -04:00
Nate Butler
0482596ba4
Add syntax highlighting for Bash, Shell Scripts ( #2722 )
...
Release Notes:
- Added syntax highlighting for Bash, Shell Scripts
2023-07-18 12:21:52 -04:00
Nate Butler
2455f02a83
Update cargo.toml
2023-07-18 12:15:03 -04:00
Nate Butler
079a74cb4b
Merge branch 'main' into nate/add-bash-highlighting
2023-07-18 12:08:53 -04:00
KCaverly
66781d0d89
fix db schema update process to ensure all tables are dropped
2023-07-18 11:14:13 -04:00
KCaverly
d4c0ee338b
update logging for open ai embedding and remove redundant truncation
2023-07-18 11:00:21 -04:00
KCaverly
88d4f066dc
catch up with main
2023-07-18 10:26:28 -04:00
Julia
9066a709a3
Detect Node broken-ness initially ( #2745 )
...
This will help cases where Node is broken causing Copilot to fail to
start but because it doesn't install via NPM we would not have caught it
prior.
Release Notes:
- Improved detection of broken Node installation impacting Copilot
([#1551 ](https://github.com/zed-industries/community/issues/1551 )).
2023-07-18 10:20:47 -04:00
Julia and Antonio Scandurra
4c47d64262
Detect Node broken-ness initially
...
This will help cases where Node is broken causing Copilot to fail to
start but because it doesn't install via NPM we would not have caught
it prior.
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
2023-07-18 10:02:14 -04:00
Piotr Osiewicz
1f6ba57ebd
Piotr/z 2588 php ( #2721 )
...
Release Notes:
- Added syntax highlighting & Intelephense LSP support for PHP language.
([#46 ](https://github.com/zed-industries/community/issues/406 )).
2023-07-18 14:57:40 +02:00
Kirill Bulatov
3ab9946a29
Slightly tidy up vector_db code ( #2744 )
...
Code snippet
```rust
fn main() {
//√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√√
}
```
has length of 191, but consists of 87 chars, and the debug code with
`.truncate(100)` panicked.
Fixed that issue, cc @KCaverly
Release Notes:
- N/A
2023-07-18 14:22:34 +03:00