aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting.rs
Commit message (Expand)AuthorAgeFilesLines
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-121-2/+2
* Rename ra_prof -> profileAleksey Kladov2020-08-121-2/+1
* Remove unused import left behind after rebasingPaul Daniel Faria2020-08-101-1/+1
* Fix type names broken by rebase, redo expected test because of rebasePaul Daniel Faria2020-08-101-3/+3
* Return bool from is_unsafe_method_call and cleanup usagesPaul Daniel Faria2020-08-101-5/+6
* Move semantic logic into Semantics, fix missing tag for safe amp operator, us...Paul Daniel Faria2020-08-101-61/+28
* Move unsafe packed ref logic to Semantics, use `Attrs::by_key` to simplify re...Paul Daniel Faria2020-08-101-32/+2
* Revert function structs back to using bool to track self param, use first par...Paul Daniel Faria2020-08-101-3/+8
* Deduplicate unsafe method call into a single functionPaul Daniel Faria2020-08-101-41/+31
* Unsafe borrow of packed fields: account for borrow through ref binding, auto ...Paul Daniel Faria2020-08-101-20/+117
* Cleanup repr check, fix packed repr check and testPaul Daniel Faria2020-08-101-2/+2
* Update FIXME comment to be more usefulPaul Daniel Faria2020-08-101-1/+2
* Limit scope of unsafe to & instead of all ref exprs, add test showing missing...Paul Daniel Faria2020-08-101-1/+1
* Remove token tree from ReprKind::Other variant, expose ReprKind higher, remov...Paul Daniel Faria2020-08-101-7/+1
* Add tracking of packed repr, use it to highlight unsafe refsPaul Daniel Faria2020-08-101-0/+24
* Merge #5692bors[bot]2020-08-101-0/+2
|\
| * Add support for extern cratePaul Daniel Faria2020-08-081-0/+2
* | Merge #5684bors[bot]2020-08-081-10/+56
|\ \ | |/ |/|
| * Apply unsafe semantic highlighting to union field accessPaul Daniel Faria2020-08-081-10/+56
* | Mark static mutable names as unsafePaul Daniel Faria2020-08-071-0/+1
|/
* Update grammarAleksey Kladov2020-08-011-1/+1
* Rename DotDotPat -> RestPatAleksey Kladov2020-07-311-1/+1
* Rename BindPat -> IdentPatAleksey Kladov2020-07-311-1/+1
* Finalize impl GrammarAleksey Kladov2020-07-301-1/+1
* Finalize Trait grammarAleksey Kladov2020-07-301-1/+1
* Finalize const&static grammarAleksey Kladov2020-07-301-2/+2
* Rename EnumVariant -> VariantAleksey Kladov2020-07-301-1/+1
* Rename EnumDef -> EnumAleksey Kladov2020-07-301-1/+1
* Rename StructDef -> StructAleksey Kladov2020-07-301-1/+1
* Finalize union grammarAleksey Kladov2020-07-301-1/+1
* Rename FieldDef -> FieldAleksey Kladov2020-07-301-1/+1
* Rename TypeAliasDef -> TypeAliasAleksey Kladov2020-07-301-1/+1
* Rename FnDef -> FnAleksey Kladov2020-07-301-2/+2
* On second thought, we want to preserve the textMate here where all punctuatio...GrayJack2020-07-211-1/+3
* `#` as AttributeGrayJack2020-07-211-0/+1
* @ as operatorGrayJack2020-07-211-2/+3
* Assingment semantic highlightGrayJack2020-07-201-1/+7
* Handle semantic highlight when STAR is part of the `*{const, mut}`GrayJack2020-07-201-1/+4
* Highlight more cases of SyntaxKind when it is a punctuationGrayJack2020-07-201-14/+32
* Add new `Punctuation` highlight tagLeander Tentrup2020-07-151-1/+1
* Highlight punctuation as `HighlightTag::Operator`Leander Tentrup2020-07-151-0/+1
* Semantic Highlighting: Emit mutable modifier for 'self' when applicableLukas Wirth2020-07-131-3/+24
* Use dedicated semantic highlight tag for parametersAleksey Kladov2020-07-111-2/+3
* Improve readability be replacing hard-to-read if-else branches with a matchPaul Daniel Faria2020-06-241-16/+20
* Remove unrelated changePaul Daniel Faria2020-06-231-4/+2
* Update comment for pop_and_injectPaul Daniel Faria2020-06-231-2/+2
* Update injection mechanism and stop injecting through highlight element, swit...Paul Daniel Faria2020-06-231-17/+38
* Add punctuation highlighting for highlighting punctuation in doctests, fix hi...Paul Daniel Faria2020-06-231-12/+13
* Add support for marking doctest items as distinct from normal code, add defau...Paul Daniel Faria2020-06-231-7/+11
* Syntax highlighting for documentation comments on macro definitionsLeander Tentrup2020-06-191-2/+1