Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Inlay Hints: more directly account for self param | Aleksey Kladov | 2020-06-05 | 1 | -2/+1 |
| | |||||
* | Move the rest of the features to generated docs | Aleksey Kladov | 2020-05-31 | 1 | -2/+20 |
| | |||||
* | Code review fixes | Kirill Bulatov | 2020-05-04 | 1 | -8/+7 |
| | | | | Co-authored-by: Edwin Cheng <[email protected]> | ||||
* | Move snake case method to heck | Kirill Bulatov | 2020-05-03 | 1 | -15/+2 |
| | |||||
* | Omit name hints for enum names similar to parameter names | Kirill Bulatov | 2020-05-03 | 1 | -12/+52 |
| | |||||
* | Omit name hints for method names similar to parameter names | Kirill Bulatov | 2020-05-03 | 1 | -13/+25 |
| | |||||
* | Convert tests to text-size | Aleksey Kladov | 2020-04-25 | 1 | -83/+83 |
| | |||||
* | Omit more parameter hints in the presence of underscores | Laurențiu Nicola | 2020-04-18 | 1 | -1/+10 |
| | |||||
* | Hide parameter hints for single-argument functions with the same name | Laurențiu Nicola | 2020-04-09 | 1 | -5/+12 |
| | |||||
* | use .expr() to remove ref | IceSentry | 2020-04-09 | 1 | -5/+10 |
| | |||||
* | clean up param hint checking | IceSentry | 2020-04-09 | 1 | -18/+18 |
| | |||||
* | better `&mut ` and `&` matching | IceSentry | 2020-04-09 | 1 | -6/+6 |
| | |||||
* | ignore `&mut ` and `&` when checking params | IceSentry | 2020-04-09 | 1 | -3/+13 |
| | |||||
* | remove TODO | IceSentry | 2020-04-08 | 1 | -1/+0 |
| | |||||
* | Add more heuristics for hiding obvious param hints | IceSentry | 2020-04-08 | 1 | -4/+30 |
| | | | | | | | This will now hide "value", "pat", "rhs" and "other" These words were selected from the std because they are used in common functions with only a single param and are obvious by their use. I think it would be good to also hide "bytes" if the type is `[u8; n]` but I'm not sure how to get the param type signature It will also hide the hint if the passed param starts or end with the param_name | ||||
* | Don't show chaining hints for record literals and unit structs | Laurențiu Nicola | 2020-04-01 | 1 | -10/+23 |
| | |||||
* | Better names for config structs | Aleksey Kladov | 2020-03-31 | 1 | -34/+34 |
| | |||||
* | Improvements based on code review feedback | Matt Hooper | 2020-03-24 | 1 | -5/+5 |
| | |||||
* | Fmt corrections | Matt Hooper | 2020-03-24 | 1 | -13/+9 |
| | |||||
* | Added more unit tests | Matt Hooper | 2020-03-24 | 1 | -76/+159 |
| | |||||
* | Added new inlay hint kind and rules for method chaining | Matt Hooper | 2020-03-24 | 1 | -5/+92 |
| | |||||
* | Make naming more uniform | Aleksey Kladov | 2020-03-12 | 1 | -26/+26 |
| | |||||
* | Switch from Vec<InlayKind> to object with props | Steffen Lyngbaek | 2020-03-12 | 1 | -11/+12 |
| | | | | | | | - Instead of a single object type, use several individual nested types to allow toggling from the settings GUI - Remove unused struct definitions - Install and test that the toggles work | ||||
* | Address Issues from Github | Steffen Lyngbaek | 2020-03-10 | 1 | -26/+35 |
| | | | | | | | - Updated naming of config - Define struct in ra_ide and use remote derive in rust-analyzer/config - Make inlayConfig type more flexible to support more future types - Remove constructor only used in tests | ||||
* | Parameter inlay hint separate from variable type inlay? #2876 | Steffen Lyngbaek | 2020-03-10 | 1 | -17/+84 |
| | | | | | | | | | Add setting to allow enabling either type inlay hints or parameter inlay hints or both. Group the the max inlay hint length option into the object. - Add a new type for the inlayHint options. - Add tests to ensure the inlays don't happen on the server side | ||||
* | Omit unit struct hints | Kirill Bulatov | 2020-03-08 | 1 | -0/+32 |
| | |||||
* | Slightly refactor inlay hints | Aleksey Kladov | 2020-02-29 | 1 | -69/+58 |
| | |||||
* | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 1 | -27/+21 |
| | | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax. | ||||
* | Omit type hints for enum variant bind pats | Kirill Bulatov | 2020-02-24 | 1 | -92/+125 |
| | |||||
* | Style fixes | Kirill Bulatov | 2020-02-23 | 1 | -3/+4 |
| | |||||
* | Add basic parameter name hints heuristics | Kirill Bulatov | 2020-02-23 | 1 | -38/+174 |
| | |||||
* | Fix the tests | Kirill Bulatov | 2020-02-22 | 1 | -5/+105 |
| | |||||
* | Show more parameter name hints | Kirill Bulatov | 2020-02-22 | 1 | -27/+34 |
| | |||||
* | Simplify inlay hints processing | Kirill Bulatov | 2020-02-22 | 1 | -103/+35 |
| | |||||
* | Add or- and parenthesized-patterns | Matthew Jasper | 2020-02-09 | 1 | -2/+3 |
| | |||||
* | cleanup imports | Aleksey Kladov | 2020-02-06 | 1 | -1/+2 |
| | |||||
* | Fix inlay hints test snippet compilation | Kirill Bulatov | 2020-02-03 | 1 | -8/+8 |
| | |||||
* | Omit default parameters for reference types | Kirill Bulatov | 2020-01-22 | 1 | -1/+13 |
| | |||||
* | Improve parameter hints a bit & add emacs support | Florian Diebold | 2020-01-18 | 1 | -14/+9 |
| | | | | | - just include the name, not e.g. `mut` - don't return empty hints (or `_`) | ||||
* | Micro-optimize type hints to avoid allocations | Aleksey Kladov | 2020-01-16 | 1 | -39/+38 |
| | |||||
* | Optimize inlay hints | Aleksey Kladov | 2020-01-15 | 1 | -5/+6 |
| | |||||
* | Update test snapshot | imtsuki | 2020-01-14 | 1 | -2/+2 |
| | | | | Signed-off-by: imtsuki <[email protected]> | ||||
* | Add inlay parameter name hints for function calls | imtsuki | 2020-01-14 | 1 | -2/+139 |
| | | | | Signed-off-by: imtsuki <[email protected]> | ||||
* | Omit closure parameters | Kirill Bulatov | 2019-12-23 | 1 | -1/+36 |
| | |||||
* | Optimize and profile | Aleksey Kladov | 2019-12-21 | 1 | -3/+8 |
| | |||||
* | Remove TruncateOptions struct | Kirill Bulatov | 2019-12-19 | 1 | -12/+12 |
| | |||||
* | Do not add any new configuration parameters | Kirill Bulatov | 2019-12-19 | 1 | -35/+9 |
| | |||||
* | Ensure hover shows full type declaration | Kirill Bulatov | 2019-12-19 | 1 | -2/+2 |
| | |||||
* | Omit default parameter types | Kirill Bulatov | 2019-12-19 | 1 | -19/+71 |
| | |||||
* | Show type hints for & patterns | Aleksey Kladov | 2019-12-07 | 1 | -16/+15 |
| |