about summary refs log tree commit diff
path: root/crates/ide/src/syntax_highlighting/inject.rs
AgeCommit message (Collapse)AuthorLines
2022-04-01Code blocks with tilde also works like code blockLee Dogeon-3/+4
2022-03-12more clippy fixes:Matthias Krüger-1/+1
clippy::search_is_some clippy::redundant_static_lifetimes clippy::match_single_binding clippy::match_ref_pats clippy::map_entry clippy::manual_map clippy::iter_overeager_cloned clippy::into_iter_on_ref clippy::extra_unused_lifetimes
2022-03-06internal: Re-arrange ide_db modulesLukas Wirth-2/+1
2022-03-06internal: Simplify and optimize syntax_highlightingLukas Wirth-36/+41
2022-03-04Preserve order of generic argshkalbasi-1/+1
2021-12-03Rename things: Tool -> ToolModuleLukas Wirth-1/+1
2021-12-03Remove syntax highlighting hack for builtin attrsLukas Wirth-2/+2
2021-12-03feat: Resolve builtin-attr and tools in ide layerLukas Wirth-0/+2
2021-11-23Disable string highlight injection for macros changing string literalsLukas Wirth-4/+4
2021-11-22Split parts of `ide_db::call_info` off into `ide`Lukas Wirth-1/+2
2021-11-11internal: Flatten `Definition::ModuleDef` variantLukas Wirth-15/+24
2021-09-30Restructure syntax element highlightingLukas Wirth-2/+1
2021-08-02resolve_doc_path is able to resolve to macrosLukas Wirth-12/+15
2021-07-26SimplifyLukas Wirth-3/+5
2021-07-20Correctly generate link fragments for associated itemsLukas Wirth-2/+2
2021-06-13clippy::useless_returnMaan2003-1/+1
2021-06-13clippy::redudant_borrowMaan2003-2/+2
2021-05-12Support length for ByteStringsJade-1/+1
I am not confident that my added byte string parsing is right.
2021-04-19Check for rust doc code attributes like rustdoc doesLukas Wirth-22/+2
2021-04-19Don't require all doc fences to be valid for identifying rust codeLukas Wirth-1/+3
2021-04-18Accept `E<error_number>` notation in doctestsChayim Refael Friedman-2/+8
```compile_fail,E0000 ``` The code was stolen from rustdoc at https://github.com/rust-lang/rust/blob/392ba2ba1a7d6c542d2459fb8133bebf62a4a423/src/librustdoc/html/markdown.rs#L866-L867
2021-03-30Use new new docs string source mapping in goto_def and hoverLukas Wirth-31/+4
2021-03-30Implement basic Documentation source to syntax range mappingLukas Wirth-32/+23
2021-03-29Remove code duplication in highlight injectionLukas Wirth-29/+3
2021-03-27Unleash macro 2.0 in hightlight and moreEdwin Cheng-2/+1
2021-03-23Show item info when hovering intra doc linksLukas Wirth-3/+3
2021-03-20Don't use an untyped String for ActiveParam trackingLukas Wirth-1/+1
2021-03-19Add `AttrsWithOwner` and clean up `source_map`Jonas Schievink-24/+19
2021-03-19Move `AttrsOwnerNode` to syntax and make it publicJonas Schievink-31/+1
2021-03-19Merge #8097bors[bot]-2/+3
8097: Parse extended_key_value_attributes r=jonas-schievink a=Veykril Companion PR https://github.com/rust-analyzer/ungrammar/pull/31 Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-03-19Parse extended_key_value_attributesLukas Wirth-2/+3
2021-03-18Use a highlight modifier for intra doc linksLukas Wirth-11/+33
2021-03-18Track source file IDs in source mapping of AttrsLukas Wirth-5/+17
2021-03-17Semantic highlight intradoclinks in documentationLukas Wirth-33/+87
2021-03-17Inject highlight into block doc commentsLukas Wirth-25/+37
2021-03-17Merge #8059bors[bot]-15/+120
8059: Move doc-comment highlight injection from AST to HIR r=matklad,jonas-schievink a=Veykril Fixes #5016 Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-03-17Remove quadratic attr source lookupLukas Wirth-1/+2
2021-03-17don't clone types that are copy (clippy::clone_on_copy)Matthias Krüger-1/+1
2021-03-16Properly handle doc attributes in doc-comment highlight injectionLukas Wirth-5/+43
2021-03-16Replace trait object boxing with extra AttrsOwnerNodeLukas Wirth-19/+48
2021-03-16Move doc-comment highlight injection from AST to HIRLukas Wirth-14/+51
2021-01-20.Aleksey Kladov-1/+1
2021-01-09Refactor highlightingAleksey Kladov-1/+1
2021-01-09SimplifyAleksey Kladov-0/+158