Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Re-export base_db from ide_db | Igor Aleksanov | 2020-10-24 | 1 | -1/+1 |
| | |||||
* | Make call_info a part of ide_db | Igor Aleksanov | 2020-10-24 | 1 | -1/+1 |
| | |||||
* | Merge #6251 #6310 | bors[bot] | 2020-10-23 | 3 | -0/+41 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6251: Semantic Highlight: Add Callable modifier for variables r=matklad a=GrayJack This PR added the `HighlightModifier::Callable` variant and assigned it to variables and parameters that are fn pointers, closures and implements FnOnce trait. This allows to colorize these variables/parameters when used in call expression. 6310: Rewrite algo::diff to support insertion and deletion r=matklad a=Veykril This in turn also makes `algo::diff` generate finer diffs(maybe even minimal diffs?) as insertions and deletions aren't always represented as as replacements of parent nodes now. Required for #6287 to go on. Co-authored-by: GrayJack <[email protected]> Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Add tests for callable modifier | GrayJack | 2020-10-21 | 2 | -0/+38 |
| | | |||||
| * | Add HighlightModifier::Callable and add it for locals | GrayJack | 2020-10-16 | 1 | -0/+3 |
| | | |||||
* | | Extract call_info and completion into separate crates | Igor Aleksanov | 2020-10-18 | 1 | -4/+2 |
|/ | |||||
* | Default::default the highlighters | Lukas Wirth | 2020-10-14 | 2 | -15/+4 |
| | |||||
* | Factor macro_rules! highlighting out | Lukas Wirth | 2020-10-14 | 1 | -0/+136 |
| | |||||
* | Factor format string highlighting out | Lukas Wirth | 2020-10-14 | 1 | -0/+82 |
| | |||||
* | Merge #6198 | bors[bot] | 2020-10-12 | 3 | -1/+9 |
|\ | | | | | | | | | | | | | | | | | | | 6198: Skip macro matcher fragment name semantic highlighting r=matklad a=Veykril Implements a small state-machine for macro_rules! highlighting to separate out the matcher part of its rules. This skips semantically highlighting names of metavariables in the matcher and expander. This might even allow for more fun macro highlighting things in the future. Fixes #4380. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Skip macro matcher fragment name semantic highlighting | Lukas Wirth | 2020-10-10 | 3 | -1/+9 |
| | | |||||
* | | Fix `mut self` not emitting mutable binding on `self` use | Lukas Wirth | 2020-10-11 | 1 | -1/+1 |
|/ | |||||
* | rename mock_analysis -> fixture | Aleksey Kladov | 2020-10-02 | 1 | -5/+5 |
| | |||||
* | Get rid of MockAnalysis | Aleksey Kladov | 2020-10-02 | 1 | -3/+3 |
| | |||||
* | Cleanup unintended unresolved reference in syntax higlighting test | Paul Daniel Faria | 2020-09-24 | 2 | -6/+6 |
| | |||||
* | Fix handling of consuming self, refactor shared logic into a single function | Paul Daniel Faria | 2020-09-06 | 1 | -1/+1 |
| | |||||
* | Add consuming modifier to lvalues that are passed by value and not Copy | Paul Daniel Faria | 2020-09-06 | 2 | -12/+14 |
| | |||||
* | :arrow_up: expect-test | Aleksey Kladov | 2020-08-28 | 8 | -7/+611 |
| | |||||
* | Minor | Aleksey Kladov | 2020-08-27 | 1 | -1/+2 |
| | |||||
* | Switch to expect_test from crates.io | Aleksey Kladov | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Add new method to Semantics, method_receiver_kind, which returns the kind of ↵ | Paul Daniel Faria | 2020-08-16 | 1 | -0/+30 |
| | | | | | | | 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 | -0/+9 |
| | | | | `consuming`. | ||||
* | Add new HighlightModifier variant, Consuming | Paul Daniel Faria | 2020-08-16 | 1 | -0/+3 |
| | |||||
* | Rename ra_ide -> ide | Aleksey Kladov | 2020-08-13 | 4 | -0/+932 |