Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge #6176 | bors[bot] | 2020-10-10 | 1 | -0/+2 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6176: add eprintln in fmt-like postfix r=SomeoneToIgnore a=bnjjj Co-authored-by: Benjamin Coenen <[email protected]> | |||||
| * | | | add eprintln in fmt-like postfix | Benjamin Coenen | 2020-10-08 | 1 | -0/+2 | |
| |/ / | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | / | adt: correctly inherit field visibility from enum | Jonas Schievink | 2020-10-09 | 1 | -0/+24 | |
| |/ |/| | | | | | | | | | | | Previously, "find all references" on a variant field wouldn't find any references outside the defining module. This is because variant fields were incorrectly assumed to be private, like struct fields without explicit visibility, but they actually inherit the enum's visibility. | |||||
* | | Treat `ast::Name` in field patterns as use | Jonas Schievink | 2020-10-09 | 1 | -0/+46 | |
| | | ||||||
* | | Fix source_to_def for named enum variant fields | Jonas Schievink | 2020-10-09 | 1 | -0/+17 | |
|/ | ||||||
* | Merge #6154 | bors[bot] | 2020-10-07 | 1 | -39/+162 | |
|\ | | | | | | | | | | | | | | | | | | | | | 6154: Shorten type hints for std::iter Iterators r=SomeoneToIgnore a=Veykril Fixes #3750. This re-exports the `hir_expand::name::known` module to be able to fetch the `Iterator` and `iter` names. I'm not sure if there is anything to do with `Solution::Ambig` in `normalize_trait_assoc_type` or whether discarding those results is always wanted. Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | 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 | |
| | | ||||||
* | | Merge #6128 | bors[bot] | 2020-10-06 | 1 | -4/+25 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 6128: Trim all trailing whitespace in onEnter r=matklad a=repnop Fixes #5848 Co-authored-by: Wesley Norris <[email protected]> | |||||
| * | | Trim all trailing whitespace in onEnter | Wesley Norris | 2020-10-03 | 1 | -4/+25 | |
| | | | | | | | | | | | | Fixes #5848 | |||||
* | | | Merge #6140 | bors[bot] | 2020-10-06 | 3 | -7/+71 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6140: honour hover.content_format client capability r=lnicola a=robinvd This removes all markdown when the client does not support the markdown MarkupKind. Otherwise the output on the editor will have some markdown boilerplate, making it less readable. For example kak_lsp does not currently support markdown. ![image](https://user-images.githubusercontent.com/22073483/95112949-ef0ff080-0741-11eb-82a7-0594fa2cd736.png) after: ![image](https://user-images.githubusercontent.com/22073483/95113089-2bdbe780-0742-11eb-94fa-bcfec6d7347a.png) Co-authored-by: Robin van Dijk <[email protected]> | |||||
| * | | add break after codeblocks | Robin van Dijk | 2020-10-06 | 1 | -2/+4 | |
| | | | ||||||
| * | | add doc describing limited capabilities | Robin van Dijk | 2020-10-06 | 1 | -0/+2 | |
| | | | ||||||
| * | | add docstring | Robin van Dijk | 2020-10-05 | 1 | -0/+3 | |
| | | | ||||||
| * | | honor content_format clientcap | Robin van Dijk | 2020-10-05 | 3 | -7/+64 | |
| |/ | | | | | | | | | | | This removes all markdown when the client does not support the markdown MarkupKind Otherwise the output on the editor will have some markdown boilerplate, making it less readable | |||||
* | | Merge #6148 | bors[bot] | 2020-10-06 | 1 | -0/+34 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 6148: Fix trait object hir formatting behind pointer and references r=matklad a=Veykril Fixes #6064 Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | Fix trait object hir formatting behind pointer and references | Lukas Wirth | 2020-10-06 | 1 | -0/+34 | |
| |/ | ||||||
* | | Merge #6124 | bors[bot] | 2020-10-06 | 3 | -5/+35 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6124: Better normalized crate name usage r=jonas-schievink a=SomeoneToIgnore Closes https://github.com/rust-analyzer/rust-analyzer/issues/5343 Closes https://github.com/rust-analyzer/rust-analyzer/issues/5932 Uses normalized name for code snippets (to be able to test the fix), hover messages and documentation rewrite links (are there any tests for those?). Also renamed the field to better resemble the semantics. Co-authored-by: Kirill Bulatov <[email protected]> | |||||
| * | | Properly name the field | Kirill Bulatov | 2020-10-02 | 3 | -5/+5 | |
| | | | ||||||
| * | | Add a dash test | Kirill Bulatov | 2020-10-02 | 1 | -0/+30 | |
| | | | ||||||
* | | | Merge #6127 | bors[bot] | 2020-10-05 | 2 | -2/+23 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6127: Correctly complete items with leading underscore r=SomeoneToIgnore a=fmease Fixes #6091. Let me know if the test is placed into the right file or if it is even desired. Co-authored-by: León Orell Valerian Liehr <[email protected]> | |||||
| * | | | Correctly complete items with leading underscore | León Orell Valerian Liehr | 2020-10-03 | 2 | -2/+23 | |
| |/ / | ||||||
* | / | Fix feature name | Aleksey Kladov | 2020-10-05 | 1 | -1/+1 | |
| |/ |/| | ||||||
* | | 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 | 23 | -99/+90 | |
| | ||||||
* | Get rid of MockAnalysis | Aleksey Kladov | 2020-10-02 | 18 | -414/+280 | |
| | ||||||
* | Move ide::AnalysisChange -> base_db::Change | Aleksey Kladov | 2020-10-02 | 3 | -10/+7 | |
| | | | | | | This seems like a better factoring logically; ideally, clients shouldn't touch `set_` methods of the database directly. Additionally, I think this should remove the unfortunate duplication in fixture code. | |||||
* | Expectify find_references tests | Aleksey Kladov | 2020-10-02 | 1 | -176/+181 | |
| | ||||||
* | Reduce visibiity | Aleksey Kladov | 2020-10-02 | 2 | -13/+14 | |
| | ||||||
* | Use expect_test to make format_str_parser test more data-driven | Igor Aleksanov | 2020-10-02 | 1 | -35/+35 | |
| | ||||||
* | Use lookup table instead of enum for postfix completion kinds | Igor Aleksanov | 2020-10-02 | 1 | -62/+20 | |
| | ||||||
* | Use ast::String for extracting string literal contents | Igor Aleksanov | 2020-10-02 | 2 | -14/+19 | |
| | ||||||
* | Improve format-like completions code appearance | Igor Aleksanov | 2020-10-02 | 2 | -32/+26 | |
| | ||||||
* | Add missing entry to doc-comment | Igor Aleksanov | 2020-10-02 | 1 | -0/+1 | |
| | ||||||
* | Simplify is_string_literal function | Igor Aleksanov | 2020-10-02 | 1 | -9/+5 | |
| | ||||||
* | Improve checks for postfix suggestions | Igor Aleksanov | 2020-10-02 | 3 | -16/+23 | |
| | ||||||
* | Add postfix completion for format-like string literals | Igor Aleksanov | 2020-10-02 | 3 | -1/+376 | |
| | ||||||
* | Minor clippy performance suggestions | kjeremy | 2020-09-30 | 1 | -2/+2 | |
| | ||||||
* | Extend **Status** command to also show dep info for the file | Aleksey Kladov | 2020-09-29 | 2 | -18/+35 | |
| | | | | This should help with troubleshooting wrong project configuration | |||||
* | Remove periodic gc stub | Aleksey Kladov | 2020-09-29 | 2 | -7/+2 | |
| | ||||||
* | Add tests | vsrs | 2020-09-29 | 1 | -3/+77 | |
| | ||||||
* | Do not show references CodeLens for tests. | vsrs | 2020-09-29 | 3 | -14/+26 | |
| | ||||||
* | Make method references CodeLens lazy. | vsrs | 2020-09-29 | 1 | -1/+16 | |
| |