rust-analyzer/crates
bors[bot] c544f9a137
Merge #4940
4940: Add support for marking doctest items as distinct from normal code r=ltentrup a=Nashenas88

This adds `HighlightTag::Generic | HighlightModifier::Injected` as the default highlight for all elements within a doctest. Please feel free to suggest that a new tag be created or a different one used.

![Screenshot from 2020-06-23 09-18-13](https://user-images.githubusercontent.com/1673130/85408493-9752ce00-b532-11ea-94fe-197353ccc778.png)

Fixes #4929 
Fixes #4939

Co-authored-by: Paul Daniel Faria <Nashenas88@users.noreply.github.com>
Co-authored-by: Paul Daniel Faria <nashenas88@users.noreply.github.com>
2020-06-24 05:22:23 +00:00
..
paths New VFS 2020-06-23 17:51:06 +02:00
ra_arena Extract messy tree handling out of profiling code 2020-04-25 21:22:40 +02:00
ra_assists Use only one code-path for parsing fixtures 2020-06-24 00:48:38 +02:00
ra_cfg add support of feature flag for runnables #4464 2020-05-23 20:59:18 +02:00
ra_db Use only one code-path for parsing fixtures 2020-06-24 00:48:38 +02:00
ra_flycheck flycheck now uses the configured features 2020-06-09 21:47:54 +02:00
ra_fmt Introduce EffectExpr 2020-05-02 11:21:39 +02:00
ra_hir New VFS 2020-06-23 17:51:06 +02:00
ra_hir_def Use only one code-path for parsing fixtures 2020-06-24 00:48:38 +02:00
ra_hir_expand Don't guess macro expansion crate 2020-06-11 12:13:14 +02:00
ra_hir_ty Use only one code-path for parsing fixtures 2020-06-24 00:48:38 +02:00
ra_ide Merge #4940 2020-06-24 05:22:23 +00:00
ra_ide_db New VFS 2020-06-23 17:51:06 +02:00
ra_mbe Reuse Vec allocations 2020-05-16 22:20:44 +02:00
ra_parser Fix panic in split and merge import assists 2020-06-23 16:51:07 +03:00
ra_proc_macro proc_macro: add ability to log to stderr and view output in vscode 2020-04-23 01:57:02 +03:00
ra_proc_macro_srv Update test for new serde 2020-06-21 12:10:50 -04:00
ra_prof Simplify profiler impl (bubble up Option and shorten code 2020-04-26 00:55:49 +03:00
ra_project_model New VFS 2020-06-23 17:51:06 +02:00
ra_ssr SSR: Allow matching of whole macro calls 2020-06-23 07:42:34 +10:00
ra_syntax Fix panic in split and merge import assists 2020-06-23 16:51:07 +03:00
ra_text_edit Formalize JoinLines protocol extension 2020-05-21 20:05:33 +02:00
ra_toolchain Simplify match 2020-05-09 22:20:11 +03:00
ra_tt Reduce reallocations in ra_tt::buffer::TokenBuffer::new_inner 2020-05-16 22:20:44 +02:00
rust-analyzer Merge #4940 2020-06-24 05:22:23 +00:00
stdx More principled indentation trimming in fixtures 2020-06-23 23:33:41 +02:00
test_utils Centralize fixture parsing for assists 2020-06-24 00:30:34 +02:00
vfs New VFS 2020-06-23 17:51:06 +02:00
vfs-notify New VFS 2020-06-23 17:51:06 +02:00