Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correctly highlight ranges of diagnostics from macros | Aleksey Kladov | 2020-04-17 | 1 | -0/+8 |
| | | | | closes #2799 | ||||
* | Move computation of missing fields into hir | Aleksey Kladov | 2020-04-07 | 1 | -9/+19 |
| | |||||
* | Check for eprintln on CI | Aleksey Kladov | 2020-04-06 | 1 | -1/+1 |
| | |||||
* | Always expand macros during analysis | Aleksey Kladov | 2020-03-25 | 1 | -3/+3 |
| | |||||
* | Fix typo | Edwin Cheng | 2020-03-22 | 1 | -1/+1 |
| | | | Co-Authored-By: Veetaha <[email protected]> | ||||
* | Add find_node_at_offset_with_descend | Edwin Cheng | 2020-03-22 | 1 | -1/+28 |
| | |||||
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 1 | -11/+11 |
| | | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate). | ||||
* | Restore cargo-fmt gating | Aleksey Kladov | 2020-03-13 | 1 | -2/+2 |
| | |||||
* | fix issue 3444 | Josh Mcguigan | 2020-03-13 | 1 | -1/+7 |
| | |||||
* | Move hypothetical expansion to hir_expand | Florian Diebold | 2020-03-08 | 1 | -21/+3 |
| | |||||
* | Try to complete within macros | Florian Diebold | 2020-03-07 | 1 | -2/+53 |
| | |||||
* | Move PathResolution | Aleksey Kladov | 2020-03-05 | 1 | -2/+15 |
| | |||||
* | Remove old find refs infra | Aleksey Kladov | 2020-03-04 | 1 | -7/+1 |
| | |||||
* | More principled approach for gotodef for field shorhand | Aleksey Kladov | 2020-03-02 | 1 | -2/+5 |
| | | | | | Callers can now decide for themselves if they should prefer field or local definition. By default, it's the local. | ||||
* | Rename ast::ImplBlock -> ast::ImplDef | Aleksey Kladov | 2020-02-29 | 1 | -1/+1 |
| | |||||
* | Handle tuple fields as well | Aleksey Kladov | 2020-02-29 | 1 | -0/+1 |
| | |||||
* | Simplify SourceBinder | Aleksey Kladov | 2020-02-29 | 1 | -61/+40 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2020-02-28 | 1 | -1/+1 |
| | |||||
* | Merge #3367 | bors[bot] | 2020-02-28 | 1 | -2/+6 |
|\ | | | | | | | | | | | | | | | | | | | | | 3367: Fix highlighting of const patterns r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Fix highlighting of const patterns | Aleksey Kladov | 2020-02-28 | 1 | -2/+6 |
| | | |||||
* | | Simpilfy origin_range logic | Edwin Cheng | 2020-02-28 | 1 | -38/+27 |
|/ | |||||
* | Use text_range::extend_to | Edwin Cheng | 2020-02-27 | 1 | -10/+3 |
| | |||||
* | Skip trival token in original_range | Edwin Cheng | 2020-02-26 | 1 | -5/+7 |
| | |||||
* | Remove duplicate comment | Edwin Cheng | 2020-02-26 | 1 | -1/+0 |
| | |||||
* | Add recursive support in original_range | Edwin Cheng | 2020-02-26 | 1 | -14/+37 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2020-02-26 | 1 | -6/+66 |
| | |||||
* | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 1 | -0/+335 |
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. |