-
Notifications
You must be signed in to change notification settings - Fork 553
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
Hovers on identifiers *defining* the item/variable are not working #5826
Comments
Hello Marek, I'm a software developer and a student at Universidad Cenfotec. I have experience working with various technologies, including Angular for frontend development, Springboot for backend development, and MySQL for database management. Additionally, I have a strong interest in blockchain technology and have been eager to apply my knowledge in the Web3 space. I'm interested in contributing to the Cairo project and would like to help with issue #5826. Could you provide more details on the current status and any guidelines for contributing? Looking forward to collaborating. |
Hello! The issue is still open for taking :) I can assign it to you. As I said, the implementation should extend the snippet provided in issue description. What I imagine, is that that
|
Hey @Villegas2003! Any progress on this? May I help you somehow? |
Hello @mkaput, I've been sick the past few weeks. I am going to proceed this week to release the issue. Apologies for the case. Do you have a discord or telegram to communicate with us? |
We can chat on Scarb's TG channel: https://t.me/+G_YxIv-XTFlhNWU0 |
@Villegas2003 any progress? how can I help? |
Summary
When hovering over identifiers which define items/variables, user expects to get the same hover information as one produced when hovering over identifiers which reference these elements.
See examples:
Proposed solution
This logic only looks for references and completely ignores cases when the identifier under the cursor is actual name of the item/variable. Such condition should be added to this code:
cairo/crates/cairo-lang-language-server/src/lang/inspect/defs.rs
Lines 40 to 46 in 4646ad8
The text was updated successfully, but these errors were encountered: