-
Notifications
You must be signed in to change notification settings - Fork 210
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
gdnative::api::*
no tooltip in IDE
#916
Comments
No worries, glad you asked 🙂 this is a known issue, and we want to improve this with #789.
Let me know if that helps! |
Thank you Jan, it is working fine now :). |
Glad to hear it works! Regarding debugging, I have a bit a different setup locally. I'm using Windows, but also CLion. The trick is to use Custom Build Application run configurations. First, I have one that calls Cargo. The built-in Cargo run configuration works well on its own, but not really as a dependency of another run configuation. The Then, a 2nd run configuration (again of type Custom Build Application) invokes the Godot executable. It also depends on the Cargo configuration (see arrow) -- the default I think it should work the same on Linux, you will need to change paths and toolchain. Once you set that up, you can launch Godot directly from CLion (with debugger if you click the green bug icon). One thing to keep in mind is that you may need to recompile Godot with debug symbols. I'm not sure about the Linux builds, but on Windows, Godot releases don't ship the .pdb symbol database due to its size. |
Closing as answered. |
Sorry for not replying earlier. It is working perfectly. Thank you for your help! |
Hi,
I am new to Rust. So I hope I did not make and rookie mistake and that this is the correct place to make an issue for this problem.
Both Clion and VScodium (with Rust plugin installed) don't give any tooltip for the modules inside
gdnative::api
. I am not sure how exactly the Godot rust wrapper works (whether the code is generated or not) or how the linter gets the code hints. But the only module ingdnative::api
according to my linter isutils
and looking at thegdnative::api
file (according to Clion) It seems to only containutils
:Is this normal behaviour, am I missing a fatal step or is my installation borked? Typing without tooltip and alt-tabbing to the online docs is a bit cumbersome :)
The text was updated successfully, but these errors were encountered: