Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove dead code | Aleksey Kladov | 2020-02-26 | 1 | -1/+1 |
| | |||||
* | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 1 | -2/+3 |
| | | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax. | ||||
* | show names for record fields in enum completion | adamrk | 2020-02-16 | 1 | -0/+1 |
| | |||||
* | Add more hir APIs for associated items | Aleksey Kladov | 2020-02-12 | 1 | -4/+4 |
| | |||||
* | Remove ImportResolver-related stubs | Kirill Bulatov | 2020-02-09 | 1 | -2/+1 |
| | |||||
* | Remove the leftovers after ImportLocator removal | Kirill Bulatov | 2020-02-06 | 1 | -1/+0 |
| | |||||
* | Code review fixes | Kirill Bulatov | 2020-02-02 | 1 | -1/+1 |
| | |||||
* | Require ModPath for importing | Kirill Bulatov | 2020-02-02 | 1 | -1/+2 |
| | |||||
* | Code review fixes | Kirill Bulatov | 2020-01-27 | 1 | -3/+2 |
| | |||||
* | Adjust the tests | Kirill Bulatov | 2020-01-26 | 1 | -0/+1 |
| | |||||
* | Have a better trait interface | Kirill Bulatov | 2020-01-26 | 1 | -1/+2 |
| | |||||
* | Initial auto import action implementation | Kirill Bulatov | 2020-01-26 | 1 | -1/+1 |
| | |||||
* | Create modules via SourceBinder | Aleksey Kladov | 2020-01-16 | 1 | -1/+0 |
| | |||||
* | Make FromSource private | Aleksey Kladov | 2020-01-16 | 1 | -1/+0 |
| | |||||
* | Store DB in SourceBinder | Aleksey Kladov | 2020-01-15 | 1 | -0/+1 |
| | |||||
* | Introduce SourceBinder | Aleksey Kladov | 2020-01-15 | 1 | -1/+2 |
| | |||||
* | Rename file | Aleksey Kladov | 2020-01-14 | 1 | -2/+2 |
| | |||||
* | Add visibility in code model for fields | Florian Diebold | 2019-12-26 | 1 | -2/+2 |
| | |||||
* | Remove imports from hir | Aleksey Kladov | 2019-12-21 | 1 | -2/+2 |
| | |||||
* | Revert "Merge #2629" | Aleksey Kladov | 2019-12-21 | 1 | -2/+2 |
| | | | | | This reverts commit cdc9d682b066b110e0a44e5f8f1c574b38c16ba9, reversing changes made to 90ef070db3dce0a7acb9cd11d0b0d72de13c9d79. | ||||
* | Remove hir for imports | Aleksey Kladov | 2019-12-21 | 1 | -2/+2 |
| | |||||
* | Drop dead code | Aleksey Kladov | 2019-12-19 | 1 | -1/+1 |
| | |||||
* | Merge #2562 | bors[bot] | 2019-12-17 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2562: Fix NavigationTarget ranges r=matklad a=edwin0cheng Fix the issue described in https://github.com/rust-analyzer/rust-analyzer/pull/2544#issuecomment-565572553 This PR change the order for finding `full_range` of `focus_range` in following orders: 1. map both ranges to macro_call 2. map focus range to a token inside macro call, and full range to the whole of macro call 3. map both ranges to the whole of macro call And fix the corresponding tests and make these tests easily to follow. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Re-export Origin to replace ExpansionOrigin | Edwin Cheng | 2019-12-14 | 1 | -2/+1 |
| | | |||||
| * | Fix original_source find order | Edwin Cheng | 2019-12-14 | 1 | -1/+2 |
| | | |||||
* | | Use different types for path with and without generics | Aleksey Kladov | 2019-12-14 | 1 | -1/+1 |
|/ | |||||
* | Remove more dead code | Aleksey Kladov | 2019-12-08 | 1 | -2/+0 |
| | |||||
* | Cleanup module structure | Aleksey Kladov | 2019-12-08 | 1 | -5/+7 |
| | |||||
* | Remove ty from code_model | Aleksey Kladov | 2019-12-08 | 1 | -6/+1 |
| | |||||
* | Rename GenericParam -> TypeParam | Aleksey Kladov | 2019-12-07 | 1 | -3/+3 |
| | | | | We don't have LifetimeParam yet, but they are planned! | ||||
* | Add `ModuleSource::Block` | ice1000 | 2019-12-04 | 1 | -2/+3 |
| | |||||
* | Replace `ra_hir_expand::either` with crate | ice1000 | 2019-12-03 | 1 | -1/+1 |
| | |||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -1/+1 |
| | |||||
* | Move Ty | Aleksey Kladov | 2019-11-27 | 1 | -8/+1 |
| | |||||
* | Introduce hir::Type | Aleksey Kladov | 2019-11-26 | 1 | -1/+1 |
| | | | | It should provide a convenient API over more low-level Ty | ||||
* | Remove impl_block module | Aleksey Kladov | 2019-11-24 | 1 | -1/+0 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 1 | -5/+4 |
| | |||||
* | Remove ids module | Aleksey Kladov | 2019-11-24 | 1 | -1/+0 |
| | |||||
* | Cleanup imports | Aleksey Kladov | 2019-11-24 | 1 | -2/+3 |
| | |||||
* | Hide ImportId | Aleksey Kladov | 2019-11-23 | 1 | -3/+2 |
| | |||||
* | Cleanup imports | Aleksey Kladov | 2019-11-23 | 1 | -1/+1 |
| | |||||
* | Move docs to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -2/+2 |
| | |||||
* | Move lang_items to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -1/+0 |
| | |||||
* | Move attrs query to hir_def | Aleksey Kladov | 2019-11-23 | 1 | -5/+4 |
| | |||||
* | Move const&static date to hir_def | Aleksey Kladov | 2019-11-22 | 1 | -4/+4 |
| | |||||
* | Move FunctionData to hir_def | Aleksey Kladov | 2019-11-22 | 1 | -3/+3 |
| | |||||
*-. | Merge #2348 #2352 | bors[bot] | 2019-11-22 | 1 | -1/+0 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2348: Add support for stringify! builtin macro r=matklad a=piotr-szpetkowski Refs #2212 First time ever contributing here, hopefully it's ok. 2352: Move TypeAlias to hir_def r=matklad a=matklad Co-authored-by: Piotr Szpetkowski <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| | * | Move TypeAlias to hir_def | Aleksey Kladov | 2019-11-22 | 1 | -1/+0 |
| |/ | |||||
* / | Rename Atts trait | Aleksey Kladov | 2019-11-22 | 1 | -1/+1 |
|/ | |||||
* | reformat | Aleksey Kladov | 2019-11-21 | 1 | -4/+3 |
| |