Jonas Schievink
|
40638b16c8
|
Use pub(crate)
|
2021-03-15 01:46:59 +01:00 |
|
Jonas Schievink
|
8b4cbbb87c
|
Redo it properly and add a quickfix
|
2021-03-15 01:39:41 +01:00 |
|
Phil Ellison
|
db6dda94a3
|
Remove use of SourceFileEdit
|
2021-01-23 07:54:45 +00:00 |
|
Phil Ellison
|
920e57bd15
|
cargo fmt
|
2021-01-23 07:40:25 +00:00 |
|
Phil Ellison
|
e62e4ed148
|
Address review comments
|
2021-01-23 07:40:25 +00:00 |
|
Phil Ellison
|
449ced4d21
|
cargo fmt
|
2021-01-23 07:40:25 +00:00 |
|
Phil Ellison
|
1ff860b93c
|
Implement fix, add tests
|
2021-01-23 07:40:25 +00:00 |
|
Phil Ellison
|
1316422a7c
|
Add diagnostic for filter_map followed by next
|
2021-01-23 07:40:24 +00:00 |
|
Lukas Wirth
|
21a6384ce6
|
Remove obsolete RangeInfo usage in rename
|
2021-01-18 20:28:20 +01:00 |
|
Lukas Wirth
|
6015a66cae
|
Make rename reference search use ide_db::search directly
|
2021-01-18 18:57:59 +01:00 |
|
Lukas Wirth
|
d5095329a1
|
Phase out SourceFileEdits in favour of a plain HashMap
|
2021-01-14 22:43:36 +01:00 |
|
Lukas Wirth
|
f51457a643
|
Group file source edits by FileId
|
2021-01-14 18:35:22 +01:00 |
|
Phil Ellison
|
554ee6ea02
|
cargo fmt
|
2021-01-07 19:01:33 +00:00 |
|
Phil Ellison
|
b2dbe6e43a
|
Add fix to wrap return expression in Some
|
2021-01-07 19:01:33 +00:00 |
|
Kevaundray Wedderburn
|
72b9a4fbd3
|
Change <|> to $0 - Rebase
|
2021-01-07 12:09:23 +00:00 |
|
Aleksey Kladov
|
c8ace3a295
|
Remove some stale deprecations
|
2021-01-07 13:54:18 +03:00 |
|
Nick Spain
|
c936e4b86f
|
source_old -> source for cases that can be handled by simple bubbling
|
2021-01-02 21:53:52 +11:00 |
|
Nick Spain
|
ea4708c444
|
Mark HasSource::source_old as deprecated but allow at all call sites
|
2021-01-02 21:53:51 +11:00 |
|
Nick Spain
|
27cadcd531
|
HasSource::source -> HasSource::source_old
To start migrating HasSource::source to return an Option.
|
2021-01-02 21:53:51 +11:00 |
|
Daiki Ihara
|
7a2eebde22
|
Add initial_contents field for CreateFile
|
2020-12-21 15:55:40 +09:00 |
|
Aleksey Kladov
|
f6ed16674c
|
Align code_model name with ungrammar
|
2020-12-20 10:05:24 +03:00 |
|
bors[bot]
|
44978acf51
|
Merge #6769
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 <leshenko.ivan770@gmail.com>
|
2020-12-10 16:18:49 +00:00 |
|
ivan770
|
bbb0bc7b04
|
Cast to ExprStmt, style fixes
|
2020-12-10 18:10:39 +02:00 |
|
Jonas Schievink
|
f57ce36988
|
Fix FileId computation in IncorrectCase fix
|
2020-12-10 14:16:34 +01:00 |
|
Aleksey Kladov
|
6e24321e45
|
Introduce anchored_path
They allow to represent paths like `#[path = "C:\path.rs"] mod foo;`
in a lossless cross-platform & network-transparent way.
|
2020-12-09 19:07:05 +03:00 |
|
Lukas Wirth
|
1d54c49271
|
Fix MissingFields DiagnosticFix trigger range
|
2020-12-09 12:45:39 +01:00 |
|
ivan770
|
7738467e0a
|
Format code
|
2020-12-08 19:25:21 +00:00 |
|
ivan770
|
f2950a1350
|
Remove unused use
|
2020-12-08 20:50:40 +02:00 |
|
ivan770
|
cb66bb8ff9
|
Remove this semicolon
|
2020-12-08 20:47:20 +02:00 |
|
Lukas Wirth
|
6145234450
|
Support struct variants in extract_struct_from_enum_variant
|
2020-11-03 20:57:04 +01:00 |
|
Aleksey Kladov
|
ba8d6d1e4e
|
Remove more unreachable pubs
|
2020-11-02 16:58:33 +01:00 |
|
Igor Aleksanov
|
19cce08662
|
Re-export base_db from ide_db
|
2020-10-24 11:39:57 +03:00 |
|
Jonas Schievink
|
a54e481646
|
Simplify diagnostic construction, add unused field
|
2020-10-20 17:53:04 +02:00 |
|
Aleksey Kladov
|
3086fb2ef4
|
Move field_shorthand to a separate module
|
2020-10-15 17:10:06 +02:00 |
|
Igor Aleksanov
|
991d019096
|
Use TextRange::contains_inclusive in fixes check
|
2020-10-12 11:32:22 +03:00 |
|
Igor Aleksanov
|
fb0ab9f745
|
Keep SyntaxNodePtr::range private
|
2020-10-12 11:05:00 +03:00 |
|
Igor Aleksanov
|
e24e22f288
|
Add fix for incorrect case diagnostic
|
2020-10-12 11:04:59 +03:00 |
|
Aleksey Kladov
|
eb81731600
|
Minor
|
2020-08-18 16:22:01 +02:00 |
|
Aleksey Kladov
|
1b0c7701cc
|
Rename ra_ide -> ide
|
2020-08-13 17:58:27 +02:00 |
|