about summary refs log tree commit diff
path: root/crates/ide/src/static_index.rs
AgeCommit message (Collapse)AuthorLines
2022-05-28fix: add an option to show inlay hint for return type of closures without blockharpsword-1/+1
2022-05-20feat: hide type inlay hints for initializations of closuresandylizi-0/+1
2022-05-16Show inlay hints after a `}` to indicate the closed itemJonas Schievink-0/+1
2022-05-14feat: Add binding mode inlay hintsLukas Wirth-0/+1
2022-05-12feat: Allow reborrow inlay hints to be restricted to mutable reborrows onlyLukas Wirth-7/+5
2022-04-25Re-export `FxHashMap` and `FxHashSet` from `ide_db`Lukas Wirth-2/+1
2022-03-20feat: Visualize compiler inserted reborrows via inlay hintsLukas Wirth-0/+1
2022-03-19Add option to skip trivial casesLukas Wirth-2/+5
2022-03-19Use numbers for lifetimes by default, add setting to prefer using parameter ↵Lukas Wirth-0/+1
names
2022-03-18feat: Implement lifetime elision hintsLukas Wirth-0/+1
2022-03-16feat: Add return type hints for closures with block bodiesLukas Wirth-0/+1
2022-03-11fix: Allow configuration of colons in inlay-hintsLukas Wirth-0/+1
2022-03-07Merge #11445bors[bot]-0/+1
11445: Upstream inlay hints r=lnicola a=lnicola Closes https://github.com/rust-analyzer/rust-analyzer/issues/2797 Closes https://github.com/rust-analyzer/rust-analyzer/issues/3394 (since now resolve the hints for the range given only, not for the whole document. We don't actually resolve anything due to [hard requirement](https://github.com/rust-analyzer/rust-analyzer/pull/11445#issuecomment-1035227434) on label being immutable. Any further heavy actions could go to the `resolve` method that's now available via the official Code API for hints) Based on `@SomeoneToIgnore's` branch, with a couple of updates: - I squashed, more or less successfully, the commits on that branch - downloading the `.d.ts` no longer works, but you can get it manually from https://raw.githubusercontent.com/microsoft/vscode/release/1.64/src/vscode-dts/vscode.proposed.inlayHints.d.ts - you might need to pass `--enable-proposed-api matklad.rust-analyzer` - if I'm reading the definition right, `InlayHintKind` needs to be serialized as a number, not string - this doesn't work anyway -- the client-side gets the hints, but they don't display Co-authored-by: Kirill Bulatov <mail4score@gmail.com> Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2022-03-05fix: Recognize `Self` as a proper keywordLukas Wirth-1/+1
2022-03-04Load hints for part of the file onlyKirill Bulatov-0/+1
2022-01-04Remove lossy `Definition::from_token`/`Definition::from_node` methodsLukas Wirth-4/+4
2021-12-03feat: Resolve builtin-attr and tools in ide layerLukas Wirth-0/+1
2021-11-22Emit moniker in lsifhkalbasi-0/+31
2021-11-22Split parts of `ide_db::call_info` off into `ide`Lukas Wirth-9/+9
2021-11-22Unnest ide::display::navigation_target moduleLukas Wirth-2/+1
2021-11-13inlay hints: add the option to always show constructor inlay hintsJake Heinz-0/+1
2021-10-28Refactor ide handling for paths in derive inputsLukas Wirth-3/+1
2021-10-16more clippy fixesMilo-5/+7
2021-10-12Merge #10423bors[bot]-7/+33
10423: Internal: refactor for mdbook plugin r=Veykril a=HKalbasi This PR is for upstreaming changes that I made for mdbook plugin. Changes are adding inlay hints to `StaticIndex` and changing some functions for working around privacy of crates. Aside this, is it okay if I bring the plugin in tree? It is a simple binary crate. I feel it will better maintained here and become resistant to api changes. Co-authored-by: hamidreza kalbasi <hamidrezakalbasi@protonmail.com>
2021-10-12Saw a FIXME comment and decided to fix it.Mirko Rainer-1/+1
This renames `descend_into_macros` to `descend_into_macros_single` and `descend_into_macros_many` into `descend_into_macros`. However, this does not touch a function in `SemanticsImpl` of same name.
2021-10-12internal changes for mdbookhamidreza kalbasi-7/+33
2021-10-05Replace `if let` with `match` where appropriateAramis Razzaghipour-8/+6
2021-09-29remove glob import and cancellableshamidreza kalbasi-13/+8
2021-09-26add some testshamidreza kalbasi-0/+80
2021-09-26support goto definition and find referenceshamidreza kalbasi-30/+59
2021-09-26reuse hover results with resultsethamidreza kalbasi-46/+96
2021-09-26add hoverhamidreza kalbasi-12/+51
2021-09-26use utf16 instead of utf8hamidreza kalbasi-0/+3
2021-09-26Begining of lsifhamidreza kalbasi-0/+60