Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Store an `AstId` for procedural macros | Jonas Schievink | 2021-03-18 | 1 | -4/+10 |
| | |||||
* | Fix incorrect newline emission in Attrs::docs | Lukas Wirth | 2021-03-17 | 1 | -4/+22 |
| | |||||
* | Better handling of block doc comments | Lukas Wirth | 2021-03-17 | 1 | -0/+34 |
| | |||||
* | Implement HirDisplay for some more types | Lukas Wirth | 2021-03-16 | 1 | -14/+4 |
| | |||||
* | Merge #7498 | bors[bot] | 2021-03-16 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | 7498: Clone for update r=matklad a=matklad rowan counterpart https://github.com/rust-analyzer/rowan/pull/93 #6857 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Upgrade rowan | Aleksey Kladov | 2021-03-16 | 1 | -2/+2 |
| | | | | | | | | Notably, new rowan comes with support for mutable syntax trees. | ||||
* | | Update tests | oxalica | 2021-03-15 | 1 | -28/+57 |
| | | |||||
* | | Use hir formatter more | oxalica | 2021-03-15 | 1 | -42/+17 |
| | | |||||
* | | Impl HirDisplay for function hover message | oxalica | 2021-03-15 | 1 | -1/+9 |
| | | |||||
* | | Add test for hover of macro expanded function | oxalica | 2021-03-15 | 1 | -0/+38 |
|/ | |||||
* | Show whether a binding is mutable or not on hover | Lukas Wirth | 2021-03-09 | 1 | -19/+43 |
| | |||||
* | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 1 | -5/+4 |
| | |||||
* | Show docs on hover for keywords and primitives | Lukas Wirth | 2021-03-02 | 1 | -13/+122 |
| | |||||
* | Fix lowering trailing self paths in UseTrees | Lukas Wirth | 2021-02-28 | 1 | -0/+29 |
| | |||||
* | Don't lower TypeBound::Lifetime as GenericPredicate::Error | Lukas Wirth | 2021-02-20 | 1 | -2/+2 |
| | |||||
* | Show hover info of the definition of ConstReference patterns instead of its type | Lukas Wirth | 2021-02-17 | 1 | -2/+38 |
| | |||||
* | Wrap `BuiltinType` in code model | Jonas Schievink | 2021-02-11 | 1 | -1/+1 |
| | |||||
* | Return inner attributes of outline mod declarations in `attrs_query` | Lukas Wirth | 2021-01-31 | 1 | -0/+16 |
| | |||||
* | Fix broken link in intra-doc | Daiki Ihara | 2021-01-22 | 1 | -0/+29 |
| | |||||
* | Treat BlockExpr as a potential module origin | Jonas Schievink | 2021-01-20 | 1 | -0/+1 |
| | |||||
* | Merge #7321 | bors[bot] | 2021-01-19 | 1 | -6/+1 |
|\ | | | | | | | | | | | | | | | 7321: Support runnables in macros r=matklad a=edwin0cheng fixes #4771 Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Support runnables in macros | Edwin Cheng | 2021-01-19 | 1 | -6/+1 |
| | | |||||
* | | Wrap remaining self/super/crate in Name{Ref} | Lukas Wirth | 2021-01-15 | 1 | -3/+2 |
|/ | |||||
* | Handle self/super/crate in PathSegment as NameRef | Lukas Wirth | 2021-01-15 | 1 | -7/+40 |
| | |||||
*-. | Merge #7051 #7219 #7245 #7246 | bors[bot] | 2021-01-11 | 1 | -6/+1 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7051: Check dbg! macro in tidy_test r=matklad a=edwin0cheng Same as `check_todo` but for dbg! macro r? @matklad 7219: Refactor rename name checking r=matklad a=Veykril Improves the user facing error messages a bit and prevents renaming to `_` when the name is referenced as this would change source to not compile anymore since `_` is only a pattern, not a proper identifier. 7245: Encourage gifs r=matklad a=matklad bors r+ 🤖 7246: Unfreeze cargo_metadata r=matklad a=kjeremy It now pulls in a newer version of semver-parser. This does add a dependency on `cargo-platform` in the interest of correctness. Co-authored-by: Edwin Cheng <[email protected]> Co-authored-by: Lukas Wirth <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> Co-authored-by: kjeremy <[email protected]> | ||||
| | * | Refactor rename name checking | Lukas Wirth | 2021-01-09 | 1 | -6/+1 |
| |/ | |||||
* | | Merge #7218 | bors[bot] | 2021-01-10 | 1 | -10/+10 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 7218: Fix typos r=Veykril a=regexident Apart from the very last commit on this PR (which fixes a public type's name) all changes are non-breaking. Co-authored-by: Vincent Esche <[email protected]> | ||||
| * | | Fixed typos in code comments | Vincent Esche | 2021-01-09 | 1 | -10/+10 |
| |/ | |||||
* | | Merge #7206 #7231 | bors[bot] | 2021-01-10 | 1 | -7/+9 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7206: Use hir::GenericParam in ide_db::Definition instead of relisting all 3 r=Veykril a=Veykril Basically just this: ```diff pub enum Definition { Macro(MacroDef), Field(Field), ModuleDef(ModuleDef), SelfType(Impl), Local(Local), - TypeParam(TypeParam), - LifetimeParam(LifetimeParam), - ConstParam(ConstParam), + GenericParam(GenericParam), Label(Label), } ``` 7231: Cleaner API r=matklad a=matklad bors r+ 🤖 Co-authored-by: Lukas Wirth <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Use hir::GenericParam in ide_db::Definition instead of relisting all 3 | Lukas Wirth | 2021-01-10 | 1 | -7/+9 |
| |/ | |||||
* / | Cleanup | Aleksey Kladov | 2021-01-10 | 1 | -2/+2 |
|/ | |||||
* | Change <|> to $0 - Rebase | Kevaundray Wedderburn | 2021-01-07 | 1 | -108/+108 |
| | |||||
* | Remove some stale deprecations | Aleksey Kladov | 2021-01-07 | 1 | -2/+0 |
| | |||||
* | More maintainable config | Aleksey Kladov | 2021-01-06 | 1 | -22/+7 |
| | | | | | | | Rather than eagerly converting JSON, we losslessly keep it as is, and change the shape of user-submitted data at the last moment. This also allows us to remove a bunch of wrong Defaults | ||||
* | Show GotoTypeAction for TypeParam | Lukas Wirth | 2021-01-04 | 1 | -17/+54 |
| | |||||
* | Show GotoTypeAction for ConstParam | Lukas Wirth | 2021-01-04 | 1 | -37/+66 |
| | |||||
* | Show implementations when hovering over SelfType | Lukas Wirth | 2021-01-04 | 1 | -8/+29 |
| | |||||
* | Fix HoverAction::Implementation typo | Lukas Wirth | 2021-01-04 | 1 | -10/+11 |
| | |||||
* | Implement hover for ConstParam | Lukas Wirth | 2021-01-04 | 1 | -4/+18 |
| | |||||
* | Impl hovering for TypeParams | Lukas Wirth | 2021-01-04 | 1 | -2/+50 |
| | |||||
* | Move impls of ToNav that use source() to TryToNav | Nick Spain | 2021-01-02 | 1 | -5/+5 |
| | |||||
* | source_old -> source for cases that can be handled by simple bubbling | Nick Spain | 2021-01-02 | 1 | -3/+3 |
| | |||||
* | HasSource::source_old -> HasSource::source for places where proc-macros were ↵ | Nick Spain | 2021-01-02 | 1 | -8/+1 |
| | | | | | | | | | | | | special cased In #6901 some special case handling for proc-macros was introduced to prevent panicing as they have no AST. Now the new HasSource::source method is used that returns an option. Generally this was a pretty trivial change, the only thing of much interest is that `hir::MacroDef` now implements `TryToNav` not `ToNav` as this allows us to handle `HasSource::source` now returning an option. | ||||
* | Mark HasSource::source_old as deprecated but allow at all call sites | Nick Spain | 2021-01-02 | 1 | -0/+4 |
| | |||||
* | HasSource::source -> HasSource::source_old | Nick Spain | 2021-01-02 | 1 | -4/+4 |
| | | | | To start migrating HasSource::source to return an Option. | ||||
* | Show lifetimes and labels on hover | Lukas Wirth | 2021-01-01 | 1 | -7/+43 |
| | |||||
* | Add ConstParams to the ide layer | Lukas Wirth | 2021-01-01 | 1 | -1/+4 |
| | |||||
* | Support labels in reference search | Lukas Wirth | 2020-12-24 | 1 | -1/+1 |
| | |||||
* | Align code_model name with ungrammar | Aleksey Kladov | 2020-12-20 | 1 | -2/+2 |
| | |||||
* | Reduce test verbosity | Aleksey Kladov | 2020-12-18 | 1 | -403/+109 |
| |