Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor AssistBuilder to manage a SourceChange | Christoph Herzog | 2020-07-07 | 1 | -1/+1 |
| | | | | | | | `AssistBuilder`` now managaes a full `SourceChange` instead of a Vec<SourceFileEdit>. This prepares AssistBuilder to handle creation of new files. | ||||
* | Anchor file-system operations to the file, and not to the source root. | Aleksey Kladov | 2020-06-16 | 1 | -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! | ||||
* | Simplify | Aleksey Kladov | 2020-06-08 | 1 | -16/+7 |
| | |||||
* | KISS SourceChange | Aleksey Kladov | 2020-05-22 | 1 | -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 positions | Aleksey Kladov | 2020-05-21 | 1 | -18/+1 |
| | |||||
* | Remove unused cursor positions | Aleksey Kladov | 2020-05-21 | 1 | -3/+2 |
| | |||||
* | Add AssistConfig | Aleksey Kladov | 2020-05-19 | 1 | -0/+5 |
| | |||||
* | Use SourceChange for assists | Aleksey Kladov | 2020-05-06 | 1 | -3/+3 |
| | |||||
* | Lift SourceChange to the ra_ide_db | Aleksey Kladov | 2020-05-06 | 1 | -0/+120 |