aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/diagnostics
Commit message (Collapse)AuthorAgeFilesLines
* Add pub mod option for UnlinkedFilerainy-me2021-05-1810-99/+115
|
* fix: don't add extra whitespace around fieldsAleksey Kladov2021-05-171-0/+25
| | | | closes #8785
* minor: add missing testsAleksey Kladov2021-05-172-0/+52
|
* internal: scalable module structure for fixitsAleksey Kladov2021-05-177-236/+692
|
* minor: extract fix to fileAleksey Kladov2021-05-172-44/+196
|
* internal: use mutable syntax trees when filling fieldsAleksey Kladov2021-05-161-3/+4
|
* Resolve single assist onlyKirill Bulatov2021-05-032-9/+9
|
* Add a way to resolve certain assistsKirill Bulatov2021-05-032-10/+48
|
* feat: improve performance by delaying computation of fixes for diagnosticsAleksey Kladov2021-04-132-14/+26
|
* internal: prepare for lazy diagnosticsAleksey Kladov2021-04-123-26/+38
|
* Prefer add `mod` declaration to lib.rs over file.rs in UnlinkedFile fixLukas Wirth2021-03-271-1/+1
|
* syntax: return owned string instead of leaking stringcynecx2021-03-261-1/+1
|
* Document unlinked-file diagnosticJonas Schievink2021-03-241-0/+4
|
* avoid converting types into themselves via .into() (clippy::useless-conversion)Matthias Krüger2021-03-171-1/+1
| | | | example: let x: String = String::from("hello world").into();
* Add module commentJonas Schievink2021-03-151-0/+2
|
* Use pub(crate)Jonas Schievink2021-03-151-3/+3
|
* Redo it properly and add a quickfixJonas Schievink2021-03-151-0/+154
|
* Remove use of SourceFileEditPhil Ellison2021-01-231-2/+1
|
* cargo fmtPhil Ellison2021-01-231-1/+5
|
* Address review commentsPhil Ellison2021-01-231-9/+4
|
* cargo fmtPhil Ellison2021-01-231-2/+7
|
* Implement fix, add testsPhil Ellison2021-01-231-18/+11
|
* Add diagnostic for filter_map followed by nextPhil Ellison2021-01-231-1/+32
|
* Remove obsolete RangeInfo usage in renameLukas Wirth2021-01-181-1/+1
|
* Make rename reference search use ide_db::search directlyLukas Wirth2021-01-181-1/+1
|
* Phase out SourceFileEdits in favour of a plain HashMapLukas Wirth2021-01-142-15/+9
|
* Group file source edits by FileIdLukas Wirth2021-01-142-13/+12
|
* cargo fmtPhil Ellison2021-01-071-1/+2
|
* Add fix to wrap return expression in SomePhil Ellison2021-01-071-6/+7
|
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-4/+4
|
* Remove some stale deprecationsAleksey Kladov2021-01-071-3/+0
|
* source_old -> source for cases that can be handled by simple bubblingNick Spain2021-01-021-3/+3
|
* Mark HasSource::source_old as deprecated but allow at all call sitesNick Spain2021-01-021-0/+3
|
* HasSource::source -> HasSource::source_oldNick Spain2021-01-021-3/+3
| | | | To start migrating HasSource::source to return an Option.
* Add initial_contents field for CreateFileDaiki Ihara2020-12-211-0/+1
|
* Align code_model name with ungrammarAleksey Kladov2020-12-201-1/+1
|
* Merge #6769bors[bot]2020-12-101-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 fixesivan7702020-12-101-4/+4
| |
| * Format codeivan7702020-12-081-3/+10
| |
| * Remove unused useivan7702020-12-081-1/+1
| |
| * Remove this semicolonivan7702020-12-081-6/+20
| |
* | Fix FileId computation in IncorrectCase fixJonas Schievink2020-12-101-4/+4
| |
* | Introduce anchored_pathAleksey Kladov2020-12-091-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 rangeLukas Wirth2020-12-091-2/+3
|/
* Support struct variants in extract_struct_from_enum_variantLukas Wirth2020-11-031-1/+2
|
* Remove more unreachable pubsAleksey Kladov2020-11-021-1/+1
|
* Re-export base_db from ide_dbIgor Aleksanov2020-10-242-2/+2
|
* Simplify diagnostic construction, add unused fieldJonas Schievink2020-10-201-19/+13
|
* Move field_shorthand to a separate moduleAleksey Kladov2020-10-151-0/+206
|
* Use TextRange::contains_inclusive in fixes checkIgor Aleksanov2020-10-121-1/+2
|