| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-01-28 | Merge pull request #19015 from Wilfred/mdbook | Lukas Wirth | -14/+16 | |
| manual: Convert to mdbook | ||||
| 2025-01-28 | Disable `Receiver` based autoderef temporarily | Lukas Wirth | -3/+1 | |
| 2025-01-27 | Merge pull request #19050 from ChayimFriedman2/iter-self | Lukas Wirth | -1/+25 | |
| fix: Don't suggest `into_iter().method()` on iterators | ||||
| 2025-01-27 | Don't suggest `into_iter().method()` on iterators | Chayim Refael Friedman | -1/+25 | |
| 2025-01-27 | Fix #[rustc_deprecated_safe_2024] | Chayim Refael Friedman | -1/+1 | |
| It should be considered by the edition of the caller, not the callee. Technically we still don't do it correctly - we need the span of the method name (if it comes from a macro), but we don't keep it and this is good enough for now. | ||||
| 2025-01-27 | Merge pull request #19037 from ChayimFriedman2/fix-other-test | Lukas Wirth | -8/+83 | |
| fix: In completion's expand, consider recursion stop condition (when we're not inside a macro call anymore) *after* the recursive call instead of before it | ||||
| 2025-01-26 | Support RFC 2396 | Chayim Refael Friedman | -9/+13 | |
| AKA. target_feature 1.1, or non unsafe target_feature. | ||||
| 2025-01-26 | In completion's expand, consider recursion stop condition (when we're not ↵ | Chayim Refael Friedman | -8/+83 | |
| inside a macro call anymore) *after* the recursive call instead of before it This is because our detection is imperfect, and miss some cases such as an impersonating `test` macro, so we hope we'll expand successfully in this case. | ||||
| 2025-01-26 | Don't complete doc(hidden) enum variants and use trees | Chayim Refael Friedman | -55/+102 | |
| Also refactor the check a bit. | ||||
| 2025-01-25 | Skip redundant path search in `resolve_completion_edits` | Lukas Wirth | -36/+11 | |
| 2025-01-25 | Fix flyimport not filtering via stability of import path | Lukas Wirth | -12/+50 | |
| 2025-01-24 | manual: Convert to mdbook | Wilfred Hughes | -14/+16 | |
| Split manual.adoc into markdown files, one for each chapter. For the parts of the manual that are generated from source code doc comments, update the comments to use markdown syntax and update the code generators to write to `generated.md` files. For the weekly release, stop copying the .adoc files to the `rust-analyzer/rust-analyzer.github.io` at release time. Instead, we'll sync the manual hourly from this repository. See https://github.com/rust-analyzer/rust-analyzer.github.io/pull/226 for the sync. This PR should be merged first, and that PR needs to be merged before the next weekly release. This change is based on #15795, but rebased and updated. I've also manually checked each page for markdown syntax issues and fixed any I encountered. Co-authored-by: Lukas Wirth <lukastw97@gmail.com> Co-authored-by: Josh Rotenberg <joshrotenberg@gmail.com> | ||||
| 2025-01-24 | Merge pull request #19012 from ShoyuVanilla/arbitrary-self | Lukas Wirth | -0/+30 | |
| feat: Implement `arbitrary-self-types` | ||||
| 2025-01-24 | feat: Implement `arbitrary-self-types` | Shoyu Vanilla | -0/+30 | |
| 2025-01-24 | Merge pull request #18993 from ChayimFriedman2/iter-config | Lukas Wirth | -56/+69 | |
| feat: Provide a config to control auto-insertion of `await` and `iter()` | ||||
| 2025-01-21 | Provide a config to control auto-insertion of `await` and `iter()` | Chayim Refael Friedman | -56/+69 | |
| 2025-01-21 | Sort completion items that skip `await` and `iter()` behind those that don't | Chayim Refael Friedman | -0/+26 | |
| I don't think my ranking is perfect, because it places them even behind snippet completions, but this is something. | ||||
| 2025-01-21 | Cleanup `Name` string rendering | Lukas Wirth | -52/+36 | |
| 2025-01-21 | Merge pull request #18977 from ChayimFriedman2/fix-upmapping | Lukas Wirth | -13/+68 | |
| fix: Fix missing upmapping in trait impls completion | ||||
| 2025-01-20 | Fix another bug with completion of trait items inside macros | Chayim Refael Friedman | -11/+36 | |
| This time, when completing the keyword (e.g. `fn` + whitespace). The bug was actually a double-bug: First, we did not resolve the impl in the macro-expanded file but in the real file, which of course cannot work. Second, in analysis the whitespace was correlated with the `impl` and not the incomplete `fn`, which caused fake (where we insert an identifier after the whitespace) and real expansions to go out of sync, which failed analysis. The fix is to skip whitespaces in analysis. | ||||
| 2025-01-20 | Fix import search not discarding rawness | Lukas Wirth | -5/+6 | |
| 2025-01-20 | Properly record meaningful imports as re-exports in symbol index | Lukas Wirth | -2/+4 | |
| 2025-01-19 | Fix missing upmapping in trait impls completion | Chayim Refael Friedman | -3/+33 | |
| 2025-01-16 | Merge pull request #18952 from lh123/add-raw-keyword-complete | Lukas Wirth | -2/+138 | |
| feat: complete raw, const keyword | ||||
| 2025-01-16 | don't complete `raw` in `&mut $0` | lh123 | -7/+31 | |
| 2025-01-16 | feat: complete raw, const keyword | lh123 | -2/+114 | |
| 2025-01-16 | Minor docs improvement | Lukas Wirth | -16/+16 | |
| 2025-01-16 | Add edit test for await skipping completions | Lukas Wirth | -0/+28 | |
| 2025-01-16 | Add missing `#[rust_analyzer::rust_fixture]` annotations | Lukas Wirth | -1/+5 | |
| 2025-01-16 | Merge pull request #18927 from ChayimFriedman2/skip-iter-await | Lukas Wirth | -59/+165 | |
| feat: Add smart completions that skip `await` or `iter()` and `into_iter()` | ||||
| 2025-01-15 | Add smart completions that skip `await` or `iter()` and `into_iter()` | Chayim Refael Friedman | -59/+165 | |
| E.g. complete `await.foo()`. | ||||
| 2025-01-13 | feat: Add dereferencing autocomplete | boattime | -33/+100 | |
| 2025-01-10 | Re-implement rust string highlighting via tool attribute | Lukas Wirth | -22/+52 | |
| 2025-01-09 | Merge pull request #18889 from ChayimFriedman2/subtle-completion | Lukas Wirth | -1/+2 | |
| fix: Fix actual token lookup in completion's `expand()` | ||||
| 2025-01-09 | Fix actual token lookup in completion's `expand()` | Chayim Refael Friedman | -1/+2 | |
| It should be left biased, not right biased, because when e.g. the use has typed `h` then requested completion, the `h` is what we want to find, not the next token (which might indeed be inside a macro call). I'm not sure why I wrote `right_biased()` to begin with (I remember I had a reason and not just "both should work"), I might've copied the code in `expand_and_analyze()` (which is wrong, because there it lookups on the speculative file, where right biased will always find the correct token and left biased not). This is still not perfect, because there might not be an identifier already typed then we might still end up in a macro call, but this is the best we can do. | ||||
| 2025-01-08 | refactor test helpers within ide-completions | Vishruth-Thimmaiah | -448/+322 | |
| 2025-01-08 | Merge pull request #18884 from Veykril/push-xwqkorxozzkq | Lukas Wirth | -30/+27 | |
| fix: Fix `env`/`option_env` macro check disregarding macro_rules definitions | ||||
| 2025-01-08 | fix: Fix `env`/`option_env` macro check disregarding macro_rules definitions | Lukas Wirth | -30/+27 | |
| 2025-01-08 | Merge pull request #18855 from Giga-Bowser/migrate-if-let | Lukas Wirth | -1/+1 | |
| internal: Migrate `if let` replacement assists to `SyntaxEditor` | ||||
| 2025-01-07 | fix: do not offer completions within macro strings | Vishruth-Thimmaiah | -0/+31 | |
| 2025-01-07 | Merge pull request #18853 from ChayimFriedman2/no-completion | Laurențiu Nicola | -0/+72 | |
| Fix case where completion inside macro that expands to `#[test]` was unavailable | ||||
| 2025-01-06 | internal: `make::expr_prefix` should return `ast::PrefixExpr` | Giga Bowser | -1/+1 | |
| 2025-01-06 | Fix case where completion inside macro that expands to `#[test]` was unavailable | Chayim Refael Friedman | -0/+72 | |
| We ignore `#[test]` in the def map, so that's why it failed. | ||||
| 2025-01-06 | minor: New clippy lints | Lukas Wirth | -24/+19 | |
| 2025-01-04 | Hide synthetic locals from completions | Lukas Wirth | -0/+85 | |
| 2025-01-01 | Cleanup | Lukas Wirth | -1/+0 | |
| 2025-01-01 | Revamp auto-import exclude config | Lukas Wirth | -35/+44 | |
| 2025-01-01 | Simplify completion config path resolutions | Lukas Wirth | -94/+44 | |
| 2025-01-01 | Reduce the default autoimport exclusion list | Lukas Wirth | -71/+83 | |
| 2025-01-01 | Allow flyimporting excluded trait items if there is an exact match in the name | Chayim Refael Friedman | -3/+51 | |
| I.e. with `fn foo()`, don't complete at `x.fo|`, but complete (with imports) for `x.foo|`, since this is less likely to have false positives. I opted to only do that for flyimport, even though for basic imports there can also be snippet completion (completing the params list for a method), since this is less universally applicable and seems not so useful. | ||||
