Skip to content

Commit d82176c

Browse files
committed
Gifs and screenshots for features in manual (syntax highlighting and typing)
1 parent 75011bb commit d82176c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

crates/ide/src/syntax_highlighting.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ pub struct HlRange {
4848
//
4949
// The general rule is that a reference to an entity gets colored the same way as the entity itself.
5050
// We also give special modifier for `mut` and `&mut` local variables.
51+
//
52+
// image::https://user-images.githubusercontent.com/48062697/113164457-06cfb980-9239-11eb-819b-0f93e646acf8.png[]
5153
pub(crate) fn highlight(
5254
db: &RootDatabase,
5355
file_id: FileId,

crates/ide/src/typing.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ pub(crate) const TRIGGER_CHARS: &str = ".=>";
4949
// ----
5050
// "editor.formatOnType": true,
5151
// ----
52+
//
53+
// image::https://user-images.githubusercontent.com/48062697/113166163-69758500-923a-11eb-81ee-eb33ec380399.gif[]
5254
pub(crate) fn on_char_typed(
5355
db: &RootDatabase,
5456
position: FilePosition,

0 commit comments

Comments
 (0)