Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Nest all the or-patterns! | Lukas Wirth | 2021-06-17 | 1 | -2/+2 |
| | |||||
* | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 1 | -2/+2 |
| | |||||
* | Attempt to track attr macros during highlighting | Jonas Schievink | 2021-06-07 | 1 | -0/+30 |
| | |||||
* | Document semantic token tags | Lukas Wirth | 2021-05-26 | 1 | -4/+74 |
| | |||||
* | Document semantic token modifiers | Lukas Wirth | 2021-05-26 | 1 | -0/+24 |
| | |||||
* | Add highlighting of items from other crates | Aramis Razzaghipour | 2021-05-24 | 1 | -0/+3 |
| | |||||
* | Additional syntax highlighting screenshot in manual | Ayomide Bamidele | 2021-03-31 | 1 | -0/+1 |
| | |||||
* | Gifs and screenshots for features in manual (syntax highlighting and typing) | Ayomide Bamidele | 2021-03-31 | 1 | -0/+2 |
| | |||||
* | Unleash macro 2.0 in hightlight and more | Edwin Cheng | 2021-03-27 | 1 | -14/+14 |
| | |||||
* | Track source file IDs in source mapping of Attrs | Lukas Wirth | 2021-03-18 | 1 | -5/+11 |
| | |||||
* | Move doc-comment highlight injection from AST to HIR | Lukas Wirth | 2021-03-16 | 1 | -1/+1 |
| | |||||
* | Upgrade rowan | Aleksey Kladov | 2021-03-16 | 1 | -8/+11 |
| | | | | Notably, new rowan comes with support for mutable syntax trees. | ||||
* | Increase Highlights highlight range to covering element | Lukas Wirth | 2021-02-04 | 1 | -1/+1 |
| | |||||
* | Move SymbolKind to ide_db | Lukas Wirth | 2021-01-20 | 1 | -2/+2 |
| | |||||
* | Replace state with function | Aleksey Kladov | 2021-01-10 | 1 | -22/+18 |
| | |||||
* | Refactor highlighting | Aleksey Kladov | 2021-01-09 | 1 | -527/+33 |
| | |||||
* | Simplify | Aleksey Kladov | 2021-01-09 | 1 | -5/+3 |
| | |||||
* | Simplify | Aleksey Kladov | 2021-01-09 | 1 | -1/+1 |
| | |||||
* | Better names | Aleksey Kladov | 2021-01-09 | 1 | -8/+8 |
| | |||||
* | Shorten names | Aleksey Kladov | 2021-01-09 | 1 | -5/+5 |
| | |||||
* | Reorder modules | Aleksey Kladov | 2021-01-09 | 1 | -2/+4 |
| | |||||
* | Shorten frequent names | Aleksey Kladov | 2021-01-09 | 1 | -129/+110 |
| | |||||
* | Simplify highlighting infra | Aleksey Kladov | 2021-01-08 | 1 | -186/+8 |
| | | | | This also fixes the killer whale bug | ||||
* | Add ConstParams to the ide layer | Lukas Wirth | 2021-01-01 | 1 | -0/+1 |
| | |||||
* | Support labels in reference search | Lukas Wirth | 2020-12-24 | 1 | -4/+15 |
| | |||||
* | Align code_model name with ungrammar | Aleksey Kladov | 2020-12-20 | 1 | -1/+1 |
| | |||||
* | Use more Rustic highlighting specifiers | Aleksey Kladov | 2020-12-19 | 1 | -10/+21 |
| | | | | | *Method* works for OO languages, but in rust we can also have associated constants & types, so let's move this to a modifier. | ||||
* | Deduplicate highlight tags and symbol kinds | Aleksey Kladov | 2020-12-18 | 1 | -47/+54 |
| | | | | | | | Curiously, LSP uses different enums for those, and unsurprising and annoyingly, there are things which exist in one but not in the other. Let's not repeat the mistake and unify the two things | ||||
* | Lifetime reference search | Lukas Wirth | 2020-12-16 | 1 | -0/+1 |
| | |||||
* | Move to upstream `macro_rules!` model | Jonas Schievink | 2020-12-15 | 1 | -23/+29 |
| | |||||
* | Use METHOD semantic token type | Laurențiu Nicola | 2020-12-04 | 1 | -5/+10 |
| | |||||
* | Add attribute highlight modifier to all tokens inside attributes | Lukas Wirth | 2020-11-21 | 1 | -3/+16 |
| | |||||
* | Merge #6472 | bors[bot] | 2020-11-09 | 1 | -1/+4 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6472: Add `static` modifier for associated functions r=matklad a=p3achyjr Adds static semantic token modifier to associated functions, resolves #6194 ## Info - Associated functions are more-or-less equivalent to static methods in other languages. This PR checks, for each function, whether that function has a self_param, and whether it's enclosed in a trait/impl. ## Changes - Added method ```is_associated``` to code_model::Function. This basically gets the source from the ast, and checks whether the enclosing scope is an impl or trait. - Added `static` to HighlightModifiers - Added unit test ## Tests - Ran ```cargo test``` Co-authored-by: Anatol Liu <[email protected]> | ||||
| * | Add static semantic token modifier for associated functions with no &self | Anatol Liu | 2020-11-09 | 1 | -2/+2 |
| | | | | | | | | | | | | refactor logic into code_model.rs address comments | ||||
| * | Add static semantic token modifier for associated functions with no &self | Anatol Liu | 2020-11-08 | 1 | -1/+1 |
| | | | | | | | | | | | | refactor logic into code_model.rs address comments | ||||
| * | Add static semantic token modifier for associated functions with no &self | Anatol Liu | 2020-11-05 | 1 | -14/+2 |
| | | | | | | | | refactor logic into code_model.rs | ||||
| * | Add static semantic token modifier for associated functions with no &self | Anatol Liu | 2020-11-05 | 1 | -0/+15 |
| | | |||||
* | | . is an operator | Aleksey Kladov | 2020-11-09 | 1 | -1/+3 |
| | | | | | | | | closes #6498 | ||||
* | | 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 |
| |