| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-07-18 | Auto merge of #12549 - bitgaoshu:goto_where_trait_m_impl, r=Veykril | bors | -1/+5 | |
| feat: Go to implementation of trait methods try goto where the trait method implies, #4558 | ||||
| 2022-07-16 | Auto merge of #12689 - Veykril:macro-rec, r=Veykril | bors | -0/+14 | |
| internal: Record all macro definitions in ItemScope Fixes https://github.com/rust-lang/rust-analyzer/issues/12100 Doesn't resolve the shadowing issues though, fixing those is gonna be really tricky I believe unless we can come up with a nice scheme to "order" item tree items (using syntax ranges and file ids would be a pain and also a bad idea since that'll require us to potentially reparse files in collection). | ||||
| 2022-07-15 | fix: Don't show qualified path completions for private items | Lukas Wirth | -12/+12 | |
| 2022-07-05 | internal: Record all macro definitions in ItemScope | Lukas Wirth | -0/+14 | |
| 2022-06-24 | highlight: trait path | bitgaoshu | -2/+6 | |
| 2022-06-24 | fix some test due to resolve to where trait m impl | bitgaoshu | -1/+1 | |
| 2022-06-10 | internal: Bump Dependencies | Lukas Wirth | -1/+1 | |
| 2022-05-22 | feat: escape format specifier(close: #12258) | bvanjoi | -3/+24 | |
| 2022-05-20 | minor: Simplify | Lukas Wirth | -4/+1 | |
| 2022-05-13 | Revert "Auto merge of #12149 - jonas-schievink:literally-just-a-literal, ↵ | Jonas Schievink | -16/+8 | |
| r=jonas-schievink" This reverts commit cc9ae2b89e01a30e441371b9fd3376c3d03a475f, reversing changes made to 7dfd1cb572d8d4fd951237361e43ecddd9c9a852. | ||||
| 2022-05-05 | Maybe everything else *should* have to deal with it | Jonas Schievink | -2/+7 | |
| 2022-05-05 | Wrap floats in token trees in `FLOAT_LITERAL` node | Jonas Schievink | -7/+10 | |
| 2022-05-05 | Split float literal tokens at the `.` | Jonas Schievink | -8/+8 | |
| 2022-04-25 | Re-export `FxHashMap` and `FxHashSet` from `ide_db` | Lukas Wirth | -2/+1 | |
| 2022-04-15 | fix: Tag `macro_rules` macro bang with `MacroBang` tag | Lukas Wirth | -18/+18 | |
| 2022-04-07 | Determine function unsafety semantically | Jonas Schievink | -2/+2 | |
| 2022-04-06 | fix: Attempt to resolve paths in const arguments heuristically | Lukas Wirth | -0/+2 | |
| While we don't support const args in type inference yet, we can at least make use of the fallback path resolution to resolve paths in const args in the IDE layer to enable some features for them. | ||||
| 2022-04-06 | fix: Fix path qualifiers not resolving generic type params when shadowed by ↵ | Lukas Wirth | -0/+9 | |
| trait | ||||
| 2022-04-01 | Merge #11869 | bors[bot] | -3/+14 | |
| 11869: fix: code blocks with tilde also works like code block r=Veykril a=moreal The `rustdoc` uses the `pulldown_cmark` package to parse *doc_comment* and the package also treat triple `~` characters also as code block fences. So when we run `cargo doc`, they will be placed also. <img width="965" alt="image" src="https://user-images.githubusercontent.com/26626194/161208072-5a09a209-57fc-4a52-b190-b0a9be9ffcd6.png"> But `rust-analyzer` doesn't support it so it doesn't have any injected code highlights and any `Run doctest` hint. This pull request tries to allow also them. 🙇🏻♂️ Before: <img width="224" alt="image" src="https://user-images.githubusercontent.com/26626194/161207405-b1d6cfda-82b1-4f60-8e42-c51d0ed98f38.png"> After: <img width="161" alt="image" src="https://user-images.githubusercontent.com/26626194/161207693-8e39997c-9ca6-4e69-8c65-e9b70899f7db.png"> Co-authored-by: Lee Dogeon <dev.moreal@gmail.com> | ||||
| 2022-04-01 | Code blocks with tilde also works like code block | Lee Dogeon | -3/+14 | |
| 2022-03-31 | internal: Enforce Resolver to always have a module scope | Lukas Wirth | -13/+9 | |
| 2022-03-30 | internal: Refactor FamousDefs builtin crate search | Lukas Wirth | -7/+3 | |
| 2022-03-23 | Adjust value in syntax highlighting benchmark | Florian Diebold | -1/+1 | |
| 2022-03-21 | Replace write! with direct calls | Laurențiu Nicola | -3/+7 | |
| 2022-03-20 | internal: Treat {global_}asm macros as unsafe | Lukas Wirth | -3/+3 | |
| 2022-03-20 | feat: Tag macro calls as unsafe if they expand to unsafe expressions | Lukas Wirth | -1/+63 | |
| 2022-03-12 | more clippy fixes: | Matthias Krüger | -1/+1 | |
| clippy::search_is_some clippy::redundant_static_lifetimes clippy::match_single_binding clippy::match_ref_pats clippy::map_entry clippy::manual_map clippy::iter_overeager_cloned clippy::into_iter_on_ref clippy::extra_unused_lifetimes | ||||
| 2022-03-12 | fix clippy::single_char_pattern | Matthias Krüger | -1/+1 | |
| 2022-03-12 | Fixed code style issues | yipinliu | -61/+6 | |
| 2022-03-12 | Fixed tidy test | yipinliu | -1/+1 | |
| 2022-03-12 | Highlight escape sequences in byte strings | yipinliu | -0/+86 | |
| 2022-03-09 | Merge #11663 | bors[bot] | -1/+1 | |
| 11663: Internal: Add hir_def::MacroId, add Macro{Id} to ModuleDef{Id} r=Veykril a=Veykril With this we can now handle macros like we handle ModuleDefs making them work more like other definitions and allowing us to remove a bunch of special cases. This also enables us to track the modules these macros are defined in, instead of only recording the crate they come from. Introduces a new class of `MacroId`s (for each of the 3 macro kinds) into `hir_def`. We can't reuse `MacroDefId` as that is defined in `hir_expand` which doesn't know of modules, so now we have two different macro ids, this unfortunately requires some back and forth mapping between the two via database accesses which I hope won't be too expensive. Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2022-03-08 | Move ide crates to new hir::Macro | Lukas Wirth | -1/+1 | |
| 2022-03-07 | Emit more detailed highlighting for `%`, `>>`, `<<` | Luna Razzaghipour | -4/+85 | |
| 2022-03-06 | internal: Re-arrange ide_db modules | Lukas Wirth | -4/+3 | |
| 2022-03-06 | internal: Simplify and optimize syntax_highlighting | Lukas Wirth | -114/+102 | |
| 2022-03-06 | Add a macro case for the keyword highlighting test fixture | Lukas Wirth | -6/+14 | |
| 2022-03-06 | Fix extern crate self having self unresolved | Lukas Wirth | -1/+1 | |
| 2022-03-06 | Highlight `Self` as a keyword by default | Lukas Wirth | -9/+84 | |
| 2022-03-05 | Fix highlighting of `Self` | Lukas Wirth | -3/+5 | |
| 2022-03-05 | fix: Recognize `Self` as a proper keyword | Lukas Wirth | -3/+3 | |
| 2022-03-04 | Preserve order of generic args | hkalbasi | -1/+15 | |
| 2022-03-03 | slightly improve highlighting performance for derive annotated items | Lukas Wirth | -7/+2 | |
| 2022-03-03 | fix: Fix semantic highlighting breaking for lifetimes in macros | Lukas Wirth | -0/+81 | |
| 2022-02-26 | Make hir::Local::name infallible | Lukas Wirth | -9/+7 | |
| 2022-02-26 | Rename test highlighting output files | Lukas Wirth | -85/+176 | |
| 2022-02-26 | Split up highlighting tests a bit more | Lukas Wirth | -139/+91 | |
| 2022-02-26 | Re-order and cleanup highlighting tests | Lukas Wirth | -208/+199 | |
| 2022-02-22 | internal: Expand the derive attribute into a pseudo expansion | Lukas Wirth | -14/+3 | |
| 2022-01-31 | fix: Fix proc-macro server not using the supplied span in Ident::new | Lukas Wirth | -20/+0 | |
