Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Kill RAW_ literals | Aleksey Kladov | 2020-11-06 | 1 | -9/+7 |
| | | | | | Syntactically, they are indistinguishable from non-raw versions, so it doesn't make sense to separate then *at the syntax* level. | ||||
* | Remove more unreachable pubs | Aleksey Kladov | 2020-11-02 | 1 | -4/+5 |
| | |||||
* | Highlight never type as BuiltinType | Lukas Wirth | 2020-10-26 | 1 | -0/+3 |
| | |||||
* | Fix unary minus highlighting | Lukas Wirth | 2020-10-25 | 1 | -1/+8 |
| | |||||
* | Add Callable modifier for variables that implements Fnonce | GrayJack | 2020-10-16 | 1 | -1/+1 |
| | |||||
* | Add HighlightModifier::Callable and add it for locals | GrayJack | 2020-10-16 | 1 | -0/+3 |
| | |||||
* | More idiomatic classification API | Aleksey Kladov | 2020-10-15 | 1 | -3/+3 |
| | |||||
* | More clarifications | Aleksey Kladov | 2020-10-15 | 1 | -2/+2 |
| | |||||
* | Unconfuse expression and pattern field init shorthands | Aleksey Kladov | 2020-10-15 | 1 | -1/+1 |
| | |||||
* | Default::default the highlighters | Lukas Wirth | 2020-10-14 | 1 | -3/+3 |
| | |||||
* | Factor macro_rules! highlighting out | Lukas Wirth | 2020-10-14 | 1 | -117/+18 |
| | |||||
* | Factor format string highlighting out | Lukas Wirth | 2020-10-14 | 1 | -75/+8 |
| | |||||
* | Skip macro matcher fragment name semantic highlighting | Lukas Wirth | 2020-10-10 | 1 | -3/+115 |
| | |||||
* | Fix handling of consuming self, refactor shared logic into a single function | Paul Daniel Faria | 2020-09-06 | 1 | -29/+33 |
| | |||||
* | Add consuming modifier to lvalues that are passed by value and not Copy | Paul Daniel Faria | 2020-09-06 | 1 | -2/+39 |
| | |||||
* | Merge #5823 | bors[bot] | 2020-08-22 | 1 | -6/+0 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5823: Don't underline function definition if self is &mut r=Nashenas88 a=matklad The self is right there, and is already underlined, so it makes little sense to emit even more underlines. before: ![before](https://user-images.githubusercontent.com/1711539/90672843-0d379500-e257-11ea-840f-b0caed4410f1.png) after: ![after](https://user-images.githubusercontent.com/1711539/90672840-0c9efe80-e257-11ea-9739-23af433841c6.png) Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Don't underline function definition if self is &mut | Aleksey Kladov | 2020-08-19 | 1 | -6/+0 |
| | | | | | | | | | | The self is right there, and is already underlined, so it makes little sense to emit even more underlines. | ||||
* | | :arrow_up: ungrammar | Aleksey Kladov | 2020-08-21 | 1 | -1/+2 |
|/ | |||||
* | Remove dead code | Aleksey Kladov | 2020-08-19 | 1 | -25/+15 |
| | |||||
* | Apply couple of rule of thumbs to simplify highlighting code | Aleksey Kladov | 2020-08-19 | 1 | -19/+16 |
| | | | | | | | | | | | | | | | | | Main one: instead of adding a parameter to function to handle special case, make the caller handle it. Second main one: make sure that function does a reasonable thing. `highlight_def` picks a color for def, *regardless* of the context the def is use. Feeding an info from the call-site muddies the responsibilities here. Minor smells, flagging the function as having space for improvement in the first place: * many parameters, some of which are set as constants on most call-sites (introduce severalfunction instad) * boolean param (add two functions instead) | ||||
* | Inline trivial function | Aleksey Kladov | 2020-08-19 | 1 | -8/+6 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-08-19 | 1 | -9/+4 |
| | |||||
* | Minor | Aleksey Kladov | 2020-08-19 | 1 | -2/+1 |
| | |||||
* | Minor cleanups | Aleksey Kladov | 2020-08-19 | 1 | -1/+1 |
| | |||||
* | Better name | Aleksey Kladov | 2020-08-19 | 1 | -4/+4 |
| | |||||
* | Better API factoring around self access modes | Aleksey Kladov | 2020-08-19 | 1 | -10/+16 |
| | |||||
* | Add SelfParam to code_model | Aleksey Kladov | 2020-08-19 | 1 | -12/+8 |
| | |||||
* | Add new method to Semantics, method_receiver_kind, which returns the kind of ↵ | Paul Daniel Faria | 2020-08-16 | 1 | -65/+74 |
| | | | | | | | self The options are Shared, Mutable, Consuming, and Copied. Use this to add proper highlighting to methods based on usage. | ||||
* | Mark mutating functions with `mutable` modifier, and owning functions with ↵ | Paul Daniel Faria | 2020-08-16 | 1 | -10/+32 |
| | | | | `consuming`. | ||||
* | Rename ra_ide -> ide | Aleksey Kladov | 2020-08-13 | 1 | -0/+872 |