mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Gifs and screenshots for features in manual
This commit is contained in:
parent
95107a7ccf
commit
276022682b
24 changed files with 44 additions and 0 deletions
|
@ -32,6 +32,8 @@ use text_edit::TextEdit;
|
|||
// "when": "editorTextFocus && !suggestWidgetVisible && editorLangId == rust"
|
||||
// }
|
||||
// ----
|
||||
//
|
||||
// image::https://user-images.githubusercontent.com/48062697/113065578-04c21800-91b1-11eb-82b8-22b8c481e645.gif[]
|
||||
pub(crate) fn on_enter(db: &RootDatabase, position: FilePosition) -> Option<TextEdit> {
|
||||
let parse = db.parse(position.file_id);
|
||||
let file = parse.tree();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue