about summary refs log tree commit diff
path: root/crates/ide/src
AgeCommit message (Collapse)AuthorLines
2022-01-17status: output all crates a file belongs toJonas Schievink-17/+17
2022-01-15Merge #11294bors[bot]-16/+18
11294: internal: Move format specifier lexing from syntax to ide_db r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2022-01-15Move format specifier lexing from syntax to ide_dbLukas Wirth-16/+18
2022-01-15Merge #11293bors[bot]-29/+3
11293: feat: Add very simplistic ident completion for format_args! macro input r=Veykril a=Veykril Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2022-01-15feat: Add very simplistic ident completion for format_args! macro inputLukas Wirth-29/+3
2022-01-15make it a configJake Heinz-1/+3
2022-01-14Merge #11283bors[bot]-10/+63
11283: fix: Adjust `.` typing auto indentation r=Veykril a=Veykril Fixes https://github.com/rust-analyzer/rust-analyzer/issues/629 bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2022-01-14fix: Adjust `.` typing auto indentationLukas Wirth-10/+63
2022-01-14hacky fix for cancellingJake Heinz-8/+11
2022-01-14one last bit of cleanupJake Heinz-18/+21
2022-01-14removed scoped threads, cleanupJake Heinz-71/+68
2022-01-14cleanup + detect num cpusJake Heinz-31/+1
2022-01-14cleanupJake Heinz-1/+1
2022-01-14use index mapJake Heinz-4/+10
2022-01-14make progress callback dynJake Heinz-4/+5
2022-01-14fix warningsJake Heinz-10/+9
2022-01-14simplifyJake Heinz-18/+13
2022-01-14ide: parallel prime cachesJake Heinz-17/+250
2022-01-12Mostly restore `hir` API boundaryJonas Schievink-6/+3
2022-01-08fix: Fix outline modules spilling inner doc injections into their parentLukas Wirth-1/+15
2022-01-08Record attribute calls on assoc items in TraitData and ImplDataLukas Wirth-0/+21
2022-01-07Merge #11145bors[bot]-1/+1
11145: feat: add config to use reasonable default expression instead of todo! when filling missing fields r=Veykril a=bnjjj Use `Default::default()` in struct fields when we ask to fill it instead of putting `todo!()` for every fields before: ```rust pub enum Other { One, Two, } pub struct Test { text: String, num: usize, other: Other, } fn t_test() { let test = Test {<|>}; } ``` after: ```rust pub enum Other { One, Two, } pub struct Test { text: String, num: usize, other: Other, } fn t_test() { let test = Test { text: String::new(), num: 0, other: todo!(), }; } ``` Co-authored-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> Co-authored-by: Coenen Benjamin <benjamin.coenen@hotmail.com>
2022-01-07Use `FileAstId<ast::Adt>` in nameres where appropriate insteadLukas Wirth-0/+32
2022-01-06Move pretty-printing test out of assistLaurențiu Nicola-0/+19
2022-01-06internal: Support registered tools and attributes in ide layerLukas Wirth-1/+4
2022-01-06Always put a space after impl in macro pretty-printingJonas Platte-4/+4
… regardless of whether the next symbol is punctuation or not.
2022-01-04Merge #11112bors[bot]-0/+43
11112: Evaluate constants in array repeat expression r=HKalbasi a=HKalbasi cc #8655 Co-authored-by: hkalbasi <hamidrezakalbasi@protonmail.com>
2022-01-05Evaluate constants in array repeat expressionhkalbasi-0/+43
2022-01-04Remove lossy `Definition::from_token`/`Definition::from_node` methodsLukas Wirth-24/+24
2022-01-04Merge #11157bors[bot]-11/+24
11157: internal: Remove `SemanticScope::speculative_resolve_as_mac` r=Veykril a=Veykril Fixes https://github.com/rust-analyzer/rust-analyzer/issues/11132 Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2022-01-03give `resolve_derive_ident` a more robust apiLukas Wirth-5/+11
2022-01-03Merge #11177bors[bot]-1/+4
11177: internal: dont descend into comments r=Veykril a=jhgg fixes #11176 Co-authored-by: Jake Heinz <jh@discordapp.com>
2022-01-03internal: dont descend into commentsJake Heinz-1/+4
2022-01-03Merge #11088bors[bot]-15/+45
11088: closes #10446 hide type inlay hints r=Veykril a=Heinenen Passes tests as described in #10446 Works for all happy cases, there may be some cases that I forgot as I am not that familiar with Rust and r-a (yet). Co-authored-by: Heinenen <th.m.heinen@gmail.com>
2022-01-03fix: Fix highlighting hack for self-paramsLukas Wirth-4/+6
2022-01-02internal: Record unresolved derive invocations in hirLukas Wirth-8/+15
2022-01-02Fix tool module classification not working correctlyLukas Wirth-0/+2
2022-01-02minor: Cleanup syntax highlightingLukas Wirth-187/+163
2022-01-02fix NameRefClass misclassifying proc-macrosLukas Wirth-1/+1
2022-01-02fix syntactic highlighting for macrosLukas Wirth-13/+19
2022-01-02internal: Handle macro calls better in highlightingLukas Wirth-159/+141
2022-01-02check top level entry point invariantsAleksey Kladov-1/+1
2021-12-31feat(diagnostics): add new config to fill default expressionBenjamin Coenen-1/+1
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2021-12-23show values of constants in hoverhkalbasi-2/+142
2021-12-23hide type inlay hintsHeinenen-5/+17
2021-12-23hide type inlay hints for enum variant constructors and tuple struct ↵Heinenen-19/+37
constructors
2021-12-22Make hover test not relient on minicore structureLukas Wirth-32/+39
2021-12-21Fully render const item completions from hirLukas Wirth-1/+1
2021-12-20fix: Partially fix `ide_db::search` for crate rootsLukas Wirth-2/+17
2021-12-19feat: treat fn keyword inside function pointer type as primitiverainy-me-3/+33