rust-analyzer/crates/syntax/src
bors[bot] 791722b70a
Merge #10998
10998: Add number representation assists r=Veykril a=errx

Reimplemented assists from this PR https://github.com/rust-analyzer/rust-analyzer/pull/3683 with current APIs.
![image](https://user-images.githubusercontent.com/462486/145726792-47700215-26f2-4fdc-9520-63d1487901e5.png)
![image](https://user-images.githubusercontent.com/462486/145726802-f528a2f7-9159-41d3-b459-fc3fae033e60.png)


I've decided not to add options about size of the groups so behaviour is similar to clippy's. 
Minimal number length is also taken from clippy.


Co-authored-by: Oleg Matrokhin <matrokhin@gmail.com>
2021-12-13 18:49:06 +00:00
..
ast Reuse results from split_into_parts() 2021-12-13 21:16:04 +03:00
parsing parser tests work 2021-12-12 18:31:05 +03:00
tests parser tests work 2021-12-12 18:31:05 +03:00
validation Add semicolons for consistency 2021-10-03 23:39:43 +11:00
algo.rs Make selections in assists with trailing/leading whitespace more forgiving 2021-10-12 14:41:59 +02:00
ast.rs minor: Simplify 2021-10-03 13:05:42 +02:00
display.rs Remove possible multiline details in completions 2021-11-24 16:08:11 +01:00
fuzz.rs Add more docs 2021-05-22 16:53:47 +03:00
lib.rs internal: make sure macro test expand to valid syntax 2021-10-09 18:06:24 +03:00
parsing.rs tighten up invariants 2021-12-12 19:22:37 +03:00
ptr.rs Add semicolons for consistency 2021-10-03 23:39:43 +11:00
syntax_error.rs Rename ra_syntax -> syntax 2020-08-12 18:30:53 +02:00
syntax_node.rs Add comment 2021-10-10 16:53:37 +09:00
ted.rs Add semicolons for consistency 2021-10-03 23:39:43 +11:00
tests.rs Replace if let with match where appropriate 2021-10-05 09:00:21 +11:00
token_text.rs Imrove fn name computation in Generate function 2021-09-16 21:03:37 +05:00
utils.rs Better strip turbofishes 2021-03-08 23:59:39 +02:00
validation.rs Remove validation of super in use paths 2021-11-16 20:02:42 +02:00