-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: candid_method macro messes up intellisense and stops it from working #403
Comments
The offending code is here: https://github.com/dfinity/candid/blob/master/rust/candid_derive/src/func.rs#L17. Will watch for a solution when rust-lang/rust#44034 is resolved. |
I cannot reproduce this. Did you try the latest CDK 0.10 and candid 0.9? |
It seems that the issue was raised but not solved . |
In CDK 0.10, you don't need to put |
Applying the
#[candid::candid_method]
macro for autogeneration of Candid in a Rust project breaks intellisense on that function. Here's a minimal reproduction:https://github.com/saikatdas0790/ic_cdk_macro_intellisense_test
Steps to reproduce:
increment_1
andincrement_2
functionsHere are some screenshots:
Intellisense shows generic word results here
Intellisense shows relevant results received from the Rust language server
Additional environment details:
The text was updated successfully, but these errors were encountered: