Max Brunsfeld
357c9d53a9
Record start columns when writing to the clipboard from Zed
2022-07-28 22:13:32 -07:00
Max Brunsfeld
345e33fa98
Start work on adjusting pasted text based on old start column
2022-07-28 17:29:42 -07:00
Mikayla Maki
a6855f7b96
Improved render performance implementation to use a fork of alacritty which includes the last # of bytes processed as a way of estimating throughput in cases where the terminal output is chanegd in place
2022-07-28 16:03:00 -07:00
Max Brunsfeld
7f991029b9
Merge branch 'main' into autoindent-on-paste
2022-07-28 15:09:18 -07:00
Mikayla Maki
6cfd74236e
Reduced time holding lock even more
2022-07-28 14:58:19 -07:00
Max Brunsfeld and Mikayla Maki
669d716519
Introduce AutoindentMode parameter to Buffer::edit
...
This controls whether or not we preserve the relative indentation
of inserted text blocks.
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com >
2022-07-28 14:03:31 -07:00
Max Brunsfeld and Mikayla Maki
48610f5819
Remove indent_size parameter from Buffer::edit_with_autoindent
...
Instead, compute the indent size by reading the settings inside that method.
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com >
2022-07-28 13:00:05 -07:00
Max Brunsfeld
d349ca1f4e
Fix error in autoindent range calculation
2022-07-28 11:51:03 -07:00
Antonio Scandurra
5f96136f37
Merge pull request #1402 from zed-industries/open-log
...
Introduce `zed: open log` command
2022-07-28 10:36:09 +02:00
Antonio Scandurra
7628977349
Open both old and new log files, but just retain the last 1000 lines
2022-07-28 10:25:40 +02:00
Antonio Scandurra
a1466639da
Prevent log file from becoming larger than 1MB
2022-07-28 10:02:38 +02:00
Isaac Clayton
81e8617e47
First draft for opening Zed.log
2022-07-28 09:25:39 +02:00
Mikayla Maki
08c8caa8c1
Added variable rate refreshing based on terminal throughput. Should be the last of the performance improvements for now
2022-07-27 16:46:15 -07:00
Mikayla Maki
485db97836
Implemcargo
2022-07-27 16:33:15 -07:00
K Simmons
73858d0935
Move terminal modal keymap context to the connected view
2022-07-27 11:00:54 -07:00
Mikayla Maki
164e72d605
Working on finding a way of estimating throughput
2022-07-27 10:58:23 -07:00
Mikayla Maki
3156a7f2f6
Finished long-lock style rendering. Need to dynamically adjust the notification rate to handle high throughput scenarios
2022-07-27 10:21:50 -07:00
Mikayla Maki
59e98039f4
Nearly done, not scheduling our own re-render yet
2022-07-27 10:11:10 -07:00
Antonio Scandurra
76ef8d5aca
v0.49.1
2022-07-27 13:39:29 +02:00
Antonio Scandurra
236cf493d2
Merge pull request #1419 from zed-industries/ime-regressions
...
Fix IME regressions
2022-07-27 12:37:37 +02:00
Antonio Scandurra
2f99815f16
Fix vim tests using old key bindings
2022-07-27 12:19:01 +02:00
Antonio Scandurra
e24138eae6
Don't insert input when the fn key is held
2022-07-27 12:01:44 +02:00
Antonio Scandurra
874e3bd51d
Dispatch application menu events if custom key equivalent wasn't found
2022-07-27 11:46:47 +02:00
Antonio Scandurra
6c6189a344
Fix vim keybindings containing the shift modifier
...
They regressed as part of https://github.com/zed-industries/zed/pull/1405 .
2022-07-27 09:31:47 +02:00
Antonio Scandurra
b02e23a2f3
Honor shift when converting keystroke to native key equivalent
2022-07-27 09:28:56 +02:00
Max Brunsfeld
1a1b7810b7
Restructure autoindent to preserve relative indentation of inserted text
2022-07-26 17:43:43 -07:00
Max Brunsfeld
0232aba028
🎨 compute_autoindents
2022-07-26 17:09:30 -07:00
Max Brunsfeld
07f1486c13
Improve calculation of which lines are new when auto-indenting
2022-07-26 17:09:30 -07:00
Mikayla Maki
b5b6f2a1ff
Checkpoint, still not compiling
2022-07-26 16:58:14 -07:00
Mikayla Maki
07dcfe4523
Merge pull request #1417 from zed-industries/working-directory-regression
...
Fixed regression in working directory code
2022-07-26 16:39:40 -07:00
Mikayla Maki
a24e66563d
Added test covering this feature
2022-07-26 16:30:51 -07:00
Mikayla Maki
a77ecce10c
Fixed regression in working directory code
2022-07-26 16:22:07 -07:00
Mikayla Maki
3ff04c8c44
Checkpoint, still converting terminal to events. Not compiling
2022-07-26 16:17:26 -07:00
Max Brunsfeld
c50f14d70f
0.49.0
2022-07-26 14:26:45 -07:00
Max Brunsfeld and Keith Simmons
50a7931d8a
Restore lack of bottom border on active tab
...
Co-authored-by: Keith Simmons <keith@zed.dev >
2022-07-26 14:20:29 -07:00
Mikayla Maki
11d99b055c
removed stray file
2022-07-26 13:10:04 -07:00
Nate Butler
ac15c37cf1
Merge pull request #1416 from zed-industries/update-theme-styles
...
Rebalance text and icon color usage...
2022-07-26 16:04:42 -04:00
Nate Butler
96c88b9aaa
Rebalance text and icon color usage...
...
...to better differentiate between primary, secondary and muted.
2022-07-26 15:53:48 -04:00
Keith Simmons
cf1b62de8f
Merge pull request #1414 from zed-industries/fix-theme-issues
...
Fix tab bar themes
2022-07-26 11:55:17 -07:00
K Simmons
cbf0722591
Extract tab bar from workspace
2022-07-26 10:41:02 -07:00
Nate Butler
46181ef2ca
Use Fontawesome Icons
...
Update arrow variants, download, check marks to use Font awesome icon variants
2022-07-26 12:45:09 -04:00
Antonio Scandurra
cc79c65203
Merge pull request #1413 from zed-industries/sort-symbols-and-completions
...
Improve sorting of project symbols and completions
2022-07-26 15:11:33 +02:00
Antonio Scandurra
dcd12f677b
Show symbols located in visible paths before ones located externally
2022-07-26 14:48:18 +02:00
Antonio Scandurra
47732691d4
Honor sort_text when language server provides completions
2022-07-26 10:41:39 +02:00
Antonio Scandurra
bd99224be8
Merge pull request #1412 from zed-industries/fix-go-formatting
...
Clip invalid edits from LSP instead of reporting an error
2022-07-26 08:51:06 +02:00
Antonio Scandurra
77a1d3aa12
Clip invalid edits from LSP instead of reporting an error
...
This fixes an issue with the Go language server, which reports invalid
formatting ranges when there's a missing newline at the end of the file.
Specifically, if the buffer is `N` lines long, it will try to insert the
newline at `Point(N + 1, 0)`.
I confirmed the behavior is the same in VS Code, and they indeed clip the
LSP ranges as well.
2022-07-26 08:43:27 +02:00
Mikayla Maki
fa1d34ccdb
Fixed conflicts
2022-07-25 17:24:25 -07:00
Mikayla Maki
ecde744161
keeping both...
2022-07-25 17:24:25 -07:00
Mikayla Maki
90668ad33a
Finished refactor for mutable terminal and long-single-lock style. Currently terminal is deadlocking instantly, need to just do the full refactor
2022-07-25 17:24:25 -07:00
Mikayla Maki
2c3ba57269
Checkpoint, build failing
2022-07-25 17:24:25 -07:00