Commit log
810315e
Don't request auto-indent if there is no language assigned on the buffer
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
and
Antonio Scandurra
created
4 years ago
b468014
Unconditionally preserve indentation when inserting newlines
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
and
Antonio Scandurra
created
4 years ago
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
f66b522
Cancel out outdents and indents referring to the previous row
Antonio Scandurra
created
4 years ago
18e5d75
Bias the start of an autoindent request towards the right for new text
Click to expand commit body
When a newline is inserted, this prevents the request from including
the line on which the newline got inserted.
Antonio Scandurra
created
4 years ago
451f0e7
Replace Buffer::request_autoindent API with ::edit_with_autoindent
Click to expand commit body
When computing the "previous autoindent suggestion", we can't just
use the old tree and the current text. We need to find out what the
suggestion would have been before we made any changes.
Max Brunsfeld
created
4 years ago
c0a75ab
Preserve indentation for lines that are both indented and outdented
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
d770255
Remove no-longer-used `dirty` field on `buffer::SyntaxTree`
Click to expand commit body
This became unnecessary when we reworked our reparsing logic
to block from 1ms on each parse.
Max Brunsfeld
created
4 years ago
b5d3ffb
Fix collection of row ranges in Buffer::perform_autoindent
Max Brunsfeld
created
4 years ago
2f29538
Implement selective auto-indent by comparing old and new suggestions
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
and
Antonio Scandurra
created
4 years ago
Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
and
Max Brunsfeld
created
4 years ago
2018537
Introduce a `Tab` action to indent line or insert soft tabs
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
d36805c
Don't push empty transactions onto the undo stack
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
77af9ef
Add more rust indent nodes
Max Brunsfeld
created
4 years ago
add1467
Generalize strategy for processing indentation ranges
Click to expand commit body
* Take into account the ranges' start and end columns, not just the rows
* Generalize the approach to dedenting
Max Brunsfeld
created
4 years ago
b83b4ad
Start work on a Buffer API for requesting autoindent on the next parse
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
a0c8b60
Merge pull request #203 from zed-industries/autoclose-pairs
Click to expand commit body
Autoclose pairs
Max Brunsfeld
created
4 years ago
7242729
Skip autoclosed pairs
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
05d7e9c
Start on autoclosing pairs
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
3cb7ba0
Make the fields of buffer::Language private
Max Brunsfeld
created
4 years ago
0282e6f
Add Cargo.toml features to fix compilation of individual crates
Max Brunsfeld
created
4 years ago
cefb902
Merge pull request #202 from zed-industries/crates
Click to expand commit body
Break project into crates to improve incremental compilation time
Max Brunsfeld
created
4 years ago
2fcb906
Fix path to zed crate in script/bundle
Max Brunsfeld
created
4 years ago
f70e387
Flip the dependency between editor and theme
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
f09798c
Use the same `test::run_test` function for async `gpui::test`s
Antonio Scandurra
created
4 years ago
9c7ef39
Minimize code generation for synchronous `gpui::test` macro
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
7a05461
Avoid loading Rust grammar in `zed` tests
Antonio Scandurra
created
4 years ago
2280c75
Extract `theme_selector` into its own crate
Antonio Scandurra
created
4 years ago
47b29a5
Extract `people_panel` into its own crate
Antonio Scandurra
created
4 years ago
cd6378e
Extract `file_finder` into its own crate
Antonio Scandurra
created
4 years ago
1ec0afb
Extract `chat_panel` into its own crate
Antonio Scandurra
created
4 years ago
d04a114
Extract `project_panel` into its own crate
Antonio Scandurra
created
4 years ago
499616d
Move `workspace` module into its own crate
Antonio Scandurra
created
4 years ago
2087c47
Extract `theme` into its own crate
Antonio Scandurra
created
4 years ago
0022c6b
Move `settings::test` helper into `zed::test`
Antonio Scandurra
created
4 years ago
5105596
Move sidebar-specific code out of Workspace
Antonio Scandurra
created
4 years ago
36594ec
Use edition = 2018 instead of 2021 for the editor crate
Antonio Scandurra
created
4 years ago
bbb27b9
Move ChannelList, UserStore into client crate
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
94209d2
Rename rpc_client -> client
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
2f0212e
Rename worktree crate to project, pull in Project
Click to expand commit body
Also, move the high-level fuzzy mathcing functions in
zed::fuzzy into the fuzzy crate so that project can
use them.
This required defining a 'PathMatchCandidateSet' trait
to avoid a circular dependency from fuzzy to worktree.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
748598e
Improve logging when avatar request fails
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
75cf248
List path dependencies first in all Cargo.toml files
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
1d97f08
Move editor into its own crate
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
d5b60ad
Rename zrpc to rpc
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
fdfed3d
Move all crates to a top-level crates folder
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
d768224
Clean commented dependencies
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
c236b08
Extract worktree, rpc_client, and util crates
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
1546202
Move `LanguageRegistry` into `buffer`
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
becae9f
Pull out `buffer` into its own crate
Antonio Scandurra
created
4 years ago
034aed0
Extract a `clock` subcrate for logical clocks
Antonio Scandurra
created
4 years ago
Page 16 of 50