Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove Option<...> from result of Crate::root_module | Paul Daniel Faria | 2020-08-09 | 1 | -2/+2 |
| | | | | | There doesn't seem to be any need for it, and removing it simplies several paths of code that depend on it. | ||||
* | Rename BindPat -> IdentPat | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Rename FieldDef -> Field | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | call_info works with closures | Aleksey Kladov | 2020-07-17 | 1 | -14/+19 |
| | |||||
* | Remove FunctionSignature | Aleksey Kladov | 2020-07-16 | 1 | -1/+1 |
| | |||||
* | Inlay hints use callables | Aleksey Kladov | 2020-07-16 | 1 | -0/+3 |
| | |||||
* | Redner self as param for call infor for assoc fn call | Aleksey Kladov | 2020-07-16 | 1 | -2/+12 |
| | |||||
* | Semantical call info | Aleksey Kladov | 2020-07-16 | 1 | -7/+69 |
| | |||||
* | Align CallableDefId naming with other ids | Aleksey Kladov | 2020-07-16 | 1 | -2/+2 |
| | |||||
* | Cleanup hir diagnostics API | Aleksey Kladov | 2020-07-14 | 1 | -8/+1 |
| | |||||
* | Consolidate hir diagnostics code in one place | Aleksey Kladov | 2020-07-14 | 1 | -5/+3 |
| | |||||
* | Don't copy-paste `impl_froms` into every crate | Aleksey Kladov | 2020-07-13 | 1 | -10/+13 |
| | |||||
* | Use dedicated semantic highlight tag for parameters | Aleksey Kladov | 2020-07-11 | 1 | -1/+14 |
| | | | | closes #5106 | ||||
* | Merge #5149 | bors[bot] | 2020-07-01 | 1 | -5/+5 |
|\ | | | | | | | | | | | | | | | | | | | 5149: Implement Chalk variable kinds r=flodiebold a=flodiebold This means we need to keep track of the kinds (general/int/float) of variables in `Canonical`, which requires some more ceremony. (It also exposes some places where we're not really dealing with canonicalization correctly -- another thing to be cleaned up when we switch to using Chalk's types directly.) Should fix the last remaining issue of #2534. Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Implement Chalk variable kinds | Florian Diebold | 2020-07-01 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | This means we need to keep track of the kinds (general/int/float) of variables in `Canonical`, which requires some more ceremony. (It also exposes some places where we're not really dealing with canonicalization correctly -- another thing to be cleaned up when we switch to using Chalk's types directly.) Should fix the last remaining issue of #2534. | ||||
* | | Split `CrateImplDefs` in inherent and trait impls | Jonas Schievink | 2020-07-01 | 1 | -7/+9 |
| | | | | | | | | | | | | This makes the intention of inherent vs. trait impls somewhat more clear and also fixes (?) an issue where trait impls with an unresolved trait were added as inherent impls instead (hence the test changes). | ||||
* | | Use Strings for display names | Aleksey Kladov | 2020-07-01 | 1 | -3/+3 |
|/ | |||||
* | (Partially) fix handling of type params depending on type params | Florian Diebold | 2020-06-29 | 1 | -3/+6 |
| | | | | | | | | If the first type parameter gets inferred, that's still not handled correctly; it'll require some more refactoring: E.g. if we have `Thing<T, F=fn() -> T>` and then instantiate `Thing<_>`, that gets turned into `Thing<_, fn() -> _>` before the `_` is instantiated into a type variable -- so afterwards, we have two type variables without any connection to each other. | ||||
* | Remove unneeded code, filename from tests, fix rebasing issues | Paul Daniel Faria | 2020-06-27 | 1 | -2/+6 |
| | |||||
* | Revert ide highlighting changes (addressing on another branch) | Paul Daniel Faria | 2020-06-27 | 1 | -4/+0 |
| | |||||
* | Add HighlightTag::Operator, use it for unsafe deref. Move unsafe validation ↵ | Paul Daniel Faria | 2020-06-27 | 1 | -3/+5 |
| | | | | to its own file | ||||
* | Move diagnostics back into expr, add tests for diagnostics, fix logic to ↵ | Paul Daniel Faria | 2020-06-27 | 1 | -3/+2 |
| | | | | account for derefs of raw ptrs | ||||
* | Add unsafe diagnostics and unsafe highlighting | Paul Daniel Faria | 2020-06-27 | 1 | -1/+4 |
| | |||||
* | draw the rest of the owl | Jonas Schievink | 2020-06-24 | 1 | -6/+4 |
| | |||||
* | Apply suggestions from code review | vsrs | 2020-06-18 | 1 | -35/+50 |
| | |||||
* | Add Type::walk method | vsrs | 2020-06-18 | 1 | -71/+59 |
| | |||||
* | Remove AdtOrTrait | vsrs | 2020-06-18 | 1 | -29/+22 |
| | |||||
* | Fix type "items" order. | vsrs | 2020-06-18 | 1 | -7/+18 |
| | |||||
* | Add `Go to Type Definition` hover action. | vsrs | 2020-06-18 | 1 | -2/+106 |
| | |||||
* | Respect casing when searching for imports | Jonas Schievink | 2020-06-10 | 1 | -1/+1 |
| | |||||
* | Limit import map queries | Jonas Schievink | 2020-06-10 | 1 | -6/+10 |
| | |||||
* | ra_hir: expose `import_map::search_dependencies` | Jonas Schievink | 2020-06-10 | 1 | -0/+14 |
| | |||||
* | Add highlight support for unsafe fn calls and raw ptr deref | Paul Daniel Faria | 2020-06-02 | 1 | -0/+8 |
| | |||||
* | Merge #4592 | bors[bot] | 2020-05-27 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | 4592: fix textedit range returned for completion when left token is a keyword r=bnjjj a=bnjjj close #4545 Co-authored-by: Benjamin Coenen <[email protected]> | ||||
| * | fix textedit range returned for completion when left token is a keyword #4545 | Benjamin Coenen | 2020-05-24 | 1 | -0/+1 |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | | Pass trivially copy types as copy | kjeremy | 2020-05-26 | 1 | -9/+9 |
|/ | |||||
* | Ty -> Type | Fedor Sakharov | 2020-05-14 | 1 | -2/+7 |
| | |||||
* | Adds a param_idx helper | Fedor Sakharov | 2020-05-14 | 1 | -2/+2 |
| | |||||
* | Use generic_defaults and display_source_code | Fedor Sakharov | 2020-05-14 | 1 | -3/+4 |
| | |||||
* | Correctly fill default type parameters | Fedor Sakharov | 2020-05-13 | 1 | -0/+5 |
| | |||||
* | Merge #4421 | bors[bot] | 2020-05-11 | 1 | -0/+20 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 4421: Find references to a function outside module r=flodiebold a=montekki Fixes #4188 Yet again, it looks like although the code in https://github.com/rust-analyzer/rust-analyzer/blob/da1f316b0246ce41d7cb8560181e294089f06ef3/crates/ra_ide_db/src/search.rs#L128-L132 may be wrong, it is not hit since the `vis` is `None` at this point. The fix is similar to the #4237 case: just add another special case to `Definition::visibility()`. Co-authored-by: Fedor Sakharov <[email protected]> | ||||
| * | New definition_visibility method | Fedor Sakharov | 2020-05-11 | 1 | -0/+20 |
| | | |||||
* | | Highlight mutable statics as mutable | Matthew Jasper | 2020-05-10 | 1 | -0/+4 |
|/ | |||||
* | New HirDisplay method for displaying sourcecode | Timo Freiberg | 2020-05-08 | 1 | -3/+6 |
| | |||||
* | Rename ImplItem to AssocItem | Edwin Cheng | 2020-05-05 | 1 | -1/+1 |
| | |||||
* | Propose custom derives in completion | Kirill Bulatov | 2020-05-02 | 1 | -8/+7 |
| | |||||
* | Complete assoc. items on type parameters | Jonas Schievink | 2020-04-29 | 1 | -0/+10 |
| | |||||
* | Complete union fields after dot | Jonas Schievink | 2020-04-28 | 1 | -12/+15 |
| | |||||
* | Don't add call parens when an fn type is expected | Jonas Schievink | 2020-04-25 | 1 | -0/+7 |
| | |||||
* | Rename StructField -> Field | Aleksey Kladov | 2020-04-25 | 1 | -17/+17 |
| |