Max Brunsfeld
2d0bb76c40
Avoid undesirable pane item deduping with multibuffers
2022-09-02 11:59:10 -07:00
Max Brunsfeld
ea7042703e
Avoid updating package-lock.json when building Zed
2022-09-02 11:39:54 -07:00
Max Brunsfeld
4e15e7c914
Merge pull request #1600 from zed-industries/enclosing-brackets-crash
...
Fix crash when querying for enclosing brackets at EOF
2022-09-02 10:27:57 -07:00
Max Brunsfeld
ed323dbfd9
Fix crash when querying for enclosing brackets at EOF
2022-09-02 10:23:46 -07:00
Mikayla Maki
ddab5e57b3
Merge pull request #1598 from zed-industries/terminal-process-info
...
Terminal Active Process Title
2022-09-01 17:55:57 -07:00
K Simmons
15b52ef1ea
Merge pull request #1596 from zed-industries/move-pane-panic-fix
...
Don't panic if a tab isn't present in a from tab when dragged
2022-09-01 17:47:16 -07:00
K Simmons and Mikayla Maki
0e4d9a9d57
Add process info to terminal so that we can show the active process in the terminal tab title
...
Co-Authored-By: Mikayla Maki <mikayla@zed.dev >
2022-09-01 17:46:11 -07:00
K Simmons
d7607394e7
Don't panic if a tab isn't present in a from tab when dragged
2022-09-01 15:17:25 -07:00
Max Brunsfeld
8205d48540
0.53
2022-09-01 14:09:14 -07:00
Max Brunsfeld and Keith Simmons
5e35b1b694
Avoid subtraction underflow when searching terminal
...
Co-authored-by: Keith Simmons <keith@zed.dev >
2022-09-01 14:06:16 -07:00
Mikayla Maki
77dd14da38
Merge pull request #1587 from zed-industries/alac-search
...
Terminal Search
2022-09-01 13:49:48 -07:00
K Simmons
f48f56052c
Merge pull request #1593 from zed-industries/drag-and-drop-multiple-windows
...
Drag and drop with multiple windows fix
2022-09-01 13:45:47 -07:00
Mikayla Maki
4e3db12e8e
Finished terminal search
2022-09-01 13:45:46 -07:00
K Simmons and Max Brunsfeld
b1efab3314
Impl default for drag and drop global. Make drag and drop global maintain a list of weak handles to the container.
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2022-09-01 12:13:46 -07:00
Mikayla Maki
8e7c44bbf9
Added cursor I-Beam
2022-09-01 11:55:15 -07:00
Mikayla Maki
e110495dc9
Improved performance of terminal rendering further
2022-09-01 11:43:27 -07:00
Mikayla Maki
4288bf6add
Merge pull request #1589 from zed-industries/add-code-action-size
...
Add code action size
2022-08-31 20:38:31 -07:00
Mikayla Maki
978104acfd
Actually added all files this time
2022-08-31 20:37:04 -07:00
Mikayla Maki
e0beda8ad7
Made code actions themeable
2022-08-31 20:35:42 -07:00
Mikayla Maki
fec938bc4a
??
2022-08-31 18:27:25 -07:00
Mikayla Maki
45da742ada
Terminal implements important half of search protocol
2022-08-31 17:41:53 -07:00
Mikayla Maki
87588e07cc
Search rendering and basic regex stuff complete
2022-08-31 16:17:46 -07:00
Mikayla Maki
cc4aa81662
search stuff
2022-08-31 16:17:46 -07:00
Mikayla Maki
f9393b7d74
Checkpoint commit, almost have the initial search research done. Don't forget to remove test keymap
2022-08-31 16:17:46 -07:00
K Simmons
2dd11336d5
Merge pull request #1581 from zed-industries/generalized-item-search
...
Make Workspace item search generic
2022-08-31 16:12:45 -07:00
K Simmons
195c5ddfd9
Merge pull request #1585 from zed-industries/more-drag-and-drop-fixes
...
Some more drag and drop fixes
2022-08-31 14:24:02 -07:00
K Simmons
0578489b97
Simulate mouse up if mouse was released outside window, don't report dragged payload if it was dragged from a different window
2022-08-31 14:06:38 -07:00
Mikayla Maki
02303d8c56
Merge pull request #1584 from zed-industries/restore-modal-terminal
...
restore modal terminal
2022-08-31 13:09:03 -07:00
Mikayla Maki
1f4cc69927
restore modal terminal
2022-08-31 13:06:15 -07:00
K Simmons
1dcbc43986
Revert unnecessary app.rs changes
2022-08-30 22:01:36 -07:00
K Simmons
529bf68aa0
Add match associated type and fix failing test
2022-08-30 21:53:49 -07:00
Max Brunsfeld
a1aaa1d561
Merge pull request #1582 from zed-industries/create-directory-race
...
Avoid leaving directory in a pending state when fs events are received before fs reads resolve
2022-08-30 16:56:04 -07:00
Max Brunsfeld
fdc1cc2702
Avoid changing entry's kind from Dir to PendingDir in refresh_entry
...
When lots of filesystem changes are occurring, the filesystem event
for the directory creation may be delivered before the call to
fs::metadata resolves.
2022-08-30 16:13:07 -07:00
K Simmons
a13b9e2f71
SearchableItem trait is completed and editor searches appear to be working
2022-08-30 15:37:54 -07:00
Max Brunsfeld
13cf937778
Merge pull request #1559 from zed-industries/language-injection
...
Add language injection support
2022-08-30 11:54:00 -07:00
Max Brunsfeld
bebc706b8c
Fix bugs in SyntaxMap::interpolate found by the randomized test
2022-08-29 16:52:58 -07:00
Max Brunsfeld
509bc3db97
Add Buffer::anchored_edits_since method
...
This method returns the anchor range associated with each edit. The
anchor ranges allow you to determine how each edit interacts with
an existing anchor range that the edit has touched.
2022-08-29 16:51:31 -07:00
Max Brunsfeld
1e41f83ba9
Check invariants after interpolating tree in random syntax map test
2022-08-29 16:16:11 -07:00
K Simmons
c3a77dcd3e
Merge pull request #1572 from zed-industries/drag-and-drop-fixes
...
Misc drag and drop issue fixes
2022-08-26 15:58:16 -07:00
K Simmons
5232222991
Fix some drag and drop issues including the mouse cursor not being locked to pointer, tooltips being incorrect when a dragged tab is used, and some subscription leaks from panes
2022-08-26 15:43:15 -07:00
Max Brunsfeld
a4fd090f61
Start work on randomized test for SyntaxMap, fix discovered bugs
2022-08-25 17:49:39 -07:00
K Simmons
acdcf0c4c6
Merge pull request #1515 from zed-industries/drag-and-drop
...
Drag and drop
2022-08-25 16:52:15 -07:00
K Simmons
c6536db256
Merge branch 'main' into drag-and-drop
2022-08-25 16:32:11 -07:00
K Simmons
8d10edea0f
Add tests for Pane::add_item
2022-08-25 16:21:44 -07:00
K Simmons
4080b5b7f3
Drag and drop tabs working. all known bugs fixed
2022-08-25 11:14:24 -07:00
Max Brunsfeld
7f9477bf28
Update to latest tree-sitter commit
...
This is needed for https://github.com/tree-sitter/tree-sitter/pull/1845
2022-08-25 10:58:46 -07:00
Max Brunsfeld
c7e1709a1c
Add missing rust highlights
2022-08-24 16:49:03 -07:00
Max Brunsfeld
b832ba42dd
Fix pattern order in C++ highlight query
...
Later patterns take precedence in Zed, so function names were previously
being highlighted as variables due to the plain `identifier` pattern.
2022-08-24 16:37:28 -07:00
Max Brunsfeld
7e355c710d
Add injection queries for macro bodies in C and C++
2022-08-24 16:37:14 -07:00
Max Brunsfeld
8bee4958f2
Fix re-parsing when buffer's language has changed
2022-08-24 15:32:42 -07:00