Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #3826 | bors[bot] | 2020-04-08 | 1 | -5/+54 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 3826: Flatten nested highlight ranges during DFS traversal r=matklad a=ltentrup Implements the flattening of nested highlights from #3447. There is a caveat: I needed to add `Clone` to `HighlightedRange` to split highlight ranges ~and the nesting does not appear in the syntax highlighting test (it does appear in the accidental-quadratic test but there it is not checked against a ground-truth)~. I have added a test case for the example mentioned in #3447. Co-authored-by: Leander Tentrup <[email protected]> | ||||
| * | Simplify HTML highlighter and add test case for highlight_injection logic | Leander Tentrup | 2020-04-06 | 1 | -1/+7 |
| | | |||||
| * | Flatten nested highlight ranges during DFS traversal | Leander Tentrup | 2020-04-03 | 1 | -6/+49 |
| | | |||||
* | | Make control token modifier less ambiguous | Aleksey Kladov | 2020-04-06 | 1 | -1/+1 |
|/ | | | | | | | | | In textmate, keyword.control is used for all kinds of things; in fact, the default scope mapping for keyword is keyword.control! So let's add a less ambiguous controlFlow modifier See Microsoft/vscode#94367 | ||||
* | Fix imports | Aleksey Kladov | 2020-03-03 | 1 | -6/+2 |
| | |||||
* | Rename NameDefinition -> Definition | Aleksey Kladov | 2020-03-03 | 1 | -12/+12 |
| | |||||
* | Highlight assist tests | Aleksey Kladov | 2020-03-03 | 1 | -1/+1 |
| | |||||
* | Remove stray dbg | Aleksey Kladov | 2020-03-03 | 1 | -2/+2 |
| | |||||
* | More principled approach for gotodef for field shorhand | Aleksey Kladov | 2020-03-02 | 1 | -13/+17 |
| | | | | | Callers can now decide for themselves if they should prefer field or local definition. By default, it's the local. | ||||
* | Remove debug print | Aleksey Kladov | 2020-02-29 | 1 | -1/+0 |
| | |||||
* | Correctly flag 'lifetime definitions as definitions | Aleksey Kladov | 2020-02-28 | 1 | -2/+7 |
| | |||||
* | Classify name takes const patterns into account | Aleksey Kladov | 2020-02-28 | 1 | -7/+9 |
| | |||||
* | Fix union classification | Aleksey Kladov | 2020-02-28 | 1 | -1/+1 |
| | |||||
* | Cleanup highlighting tags | Aleksey Kladov | 2020-02-28 | 1 | -13/+17 |
| | |||||
* | add more tags | Aleksey Kladov | 2020-02-28 | 1 | -7/+10 |
| | |||||
* | Refactor string literals | Aleksey Kladov | 2020-02-27 | 1 | -2/+4 |
| | |||||
* | Basic injections | Aleksey Kladov | 2020-02-27 | 1 | -4/+55 |
| | |||||
* | Move tests to a new file | Aleksey Kladov | 2020-02-27 | 1 | -134/+2 |
| | |||||
* | More cleanup | Aleksey Kladov | 2020-02-27 | 1 | -114/+108 |
| | |||||
* | Split loop into orthogonal phases | Aleksey Kladov | 2020-02-27 | 1 | -44/+43 |
| | |||||
* | Cleanup | Aleksey Kladov | 2020-02-27 | 1 | -37/+34 |
| | |||||
* | Minor cleanup | Aleksey Kladov | 2020-02-27 | 1 | -15/+18 |
| | |||||
* | Renam module | Aleksey Kladov | 2020-02-27 | 1 | -2/+2 |
| | |||||
* | Move html highlightig to a separate module | Aleksey Kladov | 2020-02-27 | 1 | -97/+3 |
| | |||||
* | Fix html tests | Aleksey Kladov | 2020-02-27 | 1 | -6/+6 |
| | |||||
* | Better highlightign API | Aleksey Kladov | 2020-02-27 | 1 | -47/+60 |
| | |||||
* | More type safety for highlighting | Aleksey Kladov | 2020-02-26 | 1 | -66/+41 |
| | |||||
* | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 1 | -48/+39 |
| | | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax. | ||||
* | Rename back to highlight and check event's again highlight range | kjeremy | 2020-02-25 | 1 | -35/+51 |
| | |||||
* | Semantic Ranges | Jeremy Kolb | 2020-02-25 | 1 | -3/+46 |
| | |||||
* | Teach the server about Semantic Tokens proposed LSP | kjeremy | 2020-02-25 | 1 | -26/+26 |
| | |||||
* | Merge NameDefinition and NameKind | Aleksey Kladov | 2020-02-19 | 1 | -22/+22 |
| | |||||
* | Cleanup imports | Aleksey Kladov | 2020-02-18 | 1 | -22/+18 |
| | |||||
* | Minor simplification | Aleksey Kladov | 2020-02-18 | 1 | -6/+3 |
| | |||||
* | Add module colors to css | Aleksey Kladov | 2020-02-16 | 1 | -0/+1 |
| | |||||
* | Rename | Aleksey Kladov | 2020-02-07 | 1 | -10/+10 |
| | |||||
* | Remove irrelevant distinction | Aleksey Kladov | 2020-02-07 | 1 | -3/+0 |
| | |||||
* | cleanup imports | Aleksey Kladov | 2020-02-06 | 1 | -1/+1 |
| | |||||
* | Implement Syntax Highlight inside Macro | Edwin Cheng | 2020-01-20 | 1 | -105/+184 |
| | |||||
* | Typos | Aleksey Kladov | 2020-01-15 | 1 | -1/+1 |
| | |||||
* | Only new-style classification | Aleksey Kladov | 2020-01-15 | 1 | -3/+3 |
| | |||||
* | Add a test | Aleksey Kladov | 2020-01-15 | 1 | -3/+20 |
| | |||||
* | Make syntax highlighting linear | Aleksey Kladov | 2020-01-15 | 1 | -5/+7 |
| | |||||
* | Introduce SourceBinder | Aleksey Kladov | 2020-01-15 | 1 | -1/+1 |
| | |||||
* | Drop support for legacy colorization | Aleksey Kladov | 2019-12-31 | 1 | -10/+17 |
| | |||||
* | Clippy lints | kjeremy | 2019-12-20 | 1 | -28/+26 |
| | |||||
* | Fix highlighting for field init shorthand | Aleksey Kladov | 2019-12-20 | 1 | -4/+3 |
| | |||||
* | Improve highlighting test | Aleksey Kladov | 2019-12-20 | 1 | -1/+3 |
| | |||||
* | Fix highlighting token names | Aleksey Kladov | 2019-12-17 | 1 | -1/+1 |
| | |||||
* | use a module instead of prefixed consts. | Omer Ben-Amram | 2019-12-15 | 1 | -66/+64 |
| |