Comments (3)
Yes, assists will be triggered by codeAction
. For example:
struct Point {
x: u32,
y: u32,
}
Put your cursor on x/y, and trigger codeAction. I'm using this mapping: nmap <silent> ga <Plug>(coc-codeaction)
, so ga
on normal mode, available actions will list:
Input 2 for #[derive]
, or 3 for implement.
from coc-rust-analyzer.
You can also use call CocAction('codeAction')
without mappings.
from coc-rust-analyzer.
You can also type :CocAction
and this will work too.
I fund that add_custom_impl
doesn't work. But it's probably rust-analzer problem in last release.
from coc-rust-analyzer.
Related Issues (20)
- [coc.nvim] Rust Analyzer Language Server client: couldn't create connection to server. HOT 2
- Failed to load workspaces. HOT 3
- rust-analyzer failed to start in coc.nvim HOT 2
- unresolved import regex: maybe a missing crate regex? HOT 2
- Ubuntu22.04云主机UEFI版,源码安装vim9和coc.nvim后,用coc命令安装该插件后,发现rust插件不能正常运行 HOT 1
- couldn't create connection to server. HOT 2
- question: how to check which rust analyzer binary is being used HOT 1
- How to disable the documentation in pmenu HOT 1
- How to stop notes from showing-up in the editor? HOT 3
- Installation error on macOS M2 airbook
- The last two lines of doc comments are always missing in popup window. HOT 8
- rust-analyzer.completion.snippets.custom was not covered as expected, but was added instead HOT 1
- is rust-analyzer.checkOnSave.command deprecated? HOT 1
- Warning diagnostics underline formatting is using hint underline formatting.
- Extraneous backslashes in code-action auto completes HOT 7
- overly long loop turn warning on every few keytypes HOT 3
- codelens run, how to make the split configurable? HOT 4
- Performance issues, for a large number of header comments HOT 12
- Failed to activate after setting a http_proxy HOT 1
- backslash generated if we use extract into a function OR fill struct fields etc OR implement missing members HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coc-rust-analyzer.