Skip to content

add print_signature_only argument to Base.show_method#58647

Merged
aviatesk merged 6 commits intomasterfrom
avi/print_additional_info
Jun 6, 2025
Merged

add print_signature_only argument to Base.show_method#58647
aviatesk merged 6 commits intomasterfrom
avi/print_additional_info

Conversation

@aviatesk
Copy link
Copy Markdown
Member

@aviatesk aviatesk commented Jun 5, 2025

The output of Base.show_method is useful for tooling like language server, and it's good to have an option to print the method signature only.

@aviatesk aviatesk requested a review from mlechu June 5, 2025 13:09
@aviatesk aviatesk force-pushed the avi/print_additional_info branch from c163d95 to d49f828 Compare June 5, 2025 13:15
@aviatesk aviatesk changed the title add print_additional_info argument to Base.show_method add print_signature_only argument to Base.show_method Jun 5, 2025
@serenity4
Copy link
Copy Markdown
Member

Perhaps this could be exposed in IOContext as :print_method_signature_only? (to avoid having to call show_method manually, à la #58642)

aviatesk and others added 6 commits June 6, 2025 09:34
The output of `Base.show_method` is useful for tooling like language server, and it's good
to have an option to print the method signature only.
Co-authored-by: Cédric Belmant <cedric.belmant@juliahub.com>
Co-authored-by: Em Chu <61633163+mlechu@users.noreply.github.com>
@aviatesk aviatesk force-pushed the avi/print_additional_info branch from 7d9801b to e06e742 Compare June 6, 2025 00:37
@aviatesk aviatesk merged commit 2a9f33c into master Jun 6, 2025
4 of 7 checks passed
@aviatesk aviatesk deleted the avi/print_additional_info branch June 6, 2025 06:49
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.

4 participants