Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | internal: refactor find_map diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -1/+0 |
| | |||||
* | internal: refactor missing or or some diagnostic | Aleksey Kladov | 2021-06-13 | 1 | -1/+0 |
| | |||||
* | internal: refactor remove this semicolon diagnostics | Aleksey Kladov | 2021-06-13 | 1 | -2/+0 |
| | |||||
* | internal: move missing_fields diagnostics | Aleksey Kladov | 2021-06-13 | 1 | -1/+0 |
| | |||||
* | internal: start new diagnostics API | Aleksey Kladov | 2021-06-13 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | Add pub mod option for UnlinkedFile | rainy-me | 2021-05-18 | 1 | -4/+4 |
| | |||||
* | internal: scalable module structure for fixits | Aleksey Kladov | 2021-05-17 | 1 | -236/+9 |
| | |||||
* | minor: extract fix to file | Aleksey Kladov | 2021-05-17 | 1 | -44/+4 |
| | |||||
* | 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 | 1 | -8/+8 |
| | |||||
* | Add a way to resolve certain assists | Kirill Bulatov | 2021-05-03 | 1 | -9/+42 |
| | |||||
* | feat: improve performance by delaying computation of fixes for diagnostics | Aleksey Kladov | 2021-04-13 | 1 | -13/+25 |
| | |||||
* | internal: prepare for lazy diagnostics | Aleksey Kladov | 2021-04-12 | 1 | -17/+25 |
| | |||||
* | syntax: return owned string instead of leaking string | cynecx | 2021-03-26 | 1 | -1/+1 |
| | |||||
* | 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(); | ||||
* | 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 | 1 | -12/+6 |
| | |||||
* | Group file source edits by FileId | Lukas Wirth | 2021-01-14 | 1 | -9/+9 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | Merge #6769 | bors[bot] | 2020-12-10 | 1 | -1/+22 |
|\ | | | | | | | | | | | | | | | | | | | 6769: Add native "remove this semicolon" diagnostics r=matklad a=ivan770 Closes #6739 ![demo2](https://user-images.githubusercontent.com/14003886/101530533-b76c3180-399a-11eb-9d18-5c8457721655.gif) Co-authored-by: ivan770 <[email protected]> | ||||
| * | Cast to ExprStmt, style fixes | ivan770 | 2020-12-10 | 1 | -4/+4 |
| | | |||||
| * | Format code | ivan770 | 2020-12-08 | 1 | -3/+10 |
| | | |||||
| * | Remove unused use | ivan770 | 2020-12-08 | 1 | -1/+1 |
| | | |||||
| * | Remove this semicolon | ivan770 | 2020-12-08 | 1 | -6/+20 |
| | | |||||
* | | Fix FileId computation in IncorrectCase fix | Jonas Schievink | 2020-12-10 | 1 | -4/+4 |
| | | |||||
* | | Introduce anchored_path | Aleksey Kladov | 2020-12-09 | 1 | -3/+5 |
| | | | | | | | | | | They allow to represent paths like `#[path = "C:\path.rs"] mod foo;` in a lossless cross-platform & network-transparent way. | ||||
* | | Fix MissingFields DiagnosticFix trigger range | Lukas Wirth | 2020-12-09 | 1 | -2/+3 |
|/ | |||||
* | Support struct variants in extract_struct_from_enum_variant | Lukas Wirth | 2020-11-03 | 1 | -1/+2 |
| | |||||
* | Remove more unreachable pubs | Aleksey Kladov | 2020-11-02 | 1 | -1/+1 |
| | |||||
* | Re-export base_db from ide_db | Igor Aleksanov | 2020-10-24 | 1 | -1/+1 |
| | |||||
* | Use TextRange::contains_inclusive in fixes check | Igor Aleksanov | 2020-10-12 | 1 | -1/+2 |
| | |||||
* | Keep SyntaxNodePtr::range private | Igor Aleksanov | 2020-10-12 | 1 | -1/+4 |
| | |||||
* | Add fix for incorrect case diagnostic | Igor Aleksanov | 2020-10-12 | 1 | -2/+18 |
| | |||||
* | Minor | Aleksey Kladov | 2020-08-18 | 1 | -0/+175 |