Skip to content
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

feat(sol-macro): improve type expansion #302

Merged
merged 4 commits into from
Sep 26, 2023
Merged

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Sep 24, 2023

Improve docs and LSP support by expanding types to the actual Rust type instead of <#ty as SolType>::RustType where possible

My end goal was to be able to hover over uint256, address etc and have its Rust definition pop up, but this doesn't work everywhere due to rust analyzer limitations

Depends on #301

@DaniPopes DaniPopes marked this pull request as draft September 24, 2023 19:06
@DaniPopes DaniPopes force-pushed the dani/sol-rust-types branch 2 times, most recently from 704940e to 7fd2520 Compare September 24, 2023 21:42
@DaniPopes DaniPopes marked this pull request as ready for review September 26, 2023 12:01
@DaniPopes DaniPopes merged commit 6ff6cc8 into main Sep 26, 2023
17 checks passed
@DaniPopes DaniPopes deleted the dani/sol-rust-types branch September 26, 2023 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant