Skip to content

Swap order of signature and docstrings in hover messages#285

Merged
olafurpg merged 1 commit into
scip-code:mainfrom
olafurpg:signature-ordering
Aug 4, 2021
Merged

Swap order of signature and docstrings in hover messages#285
olafurpg merged 1 commit into
scip-code:mainfrom
olafurpg:signature-ordering

Conversation

@olafurpg

@olafurpg olafurpg commented Aug 4, 2021

Copy link
Copy Markdown
Contributor

Previously, the docstring appeared above the signature in hover
messages. This was not ideal because it meant you had to scroll down to
see the signature when the docstring is very long (which happens
frequently). This commit moves the signature to the top of
the hover message so you can always see it without scrolling.

Fixes #284

Previously, the docstring appeared above the signature in hover
messages. This was not ideal because it meant you had to scroll down to
see the signature when the docstring is very long (which happens
    frequently). This commit moves the signature to the top of
the hover message so you can always see it without scrolling.

Fixes scip-code#284
@olafurpg olafurpg requested a review from Strum355 August 4, 2021 11:17
@olafurpg olafurpg self-assigned this Aug 4, 2021
@olafurpg olafurpg merged commit 168e2aa into scip-code:main Aug 4, 2021
@olafurpg olafurpg deleted the signature-ordering branch August 4, 2021 12:41
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.

Render signature above docstring in hover message

1 participant