aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/diagnostics.rs
Commit message (Collapse)AuthorAgeFilesLines
* Shrink `unlinked-file` diagnostic to 3 charactersJonas Schievink2021-04-091-7/+9
|
* Don't mark unlinked file diagnostic as unusedJonas Schievink2021-03-281-1/+0
|
* Redo it properly and add a quickfixJonas Schievink2021-03-151-7/+154
|
* Diagnose files that aren't in the module treeJonas Schievink2021-03-101-3/+13
|
* For unresolved macros, hightlight only the last segmentAleksey Kladov2021-02-281-11/+56
|
* Add diagnostic for filter_map followed by nextPhil Ellison2021-01-231-0/+3
|
* Handle self/super/crate in PathSegment as NameRefLukas Wirth2021-01-151-2/+2
|
* Phase out SourceFileEdits in favour of a plain HashMapLukas Wirth2021-01-141-7/+5
|
* Group file source edits by FileIdLukas Wirth2021-01-141-10/+9
|
* Switch test markerPhil Ellison2021-01-071-1/+1
|
* Add fix to wrap return expression in SomePhil Ellison2021-01-071-2/+51
|
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-22/+22
|
* test for new behaviorAdnoC2020-12-301-0/+16
|
* Smarter bracketed use diagnosticAdnoC2020-12-301-0/+6
|
* Simplify moreAleksey Kladov2020-12-241-43/+22
|
* SimplifyAleksey Kladov2020-12-241-35/+7
|
* Prevent multiple incorrect case diagnostics in functionsunexge2020-12-231-0/+13
|
* Update test diagnostics in ideDaiki Ihara2020-12-211-0/+1
|
* Merge #6769bors[bot]2020-12-101-0/+3
|\ | | | | | | | | | | | | | | | | | | 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]>
| * Remove this semicolonivan7702020-12-081-0/+3
| |
* | Introduce anchored_pathAleksey Kladov2020-12-091-4/+6
|/ | | | | They allow to represent paths like `#[path = "C:\path.rs"] mod foo;` in a lossless cross-platform & network-transparent way.
* Don't diagnose `#[cfg]` in macrosJonas Schievink2020-12-031-0/+5
|
* More accurately place proc-macro diagnosticJonas Schievink2020-11-271-4/+6
|
* Publish diagnostics for macro expansion errorsJonas Schievink2020-11-271-0/+7
|
* Fill the diagnostic code field in publish_diagnosticsLukas Wirth2020-11-171-8/+32
|
* Do insertion lookahead in algo::diffLukas Wirth2020-10-261-1/+1
|
* Re-export base_db from ide_dbIgor Aleksanov2020-10-241-1/+1
|
* Rewrite algo::diff to support insertion and deletionLukas Wirth2020-10-221-1/+1
|
* Fixup botched renameJonas Schievink2020-10-201-1/+1
|
* Add a (hint) diagnostic for unconfigured itemsJonas Schievink2020-10-201-1/+15
|
* Simplify diagnostic construction, add unused fieldJonas Schievink2020-10-201-38/+35
|
* Move field_shorthand to a separate moduleAleksey Kladov2020-10-151-196/+5
|
* Diagnose shorthand in patterns as wellAleksey Kladov2020-10-151-5/+94
|
* flattenAleksey Kladov2020-10-151-26/+33
|
* Prepare for pat_field_shorthandAleksey Kladov2020-10-151-5/+13
|
* Use TextRange::contains_inclusive in fixes checkIgor Aleksanov2020-10-121-4/+2
|
* Fix code style issuesIgor Aleksanov2020-10-121-1/+0
|
* Apply case check diagnostic to impl itemsIgor Aleksanov2020-10-121-0/+24
|
* Make incorrect case diagnostic work inside of functionsIgor Aleksanov2020-10-121-0/+26
|
* Add diagnostics for enum names and variantsIgor Aleksanov2020-10-121-0/+26
|
* Add fix for incorrect case diagnosticIgor Aleksanov2020-10-121-0/+64
|
* rename mock_analysis -> fixtureAleksey Kladov2020-10-021-9/+6
|
* Get rid of MockAnalysisAleksey Kladov2020-10-021-15/+13
|
* Update testsJonas Schievink2020-09-161-5/+57
|
* Switch to expect_test from crates.ioAleksey Kladov2020-08-211-1/+1
|
* Merge #5804bors[bot]2020-08-181-59/+17
|\ | | | | | | | | | | | | | | | | | | 5804: Add type safety to diagnostic codes r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Add type safety to diagnostic codesAleksey Kladov2020-08-181-59/+17
| |
* | Introduce LabelAleksey Kladov2020-08-181-9/+4
|/
* MinorAleksey Kladov2020-08-181-3/+32
|
* Align diagnostics config with the rest of rust-analyzerAleksey Kladov2020-08-181-28/+46
|