Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #5692 | bors[bot] | 2020-08-10 | 1 | -0/+40 |
|\ | | | | | | | | | | | | | | | | | | | 5692: Add support for extern crate r=jonas-schievink a=Nashenas88 This adds syntax highlighting, hover and goto def functionality for extern crate. Fixes #5690 Co-authored-by: Paul Daniel Faria <[email protected]> | ||||
| * | Add support for extern crate | Paul Daniel Faria | 2020-08-08 | 1 | -0/+40 |
| | | | | | | | | | | This adds syntax highlighting, hover and goto def functionality for extern crate | ||||
* | | Merge #5684 | bors[bot] | 2020-08-08 | 1 | -0/+11 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | 5684: Semantic highlighting for unsafe union field access r=jonas-schievink a=Nashenas88 This change adds support for unions in inference and lowering, then extends on that to add the unsafe semantic modifier on field access only. The `is_possibly_unsafe` function in `syntax_highlighting.rs` could be extended to support fns and static muts so that their definitions are not highlighted as unsafe, but only their usage. Also, each commit of this PR updates the tests. By reviewing the files by commit, it's easy to see how the changes in the code affected the tests. Co-authored-by: Paul Daniel Faria <[email protected]> | ||||
| * | Apply unsafe semantic highlighting to union field access | Paul Daniel Faria | 2020-08-08 | 1 | -3/+3 |
| | | |||||
| * | Add support for unions in inference and lowering | Paul Daniel Faria | 2020-08-08 | 1 | -4/+4 |
| | | |||||
| * | Add test for unsafe union field access highlighting | Paul Daniel Faria | 2020-08-07 | 1 | -0/+11 |
| | | |||||
* | | Mark static mutable names as unsafe | Paul Daniel Faria | 2020-08-07 | 2 | -4/+4 |
| | | |||||
* | | Add test for accessing static mut | Paul Daniel Faria | 2020-08-07 | 1 | -0/+7 |
|/ | |||||
* | When resolving a rename, fallback to the name higher in the use tree if the ↵ | Paul Daniel Faria | 2020-08-04 | 1 | -1/+1 |
| | | | | path segment is `self` | ||||
* | Add test showing unresolved module rename | Paul Daniel Faria | 2020-08-04 | 1 | -1/+4 |
| | |||||
* | Replace rand with oorandom | Aleksey Kladov | 2020-07-29 | 1 | -6/+6 |
| | |||||
* | On second thought, we want to preserve the textMate here where all ↵ | GrayJack | 2020-07-21 | 2 | -2/+2 |
| | | | | punctuation that are from a Attr be highlited as Attribute | ||||
* | `#` as Attribute | GrayJack | 2020-07-21 | 2 | -2/+2 |
| | | | | - Issue #5453 | ||||
* | Assingment semantic highlight | GrayJack | 2020-07-20 | 5 | -40/+40 |
| | |||||
* | Handle semantic highlight when STAR is part of the `*{const, mut}` | GrayJack | 2020-07-20 | 5 | -31/+31 |
| | |||||
* | Add new `Punctuation` highlight tag | Leander Tentrup | 2020-07-15 | 6 | -193/+193 |
| | |||||
* | Highlight punctuation as `HighlightTag::Operator` | Leander Tentrup | 2020-07-15 | 6 | -197/+197 |
| | |||||
* | Semantic Highlighting: Emit mutable modifier for 'self' when applicable | Lukas Wirth | 2020-07-13 | 1 | -0/+10 |
| | |||||
* | Use dedicated semantic highlight tag for parameters | Aleksey Kladov | 2020-07-11 | 6 | -15/+21 |
| | | | | closes #5106 | ||||
* | Move test data to test_data directory | Aleksey Kladov | 2020-07-01 | 6 | -0/+461 |