Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve completion of cfg attributes | Jamie Cunliffe | 2021-06-21 | 2 | -0/+141 |
| | | | | | | | | | | | | The completion of cfg will look at the enabled cfg keys when performing completion. It will also look crate features when completing a feature cfg option. A fixed list of known values for some cfg options are provided. For unknown keys it will look at the enabled values for that cfg key, which means that completion will only show enabled options for those. | ||||
* | Various keyword completion fixes | Lukas Wirth | 2021-06-21 | 1 | -1/+5 |
| | |||||
* | Move out completion type position tests | Lukas Wirth | 2021-06-21 | 2 | -173/+0 |
| | |||||
* | Move out completion pattern tests | Lukas Wirth | 2021-06-21 | 3 | -467/+0 |
| | |||||
* | minor: use minicore | Aleksey Kladov | 2021-06-18 | 1 | -6/+3 |
| | |||||
* | minor: use minicore | Aleksey Kladov | 2021-06-18 | 1 | -12/+6 |
| | |||||
* | minor: use minicore | Aleksey Kladov | 2021-06-18 | 1 | -4/+1 |
| | |||||
* | Lift ast -> hir out of the for_each | rdambrosio | 2021-06-18 | 1 | -20/+18 |
| | |||||
* | Remove extra whitespace | rdambrosio | 2021-06-18 | 1 | -2/+2 |
| | |||||
* | Feat: inline generics in const and func trait completions | rdambrosio | 2021-06-18 | 1 | -27/+252 |
| | |||||
* | Merge #9313 | bors[bot] | 2021-06-17 | 2 | -2/+5 |
|\ | | | | | | | | | | | | | | | 9313: fix: Don't complete keywords in attributes inside expressions r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Don't complete keywords in attributes inside expressions | Lukas Wirth | 2021-06-17 | 2 | -2/+5 |
| | | |||||
* | | Complete `repr` attribute parameters | Lukas Wirth | 2021-06-17 | 2 | -0/+201 |
| | | |||||
* | | internal: add default to minicore | Aleksey Kladov | 2021-06-17 | 1 | -21/+7 |
| | | |||||
* | | Merge #9315 | bors[bot] | 2021-06-17 | 2 | -9/+17 |
|\ \ | |/ |/| | | | | | | | | | | | 9315: Nest all the or-patterns! r=Veykril a=Veykril `cargo +nightly clippy --fix -Z unstable-options --allow-dirty -- -A clippy::all -D clippy::unnested_or_patterns` Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Nest all the or-patterns! | Lukas Wirth | 2021-06-17 | 2 | -9/+17 |
| | | |||||
* | | Correct completions in items tests | Lukas Wirth | 2021-06-17 | 3 | -2/+12 |
| | | |||||
* | | Move item specific completion tests | Lukas Wirth | 2021-06-17 | 4 | -71/+2 |
| | | |||||
* | | Less filtering in completion tests | Lukas Wirth | 2021-06-17 | 6 | -97/+89 |
|/ | |||||
* | Fix incorrect completions in empty braced use statement | Lukas Wirth | 2021-06-17 | 1 | -1/+1 |
| | |||||
* | Refine `self`, `super` and `crate` completion in use paths | Lukas Wirth | 2021-06-17 | 4 | -14/+21 |
| | |||||
* | Move out and rewrite UseTree completion tests | Lukas Wirth | 2021-06-17 | 3 | -224/+0 |
| | |||||
* | Move test_utils into tests module | Lukas Wirth | 2021-06-16 | 16 | -35/+37 |
| | |||||
* | Don't complete paths after attributes | Lukas Wirth | 2021-06-16 | 3 | -92/+1 |
| | |||||
* | Don't show incorrect completions after unsafe or visiblity node | Lukas Wirth | 2021-06-16 | 2 | -11/+18 |
| | |||||
* | Don't complete visibility accessors after existing ones | Lukas Wirth | 2021-06-16 | 1 | -1/+3 |
| | |||||
* | Start refactoring ide_completion tests | Lukas Wirth | 2021-06-16 | 5 | -73/+2 |
| | |||||
* | Don't complete already used derive attributes | Lukas Wirth | 2021-06-16 | 1 | -20/+20 |
| | |||||
* | Add builtin derives to attribute completion fixtures | Lukas Wirth | 2021-06-16 | 1 | -7/+67 |
| | |||||
* | Merge #9299 | bors[bot] | 2021-06-16 | 2 | -53/+90 |
|\ | | | | | | | | | | | | | | | 9299: minor: Filter out non-type completions in the respective completions modules instead r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Filter out non-type completions in the respective completions modules instead | Lukas Wirth | 2021-06-16 | 2 | -53/+90 |
| | | |||||
* | | internal: switch some tests to minicore | Aleksey Kladov | 2021-06-15 | 1 | -17/+3 |
|/ | |||||
* | internal: don't #[ignore] tests | Aleksey Kladov | 2021-06-15 | 1 | -43/+6 |
| | | | | See the style.md for motivation | ||||
* | Add assoc type in trait bound completion test | Lukas Wirth | 2021-06-14 | 1 | -0/+18 |
| | |||||
* | Merge #9260 | bors[bot] | 2021-06-14 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 9260: tree-wide: make rustdoc links spiky so they are clickable r=matklad a=lf- Rustdoc was complaining about these while I was running with --document-private-items and I figure they should be fixed. Co-authored-by: Jade <[email protected]> | ||||
| * | tree-wide: make rustdoc links spiky so they are clickable | Jade | 2021-06-14 | 1 | -1/+1 |
| | | |||||
* | | clippy::redundant_field_names | Maan2003 | 2021-06-13 | 1 | -1/+1 |
| | | |||||
* | | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 4 | -13/+13 |
| | | |||||
* | | Fix some typos in flyimport docs | Kirill Bulatov | 2021-06-12 | 1 | -9/+9 |
| | | |||||
* | | Complete associated types in dyn and impl trait | Lukas Wirth | 2021-06-11 | 1 | -1/+33 |
|/ | |||||
* | Implement dummy expansions for builtin attributes | Lukas Wirth | 2021-06-09 | 2 | -6/+32 |
| | |||||
*-. | Merge #9181 #9182 | bors[bot] | 2021-06-08 | 5 | -12/+136 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9181: Don't complete values in type position r=jonas-schievink a=Veykril Will add some proper tests in a bit 9182: fix: don't complete derive macros as fn-like macros r=jonas-schievink a=jonas-schievink Part of https://github.com/rust-analyzer/rust-analyzer/issues/8518 bors r+ Co-authored-by: Lukas Wirth <[email protected]> Co-authored-by: Jonas Schievink <[email protected]> | ||||
| | * | fix: don't complete derive macros as fn-like macros | Jonas Schievink | 2021-06-08 | 3 | -4/+81 |
| |/ |/| | |||||
| * | Add tests checking no value completion in type pos | Lukas Wirth | 2021-06-08 | 2 | -0/+52 |
| | | |||||
| * | Don't complete values in type position | Lukas Wirth | 2021-06-08 | 3 | -8/+3 |
|/ | |||||
* | simplify | Lukas Wirth | 2021-06-07 | 3 | -25/+27 |
| | |||||
* | Remove unnecessary completion::macro_in_item_position | Lukas Wirth | 2021-06-07 | 3 | -65/+16 |
| | |||||
* | Move more things into PathCompletionContext | Lukas Wirth | 2021-06-07 | 6 | -14/+15 |
| | |||||
* | Simplify CompletionContext by introducing a path CallKind enum | Lukas Wirth | 2021-06-06 | 2 | -3/+3 |
| | |||||
* | Merge #9140 | bors[bot] | 2021-06-05 | 3 | -40/+71 |
|\ | | | | | | | | | | | | | | | | | | | 9140: feat: Render documentation for derive completion r=Veykril a=Veykril ![eEzGiq2wNa](https://user-images.githubusercontent.com/3757771/120847308-9c5a3300-c573-11eb-958d-e0f22f4757ed.gif) Nothing fancy as all the std derives aren't really documented though maybe some 3rd party crates document them equally to their trait counterparts. Co-authored-by: Lukas Wirth <[email protected]> |