mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
add user docs for ssr assist
This commit is contained in:
parent
a9b1e5cde1
commit
40587b08a0
1 changed files with 9 additions and 0 deletions
|
@ -57,6 +57,15 @@
|
|||
//
|
||||
// | VS Code | **Rust Analyzer: Structural Search Replace**
|
||||
// |===
|
||||
//
|
||||
// Also available as an assist, by writing a comment containing the structural
|
||||
// search and replace rule. You will only see the assist if the comment can
|
||||
// be parsed as a valid structural search and replace rule.
|
||||
//
|
||||
// ```rust
|
||||
// // Place the cursor on the line below to see the assist 💡.
|
||||
// // foo($a, $b) ==>> ($a).foo($b)
|
||||
// ```
|
||||
|
||||
mod matching;
|
||||
mod nester;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue