Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More principled indentation trimming in fixtures | Aleksey Kladov | 2020-06-23 | 1 | -19/+4 |
| | |||||
* | Don't offer to add missing fields of unknown types | Laurențiu Nicola | 2020-06-22 | 1 | -0/+3 |
| | |||||
* | Merge #4851 | bors[bot] | 2020-06-19 | 1 | -2/+96 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 4851: Add quickfix to add a struct field r=TimoFreiberg a=TimoFreiberg Related to #4563 I created a quickfix for record literals first because the NoSuchField diagnostic was already there. To offer that quickfix for FieldExprs with unknown fields I'd need to add a new diagnostic (or create a `NoSuchField` diagnostic for those cases) I think it'd make sense to make this a snippet completion (to select the generated type), but this would require changing the `Analysis` API and I'd like some feedback before I touch that. Co-authored-by: Timo Freiberg <[email protected]> | ||||
| * | Add quickfix to add a struct field | Timo Freiberg | 2020-06-12 | 1 | -2/+96 |
| | | |||||
* | | Anchor file-system operations to the file, and not to the source root. | Aleksey Kladov | 2020-06-16 | 1 | -12/+8 |
|/ | | | | | | | | | | | | | | | | 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 determining whether the field is a tuple field | OptimalStrategy | 2020-06-12 | 1 | -5/+1 |
| | |||||
* | Fix invalid shorthand initialization diagnostic for tuple structs | OptimalStrategy | 2020-06-12 | 1 | -1/+18 |
| | |||||
* | Update wrap return tests | Jonas Schievink | 2020-06-11 | 1 | -29/+17 |
| | | | | Update "no diagnostic" tests, use `()` instead of `String` | ||||
* | Make known paths use `core` instead of `std` | Jonas Schievink | 2020-06-11 | 1 | -9/+9 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-06-08 | 1 | -2/+2 |
| | |||||
* | Fixed missing newline on each field on "Missing structure fields". | Cadu | 2020-05-27 | 1 | -1/+1 |
| | |||||
* | KISS SourceChange | Aleksey Kladov | 2020-05-22 | 1 | -49/+52 |
| | | | | | | 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 | -2/+0 |
| | |||||
* | Add AssistConfig | Aleksey Kladov | 2020-05-19 | 1 | -0/+2 |
| | |||||
* | Fixup tests | Aleksey Kladov | 2020-05-05 | 1 | -6/+18 |
| | |||||
* | Normalize naming of diagnostics | Aleksey Kladov | 2020-05-05 | 1 | -6/+6 |
| | |||||
* | Convert tests to text-size | Aleksey Kladov | 2020-04-25 | 1 | -4/+4 |
| | |||||
* | Convert code to text-size | Aleksey Kladov | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | Correctly highlight ranges of diagnostics from macros | Aleksey Kladov | 2020-04-17 | 1 | -6/+66 |
| | | | | closes #2799 | ||||
* | missing match arms diagnostic | Josh Mcguigan | 2020-04-07 | 1 | -1/+9 |
| | |||||
* | Start stdx | Aleksey Kladov | 2020-03-28 | 1 | -11/+7 |
| | | | | This crate will hold everything to small to be worth publishing | ||||
* | Support aliases and Self in struct literals | Florian Diebold | 2020-03-06 | 1 | -0/+27 |
| | | | | Fixes #3306. | ||||
* | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 1 | -3/+6 |
| | | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax. | ||||
* | Fill missing fields of enum variants | Aleksey Kladov | 2020-02-19 | 1 | -0/+29 |
| | |||||
* | ra_syntax: SyntaxError::range() now returns by value | Veetaha | 2020-02-17 | 1 | -1/+1 |
| | |||||
* | ra_syntax: reshape SyntaxError for the sake of removing redundancy | Veetaha | 2020-02-17 | 1 | -8/+2 |
| | |||||
* | cleanup imports | Aleksey Kladov | 2020-02-06 | 1 | -1/+2 |
| | |||||
* | Create modules via SourceBinder | Aleksey Kladov | 2020-01-16 | 1 | -4/+2 |
| | |||||
* | Proper emit diagnostic without fix | Edwin Cheng | 2020-01-07 | 1 | -19/+25 |
| | |||||
* | Reject tuple index for missing fields assist | Edwin Cheng | 2020-01-07 | 1 | -0/+8 |
| | |||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -1/+1 |
| | |||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 1 | -0/+652 |