Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Finalize impl Grammar | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Finalize Trait grammar | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Finalize const&static grammar | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | Rename EnumVariant -> Variant | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename EnumDef -> Enum | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename StructDef -> Struct | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Finalize union grammar | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename FieldDef -> Field | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename TypeAliasDef -> TypeAlias | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename FnDef -> Fn | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | On second thought, we want to preserve the textMate here where all ↵ | GrayJack | 2020-07-21 | 1 | -1/+3 |
| | | | | punctuation that are from a Attr be highlited as Attribute | ||||
* | `#` as Attribute | GrayJack | 2020-07-21 | 1 | -0/+1 |
| | | | | - Issue #5453 | ||||
* | @ as operator | GrayJack | 2020-07-21 | 1 | -2/+3 |
| | |||||
* | Assingment semantic highlight | GrayJack | 2020-07-20 | 1 | -1/+7 |
| | |||||
* | Handle semantic highlight when STAR is part of the `*{const, mut}` | GrayJack | 2020-07-20 | 1 | -1/+4 |
| | |||||
* | Highlight more cases of SyntaxKind when it is a punctuation | GrayJack | 2020-07-20 | 1 | -14/+32 |
| | |||||
* | Add new `Punctuation` highlight tag | Leander Tentrup | 2020-07-15 | 1 | -1/+1 |
| | |||||
* | Highlight punctuation as `HighlightTag::Operator` | Leander Tentrup | 2020-07-15 | 1 | -0/+1 |
| | |||||
* | Semantic Highlighting: Emit mutable modifier for 'self' when applicable | Lukas Wirth | 2020-07-13 | 1 | -3/+24 |
| | |||||
* | Use dedicated semantic highlight tag for parameters | Aleksey Kladov | 2020-07-11 | 1 | -2/+3 |
| | | | | closes #5106 | ||||
* | Improve readability be replacing hard-to-read if-else branches with a match | Paul Daniel Faria | 2020-06-24 | 1 | -16/+20 |
| | |||||
* | Remove unrelated change | Paul Daniel Faria | 2020-06-23 | 1 | -4/+2 |
| | |||||
* | Update comment for pop_and_inject | Paul Daniel Faria | 2020-06-23 | 1 | -2/+2 |
| | | | Co-authored-by: Leander Tentrup <[email protected]> | ||||
* | Update injection mechanism and stop injecting through highlight element, ↵ | Paul Daniel Faria | 2020-06-23 | 1 | -17/+38 |
| | | | | switch to more general new highlight tag, generic | ||||
* | Add punctuation highlighting for highlighting punctuation in doctests, fix ↵ | Paul Daniel Faria | 2020-06-23 | 1 | -12/+13 |
| | | | | highlighting in doctests | ||||
* | Add support for marking doctest items as distinct from normal code, add ↵ | Paul Daniel Faria | 2020-06-23 | 1 | -7/+11 |
| | | | | default tag to all doctest elements | ||||
* | Syntax highlighting for documentation comments on macro definitions | Leander Tentrup | 2020-06-19 | 1 | -2/+1 |
| | |||||
* | Merge #4903 | bors[bot] | 2020-06-18 | 1 | -1/+8 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 4903: Add highlighting support for doc comments r=matklad a=Nashenas88 The language server protocol includes a semantic modifier for documentation. This change exports that modifier for doc comments so users can choose to highlight them differently compared to regular comments. Example: <img width="375" alt="Screen Shot 2020-06-16 at 10 34 14 AM" src="https://user-images.githubusercontent.com/1673130/84788271-f6599580-afbc-11ea-96e5-7a0215da620b.png"> CC @woody77 Co-authored-by: Paul Daniel Faria <[email protected]> | ||||
| * | Ensure all existing doctest code highlights have documentation modifier | Paul Daniel Faria | 2020-06-17 | 1 | -4/+4 |
| | | |||||
| * | Add highlighting support for doc comments | Paul Daniel Faria | 2020-06-17 | 1 | -1/+8 |
| | | |||||
* | | Syntax highlighting for escape sequences in strings | Leander Tentrup | 2020-06-17 | 1 | -4/+18 |
|/ | |||||
* | Syntactic highlighting of NAME_REF for injections | Leander Tentrup | 2020-06-15 | 1 | -3/+60 |
| | | | | | | This commit adds a function that tries to determine the syntax highlighting class of NAME_REFs based on the usage. It is used for highlighting injections (such as highlighting of doctests) as the semantic logic will most of the time result in unresolved references. It also adds a color to unresolved references in HTML encoding. | ||||
* | Fix syntax highlighting of recursive macros | Leander Tentrup | 2020-06-15 | 1 | -16/+21 |
| | | | | Add syntax highlighting for the BANG (`!`) token if the parent is `MACRO_CALL`. | ||||
* | Highlight only the unsafe operator itself | Aleksey Kladov | 2020-06-08 | 1 | -6/+2 |
| | |||||
* | Merge #4775 | bors[bot] | 2020-06-08 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | 4775: Add goto def for enum variant field r=matklad a=unexge Closes #4764. I'm not familiar with ra codebase, there might be better ways to do that :smile: Co-authored-by: unexge <[email protected]> | ||||
| * | Add `FieldShorthand` variant to `NameClass` | unexge | 2020-06-08 | 1 | -0/+1 |
| | | |||||
* | | Implement syntax highlighting for doctests | Leander Tentrup | 2020-06-08 | 1 | -46/+80 |
|/ | |||||
* | Add highlight support for unsafe fn calls and raw ptr deref | Paul Daniel Faria | 2020-06-02 | 1 | -1/+24 |
| | |||||
* | Merge #4664 | bors[bot] | 2020-05-31 | 1 | -77/+84 |
|\ | | | | | | | | | | | | | | | 4664: Generate feature documentation from code r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Move the rest of the features to generated docs | Aleksey Kladov | 2020-05-31 | 1 | -77/+84 |
| | | |||||
* | | Add semantic highlight to QUESTION token | Roland Ruckerbauer | 2020-05-29 | 1 | -0/+1 |
|/ | | | | Made it an operator with controlFlow modifier. | ||||
* | Add self keyword semantic token type | Laurențiu Nicola | 2020-05-25 | 1 | -0/+1 |
| | |||||
* | Handle more cases in `highlight_name_by_syntax` | Matthew Jasper | 2020-05-24 | 1 | -11/+19 |
| | |||||
* | Highlight `true` and `false` as literals | Matthew Jasper | 2020-05-24 | 1 | -0/+1 |
| | |||||
* | Color attribute functions | George Fraser | 2020-05-19 | 1 | -1/+3 |
| | |||||
* | Color `for` as a regular keyword when it's part of impl _ for _ | George Fraser | 2020-05-10 | 1 | -1/+8 |
| | |||||
* | Color `in` as a control keyword | George Fraser | 2020-05-10 | 1 | -1/+2 |
| | |||||
* | Highlight the name in macro declarations | Matthew Jasper | 2020-05-10 | 1 | -0/+13 |
| | |||||
* | Highlight mutable statics as mutable | Matthew Jasper | 2020-05-10 | 1 | -1/+7 |
| | |||||
* | Introduce new semantic highlight token for format specifier | Leander Tentrup | 2020-04-28 | 1 | -1/+1 |
| |