Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update fixed tests | Jonas Schievink | 2021-02-10 | 1 | -0/+1 |
| | |||||
* | Only hide parameter hints for path, field and methodcall expressions | Lukas Wirth | 2021-01-27 | 1 | -1/+19 |
| | |||||
* | . | Aleksey Kladov | 2021-01-19 | 1 | -1/+1 |
| | |||||
* | Render Fn* trait objects and impl types as rust does | Lukas Wirth | 2021-01-13 | 1 | -0/+37 |
| | |||||
* | Skip leading underscores unconditionally | Jacob Pratt | 2021-01-10 | 1 | -2/+5 |
| | |||||
* | Short-circuit boolean operation | Jacob Pratt | 2021-01-10 | 1 | -4/+8 |
| | |||||
* | Remove unnecessary allocation | Jacob Pratt | 2021-01-10 | 1 | -7/+12 |
| | | | | | | | | | | The case-insensitive prefix/suffix check can be performed character-by-character. This allows the check to be done without having to allocate a new string. As a side effect, it's also no longer necessary to convert the entire string to lowercase, as it's done as needed. As the only case equality we're handling is ASCII, this operation can be further optimized by using byte equality, rather than character equality. | ||||
* | Hide argument name hint regardless of case | Jacob Pratt | 2021-01-09 | 1 | -3/+10 |
| | |||||
* | More maintainable config | Aleksey Kladov | 2021-01-06 | 1 | -10/+11 |
| | | | | | | | Rather than eagerly converting JSON, we losslessly keep it as is, and change the shape of user-submitted data at the last moment. This also allows us to remove a bunch of wrong Defaults | ||||
* | Move the helpers into ide_db | Kirill Bulatov | 2020-11-28 | 1 | -2/+2 |
| | |||||
* | Extract the import code into the shared module | Kirill Bulatov | 2020-11-27 | 1 | -2/+2 |
| | |||||
* | Only show `self` ident when showing parameter self hints | Lukas Wirth | 2020-11-02 | 1 | -2/+23 |
| | |||||
*-. | Merge #6393 #6399 | bors[bot] | 2020-11-02 | 1 | -2/+106 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6393: Remove repetitive inlay hints (take 2) r=matklad a=lnicola 6399: Keep generic annotations when qualifying things r=matklad a=Veykril The `qualify_path` assists currently eats up already annotated generics in all but one cases which can be annoying if one already pre-fills generics of a type before it's been qualified. Co-authored-by: Matthew Sanetra <[email protected]> Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | Add check if param name is similar to fn name | Matthew Sanetra | 2020-10-28 | 1 | -2/+106 |
| |/ | |||||
* / | do not use associated types placeholder for inlay hint | Benjamin Coenen | 2020-10-28 | 1 | -0/+21 |
|/ | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Hide paramater inlay hints for cloned vars if applicable | Lukas Wirth | 2020-10-22 | 1 | -1/+28 |
| | |||||
* | Don't rely on display names in inlay_hints | Aleksey Kladov | 2020-10-20 | 1 | -6/+13 |
| | |||||
* | More type safety around names | Aleksey Kladov | 2020-10-20 | 1 | -3/+2 |
| | |||||
* | Rename declaration_name -> display_name | Aleksey Kladov | 2020-10-20 | 1 | -1/+1 |
| | | | | | | | | Declaration names sounds like a name of declaration -- something you can use for analysis. It empathically isn't, and is just a label displayed in various UI. It's important not to confuse the two, least we accidentally mix semantics with UI (I believe, there's already a case of this in the FamousDefs at least). | ||||
* | Fix iterator hint shortening heuristic | Lukas Wirth | 2020-10-12 | 1 | -2/+2 |
| | |||||
* | Also replace the associated types with iter | Kirill Bulatov | 2020-10-10 | 1 | -11/+14 |
| | |||||
* | Add a test | Kirill Bulatov | 2020-10-10 | 1 | -23/+39 |
| | |||||
* | Clean up inlay_hints | Lukas Wirth | 2020-10-07 | 1 | -18/+14 |
| | |||||
* | Shorten iterator hints for std::iter iterators behind references | Lukas Wirth | 2020-10-07 | 1 | -2/+4 |
| | |||||
* | Shorten iterator chain hints | Lukas Wirth | 2020-10-07 | 1 | -36/+81 |
| | |||||
* | Move IntoIterator into FamousDefs | Lukas Wirth | 2020-10-07 | 1 | -23/+5 |
| | |||||
* | Use FamousDefs for shorten_iterator hint | Lukas Wirth | 2020-10-06 | 1 | -57/+36 |
| | |||||
* | Shorten type hints for std::iter Iterators | Lukas Wirth | 2020-10-06 | 1 | -6/+125 |
| | |||||
* | Fix trait object hir formatting behind pointer and references | Lukas Wirth | 2020-10-06 | 1 | -0/+34 |
| | |||||
* | Improve readability in inlay_hints.rs | Igor Aleksanov | 2020-10-03 | 1 | -4/+5 |
| | |||||
* | Remove 'for_expr' test from inlay_hints.rs | Igor Aleksanov | 2020-10-03 | 1 | -14/+1 |
| | |||||
* | Make the tests for complete/incomplete for inlay hints work | Igor Aleksanov | 2020-10-03 | 1 | -10/+77 |
| | |||||
* | Better inlay hints in 'for' loops | Igor Aleksanov | 2020-10-03 | 1 | -2/+49 |
| | |||||
* | rename mock_analysis -> fixture | Aleksey Kladov | 2020-10-02 | 1 | -3/+3 |
| | |||||
* | Switch to expect_test from crates.io | Aleksey Kladov | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Fix typo in comment | Dave Lage | 2020-08-15 | 1 | -1/+1 |
| | |||||
* | Rename ra_ide -> ide | Aleksey Kladov | 2020-08-13 | 1 | -0/+927 |