aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast/tokens.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix comment prefix method for four slash commentsadamrk2020-04-281-10/+6
|
* Treat comments beginning with four slashes as regular line commentsadamrk2020-04-281-0/+1
|
* Merge #4134bors[bot]2020-04-251-0/+3
|\ | | | | | | | | | | | | | | | | | | 4134: Special case for empty comments in doc comment kind r=matklad a=edwin0cheng Part of #4103 Fix `ui/empty/empty-comment.rs macros` Co-authored-by: Edwin Cheng <[email protected]>
| * Special case for empty commentsEdwin Cheng2020-04-251-0/+3
| |
* | Switch to TryFromAleksey Kladov2020-04-251-8/+6
| |
* | Convert code to text-sizeAleksey Kladov2020-04-251-18/+14
| |
* | Adapt format specifier highlighting to support escaped squences and unicode ↵Leander Tentrup2020-04-221-122/+158
| | | | | | | | identifiers
* | Apply suggestions from code reviewLeander Tentrup2020-04-221-30/+29
| | | | | | | | Co-Authored-By: bjorn3 <[email protected]>
* | Implement syntax highlighting for format stringsLeander Tentrup2020-04-201-0/+324
|/ | | | | | | Detailed changes: 1) Implement a lexer for string literals that divides the string in format specifier `{}` including the format specifier modifier. 2) Adapt syntax highlighting to add ranges for the detected sequences. 3) Add a test case for the format string syntax highlighting.
* Add AstElement trait, generate tokens, support tokens in enumsLuca Barbieri2020-04-081-60/+2
| | | | | | | | | - Adds a new AstElement trait that is implemented by all generated node, token and enum structs - Overhauls the code generators to code-generate all tokens, and also enhances enums to support including tokens, node, and nested enums
* Refactor string literalsAleksey Kladov2020-02-271-60/+74
|
* Basic injectionsAleksey Kladov2020-02-271-0/+30
|
* Add ast for plain and raw string literalsAleksey Kladov2019-11-161-10/+85
|
* migrate ra_syntax to the new rowan APIAleksey Kladov2019-07-191-13/+13
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-3/+3
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* fix inner block doc commentsAleksey Kladov2019-04-021-1/+1
|
* add minimal commentsAleksey Kladov2019-04-021-0/+2
|
* More future-proof comment kindAleksey Kladov2019-04-021-32/+51
|
* fix comment namingAleksey Kladov2019-04-021-10/+9
|
* add ast::tokensAleksey Kladov2019-04-021-0/+93