Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | internal: refactor unimplemented builtin macro diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -0/+19 |
| | |||||
* | minor: simplify | Aleksey Kladov | 2021-06-13 | 5 | -17/+15 |
| | |||||
* | internal: check diagnostics in all files and not just the first one | Aleksey Kladov | 2021-06-13 | 2 | -9/+23 |
| | |||||
* | internal: remove def-level diagnostics tests | Aleksey Kladov | 2021-06-13 | 1 | -0/+12 |
| | |||||
* | internal: refactor macro error | Aleksey Kladov | 2021-06-13 | 1 | -0/+163 |
| | |||||
* | internal: refactor unresolved proc macro diagnostic | Aleksey Kladov | 2021-06-13 | 2 | -1/+35 |
| | |||||
* | internal: refactor inactive code diagnostics | Aleksey Kladov | 2021-06-13 | 1 | -0/+113 |
| | |||||
* | internal: refactor unresolved macro call diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -0/+72 |
| | |||||
* | internal: refactor unresolved import diagnostic | Aleksey Kladov | 2021-06-13 | 2 | -0/+91 |
| | |||||
* | internal: refactor unresolved extern crate diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -0/+49 |
| | |||||
* | internal: unified missing fields diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -10/+25 |
| | |||||
* | internal: move missing_fields diagnostics | Aleksey Kladov | 2021-06-13 | 3 | -49/+75 |
| | |||||
* | internal: start new diagnostics API | Aleksey Kladov | 2021-06-13 | 2 | -28/+47 |
| | | | | | | | | | | | | | | | | | | At the moment, this moves only a single diagnostic, but the idea is reafactor the rest to use the same pattern. We are going to have a single file per diagnostic. This file will define diagnostics code, rendering range and fixes, if any. It'll also have all of the tests. This is similar to how we deal with assists. After we refactor all diagnostics to follow this pattern, we'll probably move them to a new `ide_diagnostics` crate. Not that we intentionally want to test all diagnostics on this layer, despite the fact that they are generally emitted in the guts on the compiler. Diagnostics care to much about the end presentation details/fixes to be worth-while "unit" testing. So, we'll unit-test only the primary output of compilation process (types and name res tables), and will use integrated UI tests for diagnostics. | ||||
* | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 2 | -3/+3 |
| | |||||
* | Add pub mod option for UnlinkedFile | rainy-me | 2021-05-18 | 10 | -99/+115 |
| | |||||
* | fix: don't add extra whitespace around fields | Aleksey Kladov | 2021-05-17 | 1 | -0/+25 |
| | | | | closes #8785 | ||||
* | minor: add missing tests | Aleksey Kladov | 2021-05-17 | 2 | -0/+52 |
| | |||||
* | internal: scalable module structure for fixits | Aleksey Kladov | 2021-05-17 | 7 | -236/+692 |
| | |||||
* | minor: extract fix to file | Aleksey Kladov | 2021-05-17 | 2 | -44/+196 |
| | |||||
* | internal: use mutable syntax trees when filling fields | Aleksey Kladov | 2021-05-16 | 1 | -3/+4 |
| | |||||
* | Resolve single assist only | Kirill Bulatov | 2021-05-03 | 2 | -9/+9 |
| | |||||
* | Add a way to resolve certain assists | Kirill Bulatov | 2021-05-03 | 2 | -10/+48 |
| | |||||
* | feat: improve performance by delaying computation of fixes for diagnostics | Aleksey Kladov | 2021-04-13 | 2 | -14/+26 |
| | |||||
* | internal: prepare for lazy diagnostics | Aleksey Kladov | 2021-04-12 | 3 | -26/+38 |
| | |||||
* | Prefer add `mod` declaration to lib.rs over file.rs in UnlinkedFile fix | Lukas Wirth | 2021-03-27 | 1 | -1/+1 |
| | |||||
* | syntax: return owned string instead of leaking string | cynecx | 2021-03-26 | 1 | -1/+1 |
| | |||||
* | Document unlinked-file diagnostic | Jonas Schievink | 2021-03-24 | 1 | -0/+4 |
| | |||||
* | avoid converting types into themselves via .into() (clippy::useless-conversion) | Matthias Krüger | 2021-03-17 | 1 | -1/+1 |
| | | | | example: let x: String = String::from("hello world").into(); | ||||
* | Add module comment | Jonas Schievink | 2021-03-15 | 1 | -0/+2 |
| | |||||
* | Use pub(crate) | Jonas Schievink | 2021-03-15 | 1 | -3/+3 |
| | |||||
* | Redo it properly and add a quickfix | Jonas Schievink | 2021-03-15 | 1 | -0/+154 |
| | |||||
* | Remove use of SourceFileEdit | Phil Ellison | 2021-01-23 | 1 | -2/+1 |
| | |||||
* | cargo fmt | Phil Ellison | 2021-01-23 | 1 | -1/+5 |
| | |||||
* | Address review comments | Phil Ellison | 2021-01-23 | 1 | -9/+4 |
| | |||||
* | cargo fmt | Phil Ellison | 2021-01-23 | 1 | -2/+7 |
| | |||||
* | Implement fix, add tests | Phil Ellison | 2021-01-23 | 1 | -18/+11 |
| | |||||
* | Add diagnostic for filter_map followed by next | Phil Ellison | 2021-01-23 | 1 | -1/+32 |
| | |||||
* | Remove obsolete RangeInfo usage in rename | Lukas Wirth | 2021-01-18 | 1 | -1/+1 |
| | |||||
* | Make rename reference search use ide_db::search directly | Lukas Wirth | 2021-01-18 | 1 | -1/+1 |
| | |||||
* | Phase out SourceFileEdits in favour of a plain HashMap | Lukas Wirth | 2021-01-14 | 2 | -15/+9 |
| | |||||
* | Group file source edits by FileId | Lukas Wirth | 2021-01-14 | 2 | -13/+12 |
| | |||||
* | cargo fmt | Phil Ellison | 2021-01-07 | 1 | -1/+2 |
| | |||||
* | Add fix to wrap return expression in Some | Phil Ellison | 2021-01-07 | 1 | -6/+7 |
| | |||||
* | Change <|> to $0 - Rebase | Kevaundray Wedderburn | 2021-01-07 | 1 | -4/+4 |
| | |||||
* | Remove some stale deprecations | Aleksey Kladov | 2021-01-07 | 1 | -3/+0 |
| | |||||
* | source_old -> source for cases that can be handled by simple bubbling | Nick Spain | 2021-01-02 | 1 | -3/+3 |
| | |||||
* | Mark HasSource::source_old as deprecated but allow at all call sites | Nick Spain | 2021-01-02 | 1 | -0/+3 |
| | |||||
* | HasSource::source -> HasSource::source_old | Nick Spain | 2021-01-02 | 1 | -3/+3 |
| | | | | To start migrating HasSource::source to return an Option. | ||||
* | Add initial_contents field for CreateFile | Daiki Ihara | 2020-12-21 | 1 | -0/+1 |
| | |||||
* | Align code_model name with ungrammar | Aleksey Kladov | 2020-12-20 | 1 | -1/+1 |
| |