Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move ModPath->ast::Path function to IDE layer | Aleksey Kladov | 2020-10-06 | 1 | -5/+2 |
| | | | | closes #6092 | ||||
* | Make ImportPrefix a configuration option | Lukas Wirth | 2020-10-05 | 1 | -0/+1 |
| | |||||
* | Tease apart orthogonal concerns in markdown link rewriting | Aleksey Kladov | 2020-08-26 | 1 | -3/+1 |
| | | | | | | | | | | | | `hir` should know nothing about URLs, markdown and html. It should only be able to: * resolve stringy path from documentation * generate canonical stringy path for a def In contrast, link rewriting should not care about semantics of paths and names resolution, and should be concern only with text mangling bits. | ||||
* | Remove AttrDef | Aleksey Kladov | 2020-08-25 | 1 | -1/+1 |
| | |||||
* | Move attrs from code_module to a separate module | Aleksey Kladov | 2020-08-25 | 1 | -5/+6 |
| | |||||
* | Use the same abstraction for attrs and docs | Aleksey Kladov | 2020-08-25 | 1 | -1/+1 |
| | | | | | Doc comments *are* attributes, so there's no reason to have two crates here. | ||||
* | Renames, comments, and dead code removal | Zac Pullar-Strecker | 2020-08-24 | 1 | -2/+2 |
| | |||||
* | Merge remote-tracking branch 'upstream/master' into 503-hover-doc-links | Zac Pullar-Strecker | 2020-08-24 | 1 | -2/+5 |
| | |||||
* | Better API factoring around self access modes | Aleksey Kladov | 2020-08-19 | 1 | -1/+1 |
| | |||||
* | Add SelfParam to code_model | Aleksey Kladov | 2020-08-19 | 1 | -4/+4 |
| | |||||
* | Add new method to Semantics, method_receiver_kind, which returns the kind of ↵ | Paul Daniel Faria | 2020-08-16 | 1 | -1/+1 |
| | | | | | | | self The options are Shared, Mutable, Consuming, and Copied. Use this to add proper highlighting to methods based on usage. | ||||
* | Don't expose hir::Path out of hir | Aleksey Kladov | 2020-08-15 | 1 | -2/+5 |
| | | | | | | | | | | | | | | Conjecture: it's impossible to use hir::Path *correctly* from an IDE. I am not entirely sure about this, and we might need to add it back at some point, but I have to arguments that convince me that we probably won't: * `hir::Path` has to know about hygiene, which an IDE can't set up properly. * `hir::Path` lacks identity, but you actually have to know identity to resolve it correctly | ||||
* | Make hygiene private to hir | Aleksey Kladov | 2020-08-13 | 1 | -2/+6 |
| | |||||
* | Rename ra_hir -> hir | Aleksey Kladov | 2020-08-13 | 1 | -0/+59 |