// Place the cursor on the line below to see the assist 💡. // foo($a, $b) ==>> ($a).foo($b)
The docs say I can put ssr in the comments, but I don't get any assist here.
Neither in vim with coc nor vscode. Is this still supported. Do I need to enable it somewhere?
it's supported, but if the SSR query doesn't work for some reason, it'll just not show the assist without explanation. In VSCode you can also use the SSR command, and I think it will give you at least an error message? I hope
it would be cool if we could show a diagnostic for a comment-SSR query
ah that might be it. I'll try with something that should work
Okay this is more difficult than I thought :D. Are there more docs with examples for SSR?
besides this I mean https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ide_ssr/src/lib.rs#L6 ?
Also yes the hints work if the SSR query is valid