mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +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
|
@ -19,6 +19,8 @@ use text_edit::{TextEdit, TextEditBuilder};
|
|||
//
|
||||
// | VS Code | **Rust Analyzer: Join lines**
|
||||
// |===
|
||||
//
|
||||
// image::https://user-images.githubusercontent.com/48062697/113020661-b6922200-917a-11eb-87c4-b75acc028f11.gif[]
|
||||
pub(crate) fn join_lines(file: &SourceFile, range: TextRange) -> TextEdit {
|
||||
let range = if range.is_empty() {
|
||||
let syntax = file.syntax();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue