aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_db/src/source_change.rs
Commit message (Collapse)AuthorAgeFilesLines
* Anchor file-system operations to the file, and not to the source root.Aleksey Kladov2020-06-161-3/+3
| | | | | | | | | | | | | | | | Anchoring to the SourceRoot wont' work if the path is absolute: #[path = "/tmp/foo.rs"] mod foo; Anchoring to a file will. However, we *should* anchor, instead of just producing an abs path. I can imagine a situation where, for example, rust-analyzer processes crates from different machines (or, for example, from in-memory git branch), where the same absolute path in different crates might refer to different files in the end!
* SimplifyAleksey Kladov2020-06-081-16/+7
|
* KISS SourceChangeAleksey Kladov2020-05-221-59/+20
| | | | | | The idea behind requiring the label is a noble one, but we are not really using it consistently anyway, and it should be easy to retrofit later, should we need it.
* Remove dead code for handling cursor positionsAleksey Kladov2020-05-211-18/+1
|
* Remove unused cursor positionsAleksey Kladov2020-05-211-3/+2
|
* Add AssistConfigAleksey Kladov2020-05-191-0/+5
|
* Use SourceChange for assistsAleksey Kladov2020-05-061-3/+3
|
* Lift SourceChange to the ra_ide_dbAleksey Kladov2020-05-061-0/+120