Commit log
70cb755
Merge pull request #80 from zed-industries/collaboration-plans
Click to expand commit body
Add document outlining plans for collaboration
Antonio Scandurra
created
4 years ago
6d83ed2
Add RPC implementation details to the collaboration plan
Nathan Sobo
created
4 years ago
a4d16e6
Add document outlining plans for collaboration
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
3597305
Merge pull request #77 from zed-industries/merge-selections-larger-syntax-node
Click to expand commit body
Merge selections correctly when selecting larger syntax node
Antonio Scandurra
created
4 years ago
2ca4dd2
Merge pull request #78 from zed-industries/fewer-calls-to-add-summary
Click to expand commit body
Avoid calling `add_summary` twice in `sum_tree::Cursor`
Antonio Scandurra
created
4 years ago
Antonio Scandurra
created
4 years ago
32fbdfe
Avoid calling `add_summary` twice in `sum_tree::Cursor`
Click to expand commit body
As I was looking into `SumTree` for the upcoming round of changes to the
buffer, I noticed that we were inadvertently adding summaries twice
every time we skipped over a node in the tree.
This is a pretty heavy code path that's pretty ubiquitous in the
codebase, so this commit gets rid of the unnecessary addition.
Antonio Scandurra
created
4 years ago
7c41831
Merge selections correctly when selecting larger syntax node
Click to expand commit body
When running this command with multiple cursors, if one of them was at a
later position in the buffer but lying on a shallower node, it could
happen that its start could move prior to cursors that were before it
but lying on a deeper node.
This could cause the selection merging algorithm to mistakenly keep some
selections even if they overlapped. With this commit we now sort
selections prior to merging them in `Editor::select_larger_syntax_node`.
Antonio Scandurra
created
4 years ago
0811919
Add more emacs-inspired bindings
Click to expand commit body
Word-wise movement and columnar selection without reaching for the arrows.
Nathan Sobo
created
4 years ago
f87aa14
Fix error when running workspace:open command
Max Brunsfeld
created
4 years ago
ff2ab4b
Merge pull request #75 from zed-industries/naming-cleanup
Click to expand commit body
Clean up naming conventions project-wide
Nathan Sobo
created
4 years ago
6ef4478
Rename context parameters to `cx` in gpui
Max Brunsfeld
created
4 years ago
173f997
Rename context parameters to `cx` in sum_tree
Max Brunsfeld
created
4 years ago
f6e2754
Rename context parameters to `cx` in main.rs
Max Brunsfeld
created
4 years ago
5fe3081
Rename context parameters to `cx` in pane.rs
Max Brunsfeld
created
4 years ago
16c6400
Rename context parameters to `cx` in fold_map.rs
Max Brunsfeld
created
4 years ago
a4aba3f
Rename context parameters to `cx` in selection.rs
Max Brunsfeld
created
4 years ago
7148925
Rename context parameters to `cx` in movement.rs
Max Brunsfeld
created
4 years ago
765a8d0
Rename context parameters to `cx` in editor/element.rs
Max Brunsfeld
created
4 years ago
ca87dcc
Rename context parameters to `cx` in display_map.rs
Max Brunsfeld
created
4 years ago
b4430d1
Rename context parameters to `cx` in buffer.rs
Max Brunsfeld
created
4 years ago
e8deed4
Rename context parameters to `cx` in worktree.rs
Max Brunsfeld
created
4 years ago
bc4f5af
Rename context parameters to `cx` in workspace.rs
Max Brunsfeld
created
4 years ago
2285cba
Rename context parameters to `cx` in file_finder.rs
Max Brunsfeld
created
4 years ago
5176f3d
Rename context parameters to `cx` in editor.rs
Max Brunsfeld
created
4 years ago
90f3554
Rename BufferView -> Editor
Click to expand commit body
* BufferElement -> EditorElement
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
139bcb8
Rename `foo/mod.rs` files too `foo.rs`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
9369249
Merge pull request #73 from zed-industries/grammars-cursor
Click to expand commit body
Initial syntax support
Max Brunsfeld
created
4 years ago
7339b9b
Bump Tree-sitter
Click to expand commit body
Pass ranges to `set_byte_range`, `set_point_range`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
8b7a314
Implement bracket matching using queries
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
e9bd872
Implement buffer::move_to_enclosing_bracket
Nathan Sobo
created
4 years ago
Antonio Scandurra
created
4 years ago
bf8eee2
Add `Buffer::enclosing_bracket_ranges`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4 years ago
0b51e99
Delete stale `indents.scm` file
Antonio Scandurra
created
4 years ago
36c1d21
Add unit test for `BufferView::select_{larger,smaller}_syntax_node`
Antonio Scandurra
created
4 years ago
Antonio Scandurra
created
4 years ago
8a97e9c
Implement `select-smaller-syntax-node` for buffer
Antonio Scandurra
created
4 years ago
23d1d91
Implement `select_larger_syntax_node` for buffer
Antonio Scandurra
created
4 years ago
6992c19
Acquire and release `QueryCursor`s via a `QueryCursorHandle`
Antonio Scandurra
created
4 years ago
07aeb32
Punt on auto-indentation for now
Antonio Scandurra
created
4 years ago
79878f2
WIP - new approach to autoindent
Click to expand commit body
- Indent one row at a time.
- Consider only the innermost match.
Max Brunsfeld
created
4 years ago
fc8758c
Reset QueryCursors before putting them back in the pool
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
and
Antonio Scandurra
created
4 years ago
c423033
Fix panic in `autoindent_for_rows` caused by overshooting row range
Antonio Scandurra
created
4 years ago
362b369
WIP: Print autoindents on tab
Antonio Scandurra
created
4 years ago
1cd04bd
Rename `indent.scm` to `indents.scm`
Antonio Scandurra
created
4 years ago
7bea3fd
Start on a query-based autoindent system
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
3c06738
:lipstick: Add Buffer::row_count
Max Brunsfeld
created
4 years ago
7c08484
Batch `indent_for_rows`
Click to expand commit body
There's still a `todo!` in the test to write more assertions and verify
this more complex, batched logic.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
9b69cea
Replace `mod_item` with `declaration_list` for Rust's autoindent
Antonio Scandurra
created
4 years ago
acf84f9
Add `Buffer::autoindent_for_row`
Antonio Scandurra
created
4 years ago
Page 1 of 15