Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lower attributes on tuple fields | Jonas Schievink | 2021-04-06 | 1 | -5/+4 |
| | |||||
* | Merge #8245 | bors[bot] | 2021-04-05 | 1 | -2/+93 |
|\ | | | | | | | | | | | | | | | | | | | 8245: Properly resolve intra doc links in hover and goto_definition r=matklad a=Veykril Unfortunately involves a bit of weird workarounds due to pulldown_cmark's incorrect lifetimes on `BrokenLinkCallback`... I should probably open an issue there asking for the fixes to be pushed to a release since they already exist in the repo for quite some time it seems. Fixes #8258, Fixes #8238 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Replace Range<usize> usage with TextRange | Lukas Wirth | 2021-03-30 | 1 | -28/+14 |
| | | |||||
| * | Implement basic Documentation source to syntax range mapping | Lukas Wirth | 2021-03-30 | 1 | -2/+107 |
| | | |||||
* | | Make `ast_to_token_tree` infallible | Jonas Schievink | 2021-04-04 | 1 | -1/+1 |
| | | | | | | | | It could never return `None`, so reflect that in the return type | ||||
* | | Intern Attr, MacroCall and Path components | Jonas Schievink | 2021-04-01 | 1 | -3/+4 |
|/ | |||||
* | clippy::complexity simplifications related to Iterators | Matthias Krüger | 2021-03-21 | 1 | -1/+1 |
| | |||||
* | Add `AttrsWithOwner` and clean up `source_map` | Jonas Schievink | 2021-03-19 | 1 | -123/+189 |
| | |||||
* | Return `Either` from `MacroDefId::ast_id` | Jonas Schievink | 2021-03-19 | 1 | -3/+4 |
| | |||||
* | Merge #8097 | bors[bot] | 2021-03-19 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 8097: Parse extended_key_value_attributes r=jonas-schievink a=Veykril Companion PR https://github.com/rust-analyzer/ungrammar/pull/31 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Parse extended_key_value_attributes | Lukas Wirth | 2021-03-19 | 1 | -1/+1 |
| | | |||||
* | | Merge #8083 | bors[bot] | 2021-03-18 | 1 | -16/+48 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 8083: Track source file IDs in source mapping of Attrs r=jonas-schievink a=Veykril Fixes the panics/incorrect injection highlighting of outline module declarations until we figure out a nicer source mapping strategy for attributes. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | Track source file IDs in source mapping of Attrs | Lukas Wirth | 2021-03-18 | 1 | -16/+48 |
| |/ | |||||
* / | Make MacroDefId's `AstId` mandatory when possible | Jonas Schievink | 2021-03-18 | 1 | -1/+1 |
|/ | |||||
* | Make `ItemTreeId` its own type | Jonas Schievink | 2021-03-18 | 1 | -1/+1 |
| | |||||
* | Fix incorrect newline emission in Attrs::docs | Lukas Wirth | 2021-03-17 | 1 | -14/+14 |
| | |||||
* | Better handling of block doc comments | Lukas Wirth | 2021-03-17 | 1 | -38/+45 |
| | |||||
* | Merge #8059 | bors[bot] | 2021-03-17 | 1 | -6/+39 |
|\ | | | | | | | | | | | | | | | 8059: Move doc-comment highlight injection from AST to HIR r=matklad,jonas-schievink a=Veykril Fixes #5016 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Remove quadratic attr source lookup | Lukas Wirth | 2021-03-17 | 1 | -0/+25 |
| | | |||||
| * | Properly handle doc attributes in doc-comment highlight injection | Lukas Wirth | 2021-03-16 | 1 | -1/+7 |
| | | |||||
| * | Fix attribute index assignment in cfg_attr resolution | Lukas Wirth | 2021-03-16 | 1 | -5/+7 |
| | | |||||
| * | Move doc-comment highlight injection from AST to HIR | Lukas Wirth | 2021-03-16 | 1 | -1/+1 |
| | | |||||
* | | avoid converting types into themselves via .into() (clippy::useless-conversion) | Matthias Krüger | 2021-03-17 | 1 | -1/+1 |
|/ | | | | example: let x: String = String::from("hello world").into(); | ||||
* | Handle `cfg_attr` gating multiple attributes | Jonas Schievink | 2021-03-13 | 1 | -29/+19 |
| | |||||
* | Delete `ContainerId` | Jonas Schievink | 2021-03-09 | 1 | -1/+1 |
| | |||||
* | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 1 | -2/+1 |
| | |||||
* | Fix some warnings | Laurențiu Nicola | 2021-03-05 | 1 | -1/+1 |
| | |||||
* | Return inner attributes of outline mod declarations in `attrs_query` | Lukas Wirth | 2021-01-31 | 1 | -1/+9 |
| | |||||
* | Obtain `ModuleId`'s `DefMap` through a method | Jonas Schievink | 2021-01-22 | 1 | -1/+1 |
| | |||||
* | Treat BlockExpr as a potential module origin | Jonas Schievink | 2021-01-20 | 1 | -0/+1 |
| | |||||
* | Remove map module from la-arena public API | Aramis Razzaghipour | 2021-01-15 | 1 | -1/+1 |
| | | | | | | It’s unlikely that more items will be added to the module, so it’s simpler for users if `ArenaMap` is re-exported and the module made private. | ||||
* | prepare to publish el libro de arena | Aleksey Kladov | 2021-01-14 | 1 | -1/+1 |
| | |||||
* | Introduce new queries to compute | Daniel Frampton | 2021-01-05 | 1 | -10/+46 |
| | | | | | | | | 1) the set of attributes for all variants of an enum, and 2) the set of attributes for all fields of a variant. This avoids the current n^2 behavior when rendering completion for variants, which prevents completion for enums with large numbers of variants. | ||||
* | Merge #7128 | bors[bot] | 2021-01-03 | 1 | -1/+20 |
|\ | | | | | | | | | | | | | | | 7128: Implement HasAttrs for GenericParam r=matklad a=Veykril Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Impl HasAttrs for GenericParam | Lukas Wirth | 2021-01-01 | 1 | -1/+20 |
| | | |||||
* | | Use fully qualified `Itertools::intersperse` call to silence nightly ↵ | cynecx | 2021-01-02 | 1 | -8/+7 |
|/ | | | | warnings about a potential name collision due to recent libstd api additions | ||||
* | Add API for mapping `Attr` back to its syntax node | Jonas Schievink | 2020-12-19 | 1 | -23/+55 |
| | |||||
* | Make `RawAttrs` crate-private | Jonas Schievink | 2020-12-19 | 1 | -2/+2 |
| | | | | There should be no need to use this from outside | ||||
* | Remove `Attrs::merge` | Jonas Schievink | 2020-12-19 | 1 | -12/+0 |
| | | | | Only the `RawAttrs` version of this is in use | ||||
* | Remove resolved FIXME | Jonas Schievink | 2020-12-19 | 1 | -1/+0 |
| | |||||
* | More accurate `#[derive]` parsing | Jonas Schievink | 2020-12-19 | 1 | -3/+43 |
| | | | | This now allows full paths to the derive macro | ||||
* | Hit a mark | Jonas Schievink | 2020-12-18 | 1 | -0/+3 |
| | |||||
* | Fix parsing of active cfg_attr | Jonas Schievink | 2020-12-18 | 1 | -2/+2 |
| | |||||
* | Implement `RawAttr::filter` | Jonas Schievink | 2020-12-18 | 1 | -3/+61 |
| | |||||
* | Refactor attributes API to allow handling cfg_attr | Jonas Schievink | 2020-12-18 | 1 | -53/+93 |
| | |||||
* | Make `Attrs::from_attrs_owner` private | Jonas Schievink | 2020-12-17 | 1 | -1/+1 |
| | |||||
* | Use Attrs::docs in NavigationTarget instead of DocCommentsOwner | Lukas Wirth | 2020-12-11 | 1 | -1/+1 |
| | |||||
* | Use Attrs::docs in runnables instead of DocCommentsOwner | Lukas Wirth | 2020-12-11 | 1 | -3/+3 |
| | |||||
* | Properly fetch inner and outer docs on hir-level | Lukas Wirth | 2020-12-09 | 1 | -17/+25 |
| | |||||
* | Properly fetch inner and outer attributes on hir-level | Lukas Wirth | 2020-12-08 | 1 | -5/+39 |
| |